Dynamic NeoPixel Demo


Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,154

    Default Dynamic NeoPixel Demo

    Well Over the holidays I was in Florida with my family and during that time my daughter was designing a wearable Arduino / NeoPixel article of clothing. It was to be a belt that would scroll messages. Well her and I went our own ways as far as designing the thing. What I did was somewhat based on the work of Michel Jasmin who wrote an article here. I however wanted the messages to be dynamic in nature meaning they should be able to be changed while the system is up and running and not only during compile time. The attached code and include file are a complete system for building a scrolling display using the popular WS2812B (NeoPixels) with a couple of test display modes. I have tested the code to 1008 series connected pixels with 100% success. That many pixels do draw a bit of power so if you are doing to build a portable unit, you will need a car battery..... The display was designed as displaying any number of 5 x 7 characters. However I made the matrix for 6 x 7 so as to leave 1 collum between each character. 1008 pixels would then yield 24 characters per display. I was doing to build a top hat with a scrolling display for new years but didn't have time to get the hat. The design is for the same number of pixels per row x 7 rows. the rows are to be connected in series starting from the left to the right. This is easy if the display is in the configuration of a circle, as I mentioned in the hat design. That was the start of each row from the top down to the bottom is mearly offset as far as the wiring goes. I also designed the input to use a Bluetooth connected device to enter the mode, messages, and color levels for the display, as well as the scrolling speed of each mode. The Bluetooth device I used was an HC-03 running at 38,400 baud. The PIC I used was an 18F26K22 as it afforded enough memory and 2 USARTs. This came in handy during debug and bootloading. I have to admit though, there are a butt load of extra pins not used as the entire project only needed 5 pins. 2 for each comm port and 1 for the NeoPixel strip. Well enough of me talking about it. Enjoy... and Happy NewYear...
    Attached Files Attached Files
    Last edited by Dave; - 16th January 2015 at 12:28.
    Dave Purola,
    N8NTA
    EN82fn

Similar Threads

  1. NeoPixel (WS2812B) Demo
    By MichelJasmin in forum Code Examples
    Replies: 11
    Last Post: - 18th August 2018, 21:07
  2. ADC, pref and dynamic range
    By HankMcSpank in forum General
    Replies: 4
    Last Post: - 21st June 2011, 08:02
  3. Dynamic array??
    By lerameur in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th November 2010, 22:16
  4. OWOUT dynamic memory addresses
    By scottl in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th March 2008, 20:39
  5. SerOut2 Dynamic Port Selection
    By nba30 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 11th April 2005, 16:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts