Easy/Newbie PCB for MySensors
-
ok. thanks for the tips and your promt assistance! such a great community!
i will try to experiment with some caps.
i tested already a couple of different radios. but maybe i will get once a decent one which will work -
get some of these, I am very happy I got them
https://www.aliexpress.com/item/Free-shipping-100PCS-Multilayer-ceramic-capacitor-10UF-106-50V-P-5-08mm/32783039097.html@gohan
just bought them on ali. What would you recommend in the meantime till they arrive here in snowy switzerland? i got a assortement of electrolyt caps.
i got a bunch of 0.1uf ceramics. could i just solder(or test it on a breadboard) 10 of them to try out? -
just a quick update.
i ran some more tests with different radios and a 10uf electroltyte cap on the booster. And some different batteries.
Heureka! It works. For now. It is running now with a 3.7v lipo battery without the voltage regulator. Does anybody know if this is safe in the long run? -
If you bypassed the booster and that works it seems like you have a booster which generates alot of noice. Try bypassing it with 2xaa and see what happens.
-
If you bypassed the booster and that works it seems like you have a booster which generates alot of noice. Try bypassing it with 2xaa and see what happens.
@sundberg84 do you experience the same thing when you are using boosters? Some are better than other even tough they are the same model? Same with the radios?
-
@sundberg84 do you experience the same thing when you are using boosters? Some are better than other even tough they are the same model? Same with the radios?
@helvetian correct. I can buy a batch with 10 boosters and some works and some don't. Most can work with the right capacitors as support but a few was just impossible.
-
@sundberg84 do you experience the same thing when you are using boosters? Some are better than other even tough they are the same model? Same with the radios?
@helvetian when dealing with cheap Chinese stuff, you always have to consider that you may have got a poor quality product and because of this I also bought LiFePo4 batteries that run at 3.3v so no regulator needed making it easy to figure out if it is a power issue or else
-
@helvetian - just so you dont miss this. A Atmega328 (Pro mini if you are using EasyPCB) can be run without a booster by reprogramming the fuses/bootloader. This is more advanced but possible. Then you can run the pro mini with a 8mhz or 1mhz internal clock down to the radio minimum 1.9v. This is a better option compared to boosters but harder to achieve.
-
@helvetian - just so you dont miss this. A Atmega328 (Pro mini if you are using EasyPCB) can be run without a booster by reprogramming the fuses/bootloader. This is more advanced but possible. Then you can run the pro mini with a 8mhz or 1mhz internal clock down to the radio minimum 1.9v. This is a better option compared to boosters but harder to achieve.
@sundberg84 said in Easy/Newbie PCB for MySensors:
@helvetian - just so you dont miss this. A Atmega328 (Pro mini if you are using EasyPCB) can be run without a booster by reprogramming the fuses/bootloader. This is more advanced but possible. Then you can run the pro mini with a 8mhz or 1mhz internal clock down to the radio minimum 1.9v. This is a better option compared to boosters but harder to achieve.
No it is not "hard". You just need to copy files in a directory, edit a text file and flash ISP sketch on a nano or uno bard. Easier than dealing with unreliable boosters :p
-
@sundberg84 said in Easy/Newbie PCB for MySensors:
@helvetian - just so you dont miss this. A Atmega328 (Pro mini if you are using EasyPCB) can be run without a booster by reprogramming the fuses/bootloader. This is more advanced but possible. Then you can run the pro mini with a 8mhz or 1mhz internal clock down to the radio minimum 1.9v. This is a better option compared to boosters but harder to achieve.
No it is not "hard". You just need to copy files in a directory, edit a text file and flash ISP sketch on a nano or uno bard. Easier than dealing with unreliable boosters :p
@nca78 ... can be discussed. Wiring needs to be right. It's not hard when you know what to do but it's harder compared to a working booster.
-
@nca78 ... can be discussed. Wiring needs to be right. It's not hard when you know what to do but it's harder compared to a working booster.
-
@gohan - sorry, didnt understand?
-
I've just built a few nodes using the EasyPCB Rev 9 RFM69 Edition and I can confirm it lives up to its name - build takes only 15-20 mins, and node works first time because there is no chance of incorrectly wiring the radio. Thanks @sundberg84!
The PCB fits nicely along with 1 or 2 AA batteries into the 100x60x25 project boxes available on eBay for about $1 each:
(AA battery holder is actually about 1.5mm too long to fit - I've cut off the non-spring end of the holder, and the positive wire is held by tension between the +ve battery terminal and the side of the case. Ugly, but fine for nodes that don't get moved around. White tape is to prevent antenna from shorting against the top of the radio module.)
I have a couple of observations that might be worth considering to make the next revision even better:
- According to the MySX specification, MySX header pin 10 should be connected to Arduino pin D4, not D2 (which is already used for the radio)?
- It would be handy to have a bit more space between the voltage booster and the adjacent cap - boosters with pre-soldered right-angle headers don't fit without hiting the adjacent cap (see photo). You could free up some space for this by mounting the battery measurement resistors vertically. (There is a risk that this might cause the voltage divider circuit to pick up noise from the adjacent booster; which might cause a bit of random fluctuation in the battery voltage readings. I suppose you'd need to do some tests to see if this is actually an issue.)
- I put a few layers of insulating tape under the RFM69 so that it sits about 0.5mm clear of the PCB, to make it easier to desolder if the need ever arises (see photo). It would be nice if there were holes in the RFM69 pads so that it could optionally be mounted via 2mm male/female headers. You'd need to make a small adjustment to the antenna length if actually using headers, but otherwise I don't think this would affect the radio's performance.
- EDIT: You can surface-solder 2mm headers to the existing pads, but it ain't pretty:
- You can mount a DS18B20 in the prototyping area!! (requires wire soldered under PCB to arduino input pin)
- I think the 4k7 pullup resistor for DHTxx/DS18B20 temperature sensors should be on any pin other than D3. The only (easy-to-use) hardware interrupts on the ATMega328P are D2 and D3, and D2 is already used for the radio, so D3 should be reserved for sensors that require an interrupt (e.g. motion sensors, buttons, switches).
- In fact, the space taken up by the pullup resistor might be better used as a second prototyping area. If you bring out some arduino IO pins to this area, you could actually connect a pullup resistor to any of those IO pins. It would also be good to bring out some of the IO pins that aren't already brought out on the MySX header. Suggested layout (apologies for literally-back-of-an-envelope sketch):
Hope that's all useful / constructive.
Thanks again for designing this awesome PCB!
-
I've just built a few nodes using the EasyPCB Rev 9 RFM69 Edition and I can confirm it lives up to its name - build takes only 15-20 mins, and node works first time because there is no chance of incorrectly wiring the radio. Thanks @sundberg84!
The PCB fits nicely along with 1 or 2 AA batteries into the 100x60x25 project boxes available on eBay for about $1 each:
(AA battery holder is actually about 1.5mm too long to fit - I've cut off the non-spring end of the holder, and the positive wire is held by tension between the +ve battery terminal and the side of the case. Ugly, but fine for nodes that don't get moved around. White tape is to prevent antenna from shorting against the top of the radio module.)
I have a couple of observations that might be worth considering to make the next revision even better:
- According to the MySX specification, MySX header pin 10 should be connected to Arduino pin D4, not D2 (which is already used for the radio)?
- It would be handy to have a bit more space between the voltage booster and the adjacent cap - boosters with pre-soldered right-angle headers don't fit without hiting the adjacent cap (see photo). You could free up some space for this by mounting the battery measurement resistors vertically. (There is a risk that this might cause the voltage divider circuit to pick up noise from the adjacent booster; which might cause a bit of random fluctuation in the battery voltage readings. I suppose you'd need to do some tests to see if this is actually an issue.)
- I put a few layers of insulating tape under the RFM69 so that it sits about 0.5mm clear of the PCB, to make it easier to desolder if the need ever arises (see photo). It would be nice if there were holes in the RFM69 pads so that it could optionally be mounted via 2mm male/female headers. You'd need to make a small adjustment to the antenna length if actually using headers, but otherwise I don't think this would affect the radio's performance.
- EDIT: You can surface-solder 2mm headers to the existing pads, but it ain't pretty:
- You can mount a DS18B20 in the prototyping area!! (requires wire soldered under PCB to arduino input pin)
- I think the 4k7 pullup resistor for DHTxx/DS18B20 temperature sensors should be on any pin other than D3. The only (easy-to-use) hardware interrupts on the ATMega328P are D2 and D3, and D2 is already used for the radio, so D3 should be reserved for sensors that require an interrupt (e.g. motion sensors, buttons, switches).
- In fact, the space taken up by the pullup resistor might be better used as a second prototyping area. If you bring out some arduino IO pins to this area, you could actually connect a pullup resistor to any of those IO pins. It would also be good to bring out some of the IO pins that aren't already brought out on the MySX header. Suggested layout (apologies for literally-back-of-an-envelope sketch):
Hope that's all useful / constructive.
Thanks again for designing this awesome PCB!
-
@wes Really like those 3.5mm jacks you used for the temp probes. Did you get those from ebay too?
@dbemowsk said in Easy/Newbie PCB for MySensors:
@wes Really like those 3.5mm jacks you used for the temp probes. Did you get those from ebay too?
The plugs were not great quality - screw threads were mangled so it was very difficult to screw on the backshells. I'd go for slightly more expensive ones next time. The sockets were fine.
EDIT: NB the tip and ring contacts on the socket will momentarily short out as the plug is inserted, so it's really important to wire the plugs/sockets so that this doesn't short out VCC/Ground, e.g.
- Tip: VCC
- Ring: Data
- Sleeve: Ground
Which will cause VCC/Data to short out when the plug is inserted, which is fine.
-
I've just built a few nodes using the EasyPCB Rev 9 RFM69 Edition and I can confirm it lives up to its name - build takes only 15-20 mins, and node works first time because there is no chance of incorrectly wiring the radio. Thanks @sundberg84!
The PCB fits nicely along with 1 or 2 AA batteries into the 100x60x25 project boxes available on eBay for about $1 each:
(AA battery holder is actually about 1.5mm too long to fit - I've cut off the non-spring end of the holder, and the positive wire is held by tension between the +ve battery terminal and the side of the case. Ugly, but fine for nodes that don't get moved around. White tape is to prevent antenna from shorting against the top of the radio module.)
I have a couple of observations that might be worth considering to make the next revision even better:
- According to the MySX specification, MySX header pin 10 should be connected to Arduino pin D4, not D2 (which is already used for the radio)?
- It would be handy to have a bit more space between the voltage booster and the adjacent cap - boosters with pre-soldered right-angle headers don't fit without hiting the adjacent cap (see photo). You could free up some space for this by mounting the battery measurement resistors vertically. (There is a risk that this might cause the voltage divider circuit to pick up noise from the adjacent booster; which might cause a bit of random fluctuation in the battery voltage readings. I suppose you'd need to do some tests to see if this is actually an issue.)
- I put a few layers of insulating tape under the RFM69 so that it sits about 0.5mm clear of the PCB, to make it easier to desolder if the need ever arises (see photo). It would be nice if there were holes in the RFM69 pads so that it could optionally be mounted via 2mm male/female headers. You'd need to make a small adjustment to the antenna length if actually using headers, but otherwise I don't think this would affect the radio's performance.
- EDIT: You can surface-solder 2mm headers to the existing pads, but it ain't pretty:
- You can mount a DS18B20 in the prototyping area!! (requires wire soldered under PCB to arduino input pin)
- I think the 4k7 pullup resistor for DHTxx/DS18B20 temperature sensors should be on any pin other than D3. The only (easy-to-use) hardware interrupts on the ATMega328P are D2 and D3, and D2 is already used for the radio, so D3 should be reserved for sensors that require an interrupt (e.g. motion sensors, buttons, switches).
- In fact, the space taken up by the pullup resistor might be better used as a second prototyping area. If you bring out some arduino IO pins to this area, you could actually connect a pullup resistor to any of those IO pins. It would also be good to bring out some of the IO pins that aren't already brought out on the MySX header. Suggested layout (apologies for literally-back-of-an-envelope sketch):
Hope that's all useful / constructive.
Thanks again for designing this awesome PCB!
@wes said in Easy/Newbie PCB for MySensors:
- According to the MySX specification, MySX header pin 10 should be connected to Arduino pin D4, not D2 (which is already used for the radio).
I think you are mixing up the MYSX pin numbering and the Arduino pin numbers.
Fourth digital pin of the MYSX connector ("D4") is clearly stated as beeing an interrupt pin, so on and ATMega328 based board it cannot be any other pin than D2 or D3.