Using RFM69CW instead of RFM12B

The rumors for RFM12B’s end-of-life two years ago seem to have been highly exaggerated now and the popular RF module is still available in abundance. HopeRF has introduced a pin-compatible upgrade, the RFM69CW. The module itself offers improved sensitivity and range compared to the RFM12B (+30%) at the cost of increased power consumption, making it probably a…

NodeRED RFM2Pi to emonCMS gateway

I created a Node-RED RFM2Pi gateway few weeks ago, have it running nicely since then. I decided to use that approach instead of a python script, since it is very flexible, visual and easy to extend. Prior to Node-RED I used the great OEM gateway script by Jérôme Lafréchoux. My inspiration to switch to Node-RED were Nathan…

OLED status display on the RFM2Pi board

I added a 6 pin port on the RFM2Pi board that can be used for a number of applications. The port has GND, D3, D7, D6 and VCC routed, and by no coincidence matches perfectly the pinout of the Digole 0.96″ OLED Serial display that I toyed with previously. The OLED PCB is exactly the…

Rock-solid RFM2Pi gateway solution

I have had a good share of frustration with damaging Raspberry Pi SD cards due to wearing out/improper shut downs as a result from power failures and was looking for solution to this sort of problems for a while. At first I thought I had the wrong SD cards, then that my power supply wasn’t good,…

Raspberry Pi root file system in read-only mode

I have found my Raspberry Pi running the root file system off a USB flash drive in no good state this morning, the following error showing up on emoncms that was installed locally: Can’t connect to database, please verify credentials/configuration in settings.php Error message: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) Obviously my MySQL…

Installing emoncms’s “events” module

I use emoncms to log telemetry readings from various sources (wireless sensor nodes, software bots etc), the so logged data helps my IoT connected gadgets make decisions, based on pre-defined rules. For example, my heat pump monitors outside weather conditions (temperature, humidity, wind, time of day, day of week) and adjusts its operation accordingly. Adding notifications…

New RFM2Pi board in the works

Glyn Hudson and I have been working on a new RFM2Pi board revision, nothing revolutionary, just a small upgrade. The most important features of the board are: Atmega328 based, has more memory and hardware serial support Runs on the internal 8Mhz oscillator (to save unnecessary components) SMT used, board layout is optimized for pick-and-place machine;…