Modify firmware in the emonpi

For discussions related to emonPi, emonTx, emonBase and emonGLCD hardware and Arduino firmware

Hi,

I’m working on a project with emonPi and it’s kind of new for me.
I’m sure it looks like stupid but I want to modify the firmware using a beta library in the emonpi. I saw that the mini-USB port is only a power supply port. Do we have to update it through the RaspberryPi or is there an other way?

I’m sure that’s a noob question, but thank you for helping me !

Arduino Firmware can be uploaded via the UART header. The Raspberry Pi will need to be switched off to free up the serial port and the board will need to be powered via the mini-USB.

However the easiest way to upload directly from the Raspberry Pi, compiling to code directly on the Pi using platformio. See blog post:

You can also upload using avrdude, see script: emonpi/update at master · openenergymonitor/emonpi · GitHub

Latest firmware can be found here: emonpi/update at master · openenergymonitor/emonpi · GitHub