RF12 Demo sketch for ATtiny84

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…

Running the Attiny84 @ 4Mhz with the internal oscillator

I am experimenting with running the TinySensor at 4Mhz with power saving in mind. There is a really nice article on power saving techniques here that also was an inspiration. The 4Mhz is the lowest possible limit for the RFM12b module to work as well, so I won’t go any lower than that. In theory,…

Fix for TinySensor v1.3’s ISP connector

As I mentioned in my TinySensor 1.3 PCB announcement, I have an error that prevents the ISP connector from being used. Of course, you can always take the Attiny84 out (if you use a socket) and program it with another Arduino, for example, but it is much neater to use an ISP programmer like the…

Interfacing RFM12B to Raspberry Pi for cheap

I managed to interface one of my TinySensors to my Raspberry Pi via Pi’s UART. The idea is to use it to receive RFM12b transmissions and re-transmit on Pi’s UART where a serial gateway will pick the data and post to emoncms. I only need one-way transmission i.e. from the TinySensor to the Pi. Edit: [Two…

TinySensor PCB is ready

I have received 15 TinySensor v1.3 PCBs yesterday and am running tests. So far the ISP connector cannot be used because of a mistake I made on the PCB, but I assume this is fixable. I had to program the Attiny on a breadboard instead. I have built a sensor to test out the RFM12b,…

Toying with ATTiny84 and SD card in Arduino IDE

As I mentioned in my previous post, I tossed in a SD card port for the TinySensor v1.1. I wanted to give it a live test and see if/how it works prior to submitting the PCB to the fab house. So I  did a breadboard setup as per TinySensor v1.1’s schematic (MCU+SD part only). Next, I decided…

The Tiny Sensor gets a SD card port

I had some space left on the TinySensor v1.0 PCB, plus I left myself few days to think before ordering the first batch, so I decided to throw in a SD card port. I didn’t want it to be anything fancy like the impossible to solder SMT card slots, so I decided to go for…