Index

auto-plow / 086937a

A wheelchair motor-propelled battery-powered ESP32-driven remote control snow plow.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
7711 Jan 2020 17:40096af68Implement relay control, UART, and signal interpretingJosh Stockin1121N

Blob @ auto-plow / main / plow_main.h

text/plain675 bytesdownload raw
1#ifndef __PLOW_MAIN_H__
2#define __PLOW_MAIN_H__
3
4// General settings
5#define LOW 0
6#define HIGH 1
7
8#define RIGHT_JOYSTICK_SENSITIVITY 4
9#define LEFT_JOYSTICK_SENSITIVITY 1
10
11#define RADIO_TIMEOUT 1000
12
13#define CONTROL_BAUDRATE 38400
14
15// GPIO pin numbers
16#define STATUS_GREEN 23
17#define STATUS_YELLOW 22
18#define STATUS_RED 21
19
20#define RADIO_1 36
21#define RADIO_2 39
22#define RADIO_3 34
23#define RADIO_4 35
24#define RADIO_5 32
25#define RADIO_6 33
26
27#define SOLENOID_SALT 25
28#define SOLENOID_MOTORS 26
29#define BATTERY_MOTORCONTROL 27
30#define BATTERY_BLADECONTROL 14
31#define RELAY_BOARD 12
32
33#define UART_MOTOR_CONTROL 16
34#define UART_BLADE_CONTROL 17
35
36#define NULL_PIN 13
37
38#endif
39