Atmega8 with RFM12
Posted: Tue Jan 25, 2011 4:35 pm
I'm would like to use V-USB with an Atmega8 to use a RFM12 (using SPI) to communicatie wireless with other projects. The Wireless Sensor-project is a nice start, but since it's only reading data it's not sufficient for me.
One of the problems I see is with the interrupts. The schema on the website shows the USB-connector attached to both the INT0 and INT1 of the Atmega8, but the RFM12 needs a connection with an interrupt-pin too. What's the best way to solve this? Just use polling of the RFM12 instead of interrupts?
And which project is the easiest to understand and both read and write data to the Atmega8, which in turn should send data to the RFM12?
One of the problems I see is with the interrupts. The schema on the website shows the USB-connector attached to both the INT0 and INT1 of the Atmega8, but the RFM12 needs a connection with an interrupt-pin too. What's the best way to solve this? Just use polling of the RFM12 instead of interrupts?
And which project is the easiest to understand and both read and write data to the Atmega8, which in turn should send data to the RFM12?