DrAzzy:
What is the symptom of the problem? Are you getting communication with RFM69, but no no transmission? Are you sure that the antenna pin isn't shorted to something? Is there an antenna connected? (I see pics of people using it with a simple wire as an antenna, which should be the correct length for the frequency it transmits at - range will probably be terribad without the antenna.
I am using RFM69CW. There is no transmission from it. The set up I have is that when this is turned on, the RFM69CW will send a message which is immediately captured by the basestation radio and reported. I don't see that message at all from the unit. I see from other units. And from the RFM69CW on the breadboard.
I have checked for antenna pin short. There is none. But I will check again just to be sure.
The antenna is a simple wire (though I tried a coil-loaded one too) of the correct length -- same length as the ones on units where this works fine (I think about 17.1cm long for 433MHz). The range when it works is quite good (at last 50m through multiple walls -- probably longer).
DrAzzy:
Is that an RFM69CW or HCW? The pinouts are completely different for those two, your pinout at first glance looks like the CW one. If you were using the HCW, it would be totally wrong.
It's RFM69CW. The connections I have checked and they seem to be correct.
DrAzzy:
Why is one of the ground pads not connected to ground?
Did you mean the ground pad of the RFM69CW module? It is connected to the ground. It is pin 3 (antenna is on Pin 1) and is connected to one of the legs of the cap, which in turn is connected to the ground on the power supply header (on the extreme left). It is also connected to Pin 8 of the MCU, which is also grounded.
DrAzzy:
The plane on the top should be your ground plane, not the power plane, to ensure a good connection to ground.
The top (red) and the bottom (blue) planes are both ground planes. There is no power plane in my PCB. Power is supplied via traces.
I have tested this PCB earlier to check the MCU operation without connecting the RFM69CW. That worked just fine. Even now, if I don't care about the radio link the MCU program works fine (e.g., it triggers the solenoid drivers on the bottom edge of the PCB. More details of that part of the circuit below).
DrAzzy:
Since the antenna is sticking up from the board, the ground plane I think is desirable, not undesirable (for PCB-trace antennas, you need to keep the area under the antenna free of the ground plane, but for a whip antenna, you want a good ground plane, as that effectively serves as part of the antenna. I would definitely put a larger cap between Vcc and ground somewhere on the board (I'd do 47-100uF, as a default value), since you have no power supply filtering on the board except for the decoupling caps and that giant cap (which will probably create enough of a current surge when finally connected that it resets the board, btw - why is that there?!) - and wires between the 3.3v supply and your board.
I think so too (ground planes for a whip antenna are good). That's why I put those planes. But was just wondering if I am missing something here. Thanks.
I will put a larger cap between VCC and GND.
The power supply I am using is already stable. It's from Arduino (3.3v supply), or 2xAA batteries or from a very stable power supply unit in a lab. So felt that that won't be a problem. Do you agree?
The 9V supply, which powers the large 2200uF cap, is from separate 6xAA battery pack. I don't expect a glitch in the MCU/RFM69CW power when the large cap turns on. Indeed, I don't see it in the 2-port version of this that is working (details below).
This is PCB is for a remotely controlled 6-port sprinkler controller which DC Latching solenoids. They need a 20millisec pulse between 6-9V to operate (of opposite polarity to open/close). The H-bridge drives at the bottom of the PCB can each drive two solenoids and can handle 2A current -- certainly for 20msec. Pulse is powered from the 9V supply via the 2200uF cap, which is turned-on for the H-bridge drivers via a MOSTFET switch. The program on the MCU wakes up the appropriate H-bridge breakout board, turn-on the MOSFET, deliver a pulse of 40msec (just to be safe). Then it shuts down the MOSFET cutting off the 9V supply to the drivers, and puts them to sleep.
The diodes are there to stop reverse connection (which are in the details of the H-bridge driver boards) which eventually left the 9V supply connected to ground (with some effective resistance in between). That drained the 9V battery faster than expected. With this circuit and the diodes, the 3.3V and 9V supplies will last for many years (my estimate from operating a 2-port version for over a year now).
I have this circuit, with the RFM69CW module working for two ports and using ATT84. This circuit is really just a extension of that one, with the MCU replaced by ATT88 (for extra DIO lines). And of course a new PCB.
The 2-port unit which is working wonderfully for the past year, has the ATT84 and the RFM69CW on a separate board while the H-bridge driver and MOSFET circuit is on a different PCB. The two PCBs are connected with jumper wires on the headers on both PCBs. The PCB of the 2-port circuit which works is here.
The 3.3V circuit (which powers the MCU and the RFM69CW only) is therefore not affected by the presence of the 2200uF cap. The whole circuit, with the radio communication, works for the two port circuit. Herein lies my confusion: why is the RFM69CW not working on this 6-port PCB?!
DrAzzy:
If you look at the common breakout boards, you'll notice they have 2 caps, one small one (probably 0.1uF) and a much larger one (probably 10uF ~ 47uF).