Parts total $53: Trinket: a.co/j9xa4aP $9 Power Supply: a.co/fvsXcaZ $15 (not needed unless you run over 50 neopixels) NeoPixels: a.co/1j2cHS2 $17 Wire connectors: a.co/hO7vkSQ $12
What a great job you did in this video. The video is very informative and helpful. Great explanation indeed. I want to learn about this programming. It really adds a very nice touch to the layout. It doesn’t seem too difficult either once you learn the basic concept of how they work and how to program them. Thanks a lot for taking the time to explain and show us how this process is done. Great job. 👍
I am just watching this now and know this is 5 years old. Very interesting video still though. Just as a note, neo pixels do not use pulse width modulation. Most neo pixels use a fixed frequency, 800KHz, 24 bit data stream. It works a bit differently to pwm and analogue LED's.
Check out Model Railroad Hobbyist Dec 2016 or March 2017 for arduino projects or here for DCC project I've been playing around with them for my layout model-railroad-hobbyist.com/node/24316
That looks great! and using Arduino and NeoPixels means that you can modify the way it looks in the future by just tweaking some code! Can we get some links to some of the resources you are using? some of the code samples and Adafruit tutorials?
You can download the software to program the Arudino board from here: www.arduino.cc/en/Main/Software You will also need to download the neopixel library from here: github.com/adafruit/Adafruit_NeoPixel You can start playing around with the hardware and code online from here: circuits.io/ Learn about the micro-controller Trinket from here: learn.adafruit.com/introducing-trinket/downloads?view=all Learn about the Neopixels from here: learn.adafruit.com/adafruit-neopixel-uberguide/arduino-library?view=all and www.tweaking4all.com/hardware/arduino/arduino-ws2812-led/ I got a bunch of code from here as well but modified it for my application: www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/
Hi, Thanks for all the great links to all the stuff for this application. I have trains and want to do exactly what you are doing. Can I please ask you for your sketch, which I may tweak as well. Please explain how you get the pixels to dim and dance in different buildings. Bob
There are many sketch's that I used. But here is a great resource I used for all the sketch's www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/#library As for dimming you just change the RGB value, the brightest setting is 255 255 255, so 125, 125, 125 would be about half the brightness.
good tutorial. Have never used led light on my train sets. Have G gauge outdoors and running HO 027 indoors. Basement is full of track and 2000 feet of track outside. A lot of LED to put in so many buildings and vehicles. Can visit my videos "Kendra trains 58" being the newest up load.
What is the brand/model/name of the neopixel array that you have? Where can I buy one? PS: great video. I just bought my 1st Arduino and trinket board.
Parts total $53: Trinket: a.co/j9xa4aP $9 Power Supply: a.co/fvsXcaZ $15 (not needed unless you run over 50 neopixels) NeoPixels: a.co/1j2cHS2 $17 Wire connectors: a.co/hO7vkSQ $12
Parts total $53: Trinket: a.co/j9xa4aP $9 Power Supply: a.co/fvsXcaZ $15 (not needed unless you run over 50 neopixels) NeoPixels: a.co/1j2cHS2 $17 Wire connectors: a.co/hO7vkSQ $12
Is it possible to wire the trinket up to control lights that aren't the pixel LEDs? such as streetlights, etc? I know you won't be able to control color, but can it turn them on and off?
Parts total $53: Trinket: a.co/j9xa4aP $9 Power Supply: a.co/fvsXcaZ $15 (not needed unless you run over 50 neopixels) NeoPixels: a.co/1j2cHS2 $17 Wire connectors: a.co/hO7vkSQ $12
Parts total $53:
Trinket: a.co/j9xa4aP $9
Power Supply: a.co/fvsXcaZ $15 (not needed unless you run over 50 neopixels)
NeoPixels: a.co/1j2cHS2 $17
Wire connectors: a.co/hO7vkSQ $12
Thank you, Top video, very well explained. Looks like my town will be coming into the new age soon.
Best video I’ve seen on this topic, especially the latter segment where the code was displayed. Thank you very much. Very professional production.
What a great job you did in this video. The video is very informative and helpful. Great explanation indeed. I want to learn about this programming. It really adds a very nice touch to the layout. It doesn’t seem too difficult either once you learn the basic concept of how they work and how to program them. Thanks a lot for taking the time to explain and show us how this process is done. Great job. 👍
I am just watching this now and know this is 5 years old. Very interesting video still though.
Just as a note, neo pixels do not use pulse width modulation. Most neo pixels use a fixed frequency, 800KHz, 24 bit data stream. It works a bit differently to pwm and analogue LED's.
Very cool. My bro and I are planning a similar design. I'm glad I came across this video. A+.
Good video guys thanks for sharing
Robert
Glad you enjoyed it!
Amazing!!
Great and just in time i found this i'm just getting in to arduino and i'm currently building an n scale layout more info on my channel
Check out Model Railroad Hobbyist Dec 2016 or March 2017 for arduino projects or here for DCC project I've been playing around with them for my layout model-railroad-hobbyist.com/node/24316
Cool
That looks great! and using Arduino and NeoPixels means that you can modify the way it looks in the future by just tweaking some code! Can we get some links to some of the resources you are using? some of the code samples and Adafruit tutorials?
You can download the software to program the Arudino board from here: www.arduino.cc/en/Main/Software
You will also need to download the neopixel library from here:
github.com/adafruit/Adafruit_NeoPixel
You can start playing around with the hardware and code online from here:
circuits.io/
Learn about the micro-controller Trinket from here:
learn.adafruit.com/introducing-trinket/downloads?view=all
Learn about the Neopixels from here:
learn.adafruit.com/adafruit-neopixel-uberguide/arduino-library?view=all
and www.tweaking4all.com/hardware/arduino/arduino-ws2812-led/
I got a bunch of code from here as well but modified it for my application:
www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/
Hi, Thanks for all the great links to all the stuff for this application. I have trains and want to do exactly what you are doing. Can I please ask you for your sketch, which I may tweak as well. Please explain how you get the pixels to dim and dance in different buildings. Bob
There are many sketch's that I used. But here is a great resource I used for all the sketch's www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/#library
As for dimming you just change the RGB value, the brightest setting is 255 255 255, so 125, 125, 125 would be about half the brightness.
good tutorial. Have never used led light on my train sets. Have G gauge outdoors and running HO 027 indoors. Basement is full of track and 2000 feet of track outside. A lot of LED to put in so many buildings and vehicles. Can visit my videos "Kendra trains 58" being the newest up load.
What is the brand/model/name of the neopixel array that you have? Where can I buy one? PS: great video. I just bought my 1st Arduino and trinket board.
Parts total $53:
Trinket: a.co/j9xa4aP $9
Power Supply: a.co/fvsXcaZ $15 (not needed unless you run over 50 neopixels)
NeoPixels: a.co/1j2cHS2 $17
Wire connectors: a.co/hO7vkSQ $12
So where can I learn more about the hardware, the newpixels, and the program?
Bob
Parts total $53:
Trinket: a.co/j9xa4aP $9
Power Supply: a.co/fvsXcaZ $15 (not needed unless you run over 50 neopixels)
NeoPixels: a.co/1j2cHS2 $17
Wire connectors: a.co/hO7vkSQ $12
Is it possible to wire the trinket up to control lights that aren't the pixel LEDs? such as streetlights, etc? I know you won't be able to control color, but can it turn them on and off?
Yes you can do it with basic LEDs as well. It's just a simple on with delay and off with delay code instead.
how can I get a copy of the code
What city are y'all in? I live in Claremore and would love to visit.
Sean Robinson we are in Oklahoma City, OK. Check us out also on Facebook. Oklahoma Model Railroad Association.
Parts total $53:
Trinket: a.co/j9xa4aP $9
Power Supply: a.co/fvsXcaZ $15 (not needed unless you run over 50 neopixels)
NeoPixels: a.co/1j2cHS2 $17
Wire connectors: a.co/hO7vkSQ $12