Hello. I realized that in the Atmega168 datasheet, the PB5, PB4, PB3 pins are 17, 16, 15 and not 19, 18, 17, how is shown in the schematic. Could this be a problem??
Greetings!!
This forum has moved to forum.jeelabs.net - this read-only archive is for reference only!
Hello. I realized that in the Atmega168 datasheet, the PB5, PB4, PB3 pins are 17, 16, 15 and not 19, 18, 17, how is shown in the schematic. Could this be a problem??
Greetings!!
I saw that I was talking about the TQFP version, used in the arduino mini pro, the PDIP version of the chip is the right connection. I'll try again the RF12demo, I don't know why it doesn't work...
It's indeed quite hard to debug this thing from scratch, because you have to figure out which side isn't working. I'm assuming you have no JeeNode or JeeLink on the other side.
If you're using the RFM12 (not RFM12B), make sure there is a pull-up resistor on the FSK/DATA/nFFS pin. See http://news.jeelabs.org/2009/05/06/rfm12-vs-rfm12b-revisited/
One thing to check is that the status register is being read out, i.e. inspect the return value of a "rf12xfer(0x0000)" call (you need to do this either in the RF12.cpp source file, or make the rf12xfer() non-static). It should not be 0x0000 or 0xFFFF.
Hi. As I was reading the datasheet of the RF12B I noticed on page 13 the sentence:
Bit el enables the internal data register. If the data register is used the FSK pin must be connected to logic high level.
But here and on your page ...rfm12b-revisited you state that this is only needed for the RFM12, not the RFM12B. Where did you find that information? Is it now included on the smd-board?
Groeten!
I don't remember where I saw that info, but I'm quite sure I did. I suspect there's an on-board pull-up resistor now.