I ported the RF12Demo sketch by Jeelabs to use with the TinySensor. My plan is to have it run while the TinySensor is connected to RaspBerry Pi’s UART so that I can both receive and send data packets. A PHP script will then capture the packets, decode the contents and post the data to EmonCMS that is installed on the RaspBerry Pi. The sketch requires the modified for ATtiny84 NewSoftSerial library to work.
The sketch itself is available on GitHub, here is ascreenshot of it running on the Pi:
Pingback: Capture, decode and log to emoncms RFM12B packets on Raspberry Pi | Martin's corner on the web
Pingback: RaspberryPi+TinySensor as EmonBase | Martin's corner on the web
When using softwareserial,you define the pins to use in your sketch. Watch out for matching voltage levels and ensure common ground
Martin, I have troubles to get the communication working. I use ArduinoISP to upload the sketch to the Attiny84, no problem. But what pins should I use for the Rx/Tx on my Attiny to communicate with the Rx/Tx from my UNO.
Whatever I tried I don’t get the configuration screen as shown above 🙁
Hy there Martin,
Any ideia how to put an rfm12b in a raspberry pi sniff around the 433mhz band?
Shouldn’t be hard, but I haven’t tried it.
By using a 433Mhz module instead, you will be able to do it in the band you are interested
I will see that thanks!
I don’t understand nothing of this… just a newbiee i bought and eve alpha and i’m search something to do with it
Any help is welcome :d