Close

Commands That I Created

A project log for Station_07

This is where i try to integrate everything in one project just for fun.

rfilesRfiles 08/28/2022 at 20:020 Comments

Commands:

CommandDescription
0Force Listing of stored Values
1Force Gather Values from Sensors
eForce Boot Modules
sExecute Create Timers Function
gStart / Stop Timers (g <Timer #> on/off )
rForce Send Data to Influx Database (Does Not Word)
iForce Send Sensors Data to MQTT server (Nodered in my case)
oConnect to configured WIFI network
wSync with NTP server and Show Clock
hToggle MCP23017 Pin (h <pin # in port B> [optional 1/0, default is 1]
jSet Si1145 Led Current (j <0..15>) Its from 1mA to 300mA
pSet WS2812 Color (p (Red) (Green) (Blue) [Optional Led #, default 0] Colors in 8bit
kSet WS2812 Intensity (k <intensity 8bits>)
lToggle MICS6814 Calibration Source. Preset/ADC mean since boot in 10 samples.
xSet MCP23017 pin. (x <1/0> [Pin# in port B] Default is Pin B1
cToggle all MCP23017 Port B pins on/off.
vSet MPC23017 Port B Pin input or output. (v <1/0> [Port B pin. Default 1])
bBoot Specific Module Number. (b <module #>)
nChange first 3 WS2812 leds to Red, Green, Blue.
dRead VEML6070 sensor data. CRASHES ESP32. DONT KNOW WHY!
zErases 23LC1024 RAM. CRASHES ESP32. DONT KNOW WHY!

All other commands are ignored with an error message.

Discussions