MySensors shield and RGBW Controller
-
I thought thats what I did, but perhaps I misclicked ;) I thought the hardware part would be right.
-
-
-
Sorry, I didn't find a sot-23 Mosfet with a higher limit, but maybe you have enough space to use TO-220. There are a lot of Mosefet's with a higher limit available - like this one.
-
Thanks for the feedback! I will try to add some bigger MOSFETs. Perhaps I can add both and make it optional. For now I finalised my shield. I moved the headers for the sensor, so that they are spaced like the arduino pro pins (distance). Also redid the routing and some other small parts. I just ordered them from dirtypcbs. Once I get them and they work I will add a link here if anybody else wants some.
I guess next I will work on the rgbw shield again. -
Yeah :sparkles: my PCBs from dirtypcbs finally arrived! So I instantly had to open the package and I must say: these pcbs are really well made (for that price). Here are pics. As you can see I designed them so that 2 fit on one 5x5cm pcb. So I have gotten myself 24 potential "smart" sensors now :smiley:
I haven't gotten all components yet for multiple sensors but I started with one test sensor anyways. It has through hole resistors instead of some smd ones, no capacitor and no DHT22 yet. But once I get the components I will add them on the prototype. For now it's up and running with a demo sketch that just sends random values.
And everything seems to be working nicely. Yeah^^Next step is to finalize the components and test some other components as arduino shield like components on the two pin headers I added for that one. And I already found some small things that I could still improve.
Once that's all done I will finalize the RGBW ones and send them of for production.
Love to hear your feedback and tipps guys!
PS can I somehow add these pictures as thumbnails? They are quite big...

-
My test sensorboard has been successfully running for over a week now :sparkles:
It's only reporting fake values because my new sensors (DHT22) did not yet arrive but this looks good already.This night there was an "accident" though. Suddenly the sensor stoped sending data. When I took it from its "hiding"spot I saw that the second LED on the board was constantly on. Do you guys knwo what that is for?
When I connected my serial to usb adapter to check the node's status the sensor powered up again and is since working perfectly again. The adapter does also power the board though. The battery levels are still reported as 3.4V so this should not be a problem. Any idea what the problem could be?
I haven't added the capacitor yet... might that be the problem? -
Ok, the same thing just happened again. Before the unit shut down it did restart about 3 times (thats whats in the log from my domoticz). Might this be the brownout shutdown? Voltage with external multimeter is at aboud 2.7-2.8V. So do I have to change my fuse settings? Or perhaps use the mysensor bootloader...
I also realized that I did connect my batteries directly to the VCC pins, not the raw pin. This means that the voltage converter on the board isn't used (right?). Should I change that, or what's happening with the 3.3V converter if it gets input voltages lower than 3V?I also realise that my usb to serial converter might be running at 5V so I might have killed my NRF (and possibly the arduino too) :disappointed:
How do you guys handle this?
-
Is it available for other people yet? I am very interested in LED strip drivers connected to mySensor network and your PCB seems to fit the bill nicely.
Good job.
-AM
-
Not yet, although the designs are above. I have to work out the errors in my normal pcb yet. Then I can easily switch over to the RGB(W) one.
PS: Good part: both nrf and arduino are still working. Bad part: They shut down again after about a second. So it has to be a power issue. What are the right settings/fuses/things to keep the arduino pro mini (3.3V) running with batteries at 2.8V and lower?
-
Thanks for the response. I will be watching your progress closely as I am very interested in this.
-AM
-
It's a little sad that it took me so long but I finally managed to find a few minutes to "finalize" and test my sketch.
Here is my working code for an RGBW node that is based on MySensors and works with domoticz (other controllers might send different strings => so you would have to change one part of the sketch).
The sketch smoothly fades between colors and seemed to be stable in my test. What I still want to add is some kind of saved last values for possible restarts or loss of connection.I am gratefull for any feedback.
Next I will finalize my (test) pcb design and order that.
-
i would like to test this RGWB also, are the PCB gerber files available ?
-
I was finally able to get my PCB designs done. They are currently being produced by dirtypcbs.com
I switched to big(ger) mosfets to be able to drive a longer LED strip and easier to use through hole components instead of SMD. My breadboard test worked great so I am really curious to see this in action.
I also updated my github repo with the Target3001 based design, XGerber export and a eagle file export (although I am not really sure how that works, I never really used eagle myself).
If you simply want to try these unchanged PCBs yourself here is a link where you can buy them: http://dirtypcbs.com/view.php?share=14600&accesskey=e4f6cec8b8aadb845d51076b0f1aaab0
Although I warn you, they are not tested yet!Love to hear your feedback guys!
-
I was finally able to get my PCB designs done. They are currently being produced by dirtypcbs.com
I switched to big(ger) mosfets to be able to drive a longer LED strip and easier to use through hole components instead of SMD. My breadboard test worked great so I am really curious to see this in action.
I also updated my github repo with the Target3001 based design, XGerber export and a eagle file export (although I am not really sure how that works, I never really used eagle myself).
If you simply want to try these unchanged PCBs yourself here is a link where you can buy them: http://dirtypcbs.com/view.php?share=14600&accesskey=e4f6cec8b8aadb845d51076b0f1aaab0
Although I warn you, they are not tested yet!Love to hear your feedback guys!
Nice work! Do you have a BOM for the RGBW board?
-
I was finally able to get my PCB designs done. They are currently being produced by dirtypcbs.com
I switched to big(ger) mosfets to be able to drive a longer LED strip and easier to use through hole components instead of SMD. My breadboard test worked great so I am really curious to see this in action.
I also updated my github repo with the Target3001 based design, XGerber export and a eagle file export (although I am not really sure how that works, I never really used eagle myself).
If you simply want to try these unchanged PCBs yourself here is a link where you can buy them: http://dirtypcbs.com/view.php?share=14600&accesskey=e4f6cec8b8aadb845d51076b0f1aaab0
Although I warn you, they are not tested yet!Love to hear your feedback guys!
@LastSamurai: I would also be really interested in the BOM!
-
I will post a real BOM on my github repo when I find the time for it (hopefully soon). It's not very complicated though:
- Arduino Pro mini
- NRF24L01+
- The rectangle on the bottom right side is a step down converter like e.g. this
- 4 10k stepup resistors and 4 mosfets
- 2 caps, one to smooth the 3.3 voltage line and one for the NRF. I guess it should work without them too most of the time
-
@LastSamurai You have an error on your RGBW board! The PWM pins for a Pro Mini are not 3,4,5 and 6! They should be according to this:
PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
-
@LastSamurai You have an error on your RGBW board! The PWM pins for a Pro Mini are not 3,4,5 and 6! They should be according to this:
PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
@korttoma said:
@LastSamurai You have an error on your RGBW board! The PWM pins for a Pro Mini are not 3,4,5 and 6! They should be according to this:
PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
Ah yes, thanks for the reminder! I knew this at design time (though I forgot it myselft now). Pins 9-11 are already used by the nrf module, so there aren't enough pins left for 4x PWM. RGB channels are using the pins 3,5,6 in my design and white the "normal" pin 4. This isn't a huge problem because at least in domitcz all that the white channel does is on/off anyways (or mostly). I guess I have to update the texts though.
Do you guys know if there is a way to free up one additional pwm pin so that true 4 way pwm is possible? If thats not possible there is software pwm (although that might be a problem when using the network..?!).
@jeti For my tests I am using IRFZ44N, but that really only depends on how many leds you want to be able to drive.