Skip to content
Branch: master
Find file History
Latest commit 14e37a8 Dec 17, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
compiled V3.0 return zero when no CT conncted Jan 16, 2018
src Update changelog: V3.1.0 May 25, 2018
test move emonTx V3.4 hardware & firmware to single repo Jan 22, 2017
update_scripts Update Readme.md Apr 6, 2017
changelog.md Update changelog.md Dec 17, 2018
platformio.ini correct baud Oct 26, 2018
readme.md typo Jan 16, 2018

readme.md

Default emonTx Firmware

Firmware

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 operation 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

Change Log


Compile & Upload

Option 1.)

Upload Pre-compiled firmware using emonUpload tool


Option 2.)

Compile and upload firmware using PlatformIO

Install platformio (if needed)

See platformio install quick start

Recommended to use install script which may require sudo:

python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"

Compile

$ pio run

Upload

$ pio run -t upload

Test (optional)

See PlatfomIO unit test docs. Requires PlatformIO 3.x

$ pio test

Option 3.)

Compile with Arduino IDE

You can’t perform that action at this time.