As [Shahriar] points out in the introductory matter to his latest video at The Signal Path, Arduinos are a great way for a beginner to dig into all kinds of electronic excitement, but they do so at the cost of isolating that beginner from the nitty gritty of microcontrollers. Here, [Shahriar] gives a very thorough walkthrough of a 60-neopixel ring starting with the guts and glory of a single RGB LED. He then shows how that ring can easily be programmed using a PIC and some C.
[Shahriar]’s eval board is a simple setup that he’s used for other projects. It’s based on the PIC18F4550 which he’s programming with an ICD-U64. The PIC is powered through USB, but he’s using a separate switching supply to power the ring itself since he would need ~60mA per RGB to make them burn white at full brightness.
He’s written a simple header file that pulls in the 18F4550 library, sets the fuses, and defines some constants specific to the ring size. As he explains in the video, the PIC can create a 48MHz internal clock from a 20Mhz crystal and he sets up this delay in the header as well. The main code deals with waveform generation, and [Shahriar] does a great job explaining how this is handled with a single pin. Before he lights up the ring, he puts his scope on the assigned GPIO pin to show that although the datasheet is wrong about the un-delayed width of the low period for a zero bit, it still works to program the LEDs.
[Shahriar] has the code available on his site. He is also holding a giveaway open to US residents: simply comment on his blog post or on the video at YouTube and you could win either a TPI Scope Plus 440 with probes and a manual or a Tektronix TDS2232 with GPIB. He’ll even pay the shipping.
Continue reading “PIC Up A NeoPixel Ring And C What You Can Do Using This Tutorial”
Inspired by a childhood love of dinosaurs, [Robert] set out to build a robotic dinosaur from the Ceratopsian family. After about a year of design, building, and coding, he has sent us 
I ran into a guy at Maker Faire Kansas City who I used to scoop ice cream with twenty years ago. We were slinging frozen dairy at a Baskin Robbins in a dying suburban strip mall that had a one-hour photo booth in the parking lot. It was just far enough away from our doorstep that dotting its backside with the hard-frozen ice cream balls that had been scooped and then not always accidentally dropped into the depths of the freezer was challenging. This guy, [Blake], kept a hockey stick hidden in the back room especially for this purpose. I never could get them to fly that far, but he was pretty good at it.
How many Ma Bell employees does it take to build an ESS mainframe? This week, Retrotechtacular takes you into the more poetic recesses of the AT&T Archive to answer that very question. This wordless 1974 gem is 

