All pre-assembled emonTx V3's are shipped with this firmware
Key features:
- Detection of AC-AC adapter sets Apparent Power / Real Power Sampling accordingly
- Detection of battery / USB 5V or AC > DC power method and sets sleep mode accordingly
- Detection of CT connections and samples only from the channels needed
- Detection of remote DS18B20 temperature sensor connection
- Low power battery opperation supported
- DIP switch 1 (closes to RF module) to select node ID. (Switch off node ID =10, switch on node ID = 9)
- DIP switch 2 to select UK/EU or USA AC-AC adapter calibration (Switch off = UK/EU, Switch on = USA)
- Serial RF nodeID config
- A 5v USB to UART cable is required to upload firmware to emonTx
Upload Pre-compiled firmware using emonUpload tool
Compile and upload firmware using PlatformIO
See platformio install quick start
Recomended to use install script which may require sudo:
python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
$ pio run
$ pio run -t upload
See PlatfomIO unit test docs. Requires PlatformIO 3.x
$ pio test
Compile with Arduino IDE