💬 OH MySensors RGBW Controller
-
-
Is it possible to buy the corrected pcb anywhere?
-
Not yet. You could take the kicad files from my github and change that by yourself. I did start to update my design some weeks ago but as I still have enough of the old boards (and they work with that one tweak) I didn't finish that. Might do that soon so. Once I updated it I will add the new file to my github repo and the openhardware page.
-
@Cliff-Karlsson I did update my kicad and gerber files in the github repo (are these files automatically updated in the openhardware.io project too?). I haven't tested these yet but they should work without an error now. You could just take these gerber files and order them somewhere.
-
Great, just one stupid question. Do I just upload the gbl file to dirtypcbs/oshpark or how does it work?
-
Great, just one stupid question. Do I just upload the gbl file to dirtypcbs/oshpark or how does it work?
@Cliff-Karlsson said:
Great, just one stupid question. Do I just upload the gbl file to dirtypcbs/oshpark or how does it work?
You take a zip file with all the gerber files inside (I think I already put one into the git), test it online (if you want to; sometimes it doesnt look perfect here) and then you upload it to dirtypcbs. I don't know how oshpark works, but I guess similar.
Online gerber viewers I use are:
http://circuitpeople.com/
http://mayhewlabs.com/3dpcbEdit: I did just fix the files, you should be able to just use the RGBWController-Gerber.zip from the github (I will try to update the openhardware.io page now)
-
What is the correct pitch for the screw terminals? 2.54mm? 5mm ? or other?
-
What is the correct pitch for the screw terminals? 2.54mm? 5mm ? or other?
@Cliff-Karlsson It should be 5 mm
-
I had the same problem with dirtypcbs so I ordered from seedstudio instead. Almost the same price.
-
Oh thats just a naming issue. Rename the "RGBWController-Edge.cuts.gm1" to .gml in the zip file and it should work just fine.
-
Just got the v1.3 pcb's from OSH Park, just waiting for some components, and the we go. It will be an exciting christmas ;-)
-
I got my v1.3 pcbs from Smart Prototyping. Quality is good. The controller works fine BUT the sketch version in your github repo is broken. Seems like the non linear fading part never got finished. I am now using linear fading and the sketch is working. :)
-
I got my v1.3 pcbs from Smart Prototyping. Quality is good. The controller works fine BUT the sketch version in your github repo is broken. Seems like the non linear fading part never got finished. I am now using linear fading and the sketch is working. :)
@Jan-Gatzke
Hi can you please post your adjusted sketch for further reference? -
@Jan-Gatzke
Hi can you please post your adjusted sketch for further reference?You have to fix the following part:
for (int i = 0; i < NUM_CHANNELS; i++) { if (isOn) { // normal fading //analogWrite(channels[i], dimming / 100.0 * values[i]); // non linear fading, idea from https://diarmuid.ie/blog/pwm-exponential-led-fading-on-arduino-or-other-platforms/ analogWrite(channels[i], pow (2, (dimming / R)) - 1); } else { analogWrite(channels[i], 0); } }Corrected Version
for (int i = 0; i < NUM_CHANNELS; i++) { if (isOn) { // normal fading analogWrite(channels[i], dimming / 100.0 * values[i]); // non linear fading, idea from https://diarmuid.ie/blog/pwm-exponential-led-fading-on-arduino-or-other-platforms/ //analogWrite(channels[i], pow (2, (dimming / R)) - 1); } else { analogWrite(channels[i], 0); } }Or else all channels are set to the Value of dimming. The sketch on openhardware.io is broken, too.
-
You have to fix the following part:
for (int i = 0; i < NUM_CHANNELS; i++) { if (isOn) { // normal fading //analogWrite(channels[i], dimming / 100.0 * values[i]); // non linear fading, idea from https://diarmuid.ie/blog/pwm-exponential-led-fading-on-arduino-or-other-platforms/ analogWrite(channels[i], pow (2, (dimming / R)) - 1); } else { analogWrite(channels[i], 0); } }Corrected Version
for (int i = 0; i < NUM_CHANNELS; i++) { if (isOn) { // normal fading analogWrite(channels[i], dimming / 100.0 * values[i]); // non linear fading, idea from https://diarmuid.ie/blog/pwm-exponential-led-fading-on-arduino-or-other-platforms/ //analogWrite(channels[i], pow (2, (dimming / R)) - 1); } else { analogWrite(channels[i], 0); } }Or else all channels are set to the Value of dimming. The sketch on openhardware.io is broken, too.
@Jan-Gatzke
Thank you for your post.
I hope the Mosfet's are comming in today, then i can build it up and play with it. -
@Jan-Gatzke Thank you for correcting it ;) I never got around to making the fading part work a 100% so I reverted back to my normal linear fading for my controllers. Seems like I forgot to correct that in my git repo :frowning: Sorry for that, I will fix it after christmas.
Great to hear that others are using the controllers too! Have fun with them and update me if you change something or build some (other) cool thing with them! -
A little question, the v1.3 is this the one with the corrected mosfet placement ?
I build and programmed one now, but i only get a bright white light, and no response when i switch the node. So now i am in doubt...With regards
Peer -
A little question, the v1.3 is this the one with the corrected mosfet placement ?
I build and programmed one now, but i only get a bright white light, and no response when i switch the node. So now i am in doubt...With regards
PeerThe node always starts with white on. This is normal behaviour.