Imagine this, you have a friend who grew up in Shenzhen, China. The place from whence all your really cool electronics come these days. They speak Chinese in a way only someone born there can, and given that you know them through a shared interest in hardware hacking you can assume they know their way round those famous electronics marts of their home town.
Now, imagine that in a rash move, your friend has offered to pick up a few bits for you on their next trip home. A whole city-sized electronic candy store opens up in front of you, but what do you ask for them to seek out?
Before you continue, consider this. Why has Shenzhen become the powerhouse of electronic manufacturing (and everything else) that it is? Economists will give you pages of fascinating background, but if you want a simple answer it is that those electronics are produced for export, and that its citizens are only too happy to export them to you. Therefore if you want to get your hands on electronics from Shenzhen you do not need a friend who is a native of the city, all you need is a web browser and a PayPal account.
We have all become used to seeking out the cool stuff and eagerly waiting for a padded envelope from China Post a week or two later, so there are very few items that are worth putting a friend to the extra task of finding. At which point you realize that it is the candy store rather than the candy itself which is so alluring, and you ask your friend for a video walkthrough with commentary of their travels through the electronics marts. Oh, and maybe a Chinese Raspberry Pi with red solder resist, just for the collection.
If you had a friend about to board a plane to Shenzhen, what would you ask them to find for you that you can’t just buy for yourself online? Remember, nothing that’ll land them with awkward questions at either airport, nor anything that’ll land them with a hefty customs bill. That’s a very good way to end a friendship.
Huaqiangbei skyline image: Edward Rivens (PD) via Wikimedia Commons.
Okay, we haven’t even hit Halloween yet, but if you’re planning some kind of holiday project, now’s a good time to start ordering your parts, especially if you’re designing your own PCB. While there’s no PCB involved, [designer2k2] built a desktop “hollow” Christmas tree using some WS2812 RGB LEDs controlled by a microcontroller and powered by USB.
The board running [designer2k2]’s project is a Digispark, a USB powered board by Digistump which contains an ATtiny85. The LEDs, four different sized NeoPixel rings, plus a single pixel for the top, are connected together using some solid wire which makes for a very cool look. The code that runs on the ATtiny is the part that really makes this tree. The code cycles through colors and some light chaser effects, as well as a mode that shows a green tree with some white lights. The whole project is topped off by a routine that spells “XMAS” as you look at the tree from the top down.
We’ve seen some other Christmas tree hacks over the years controlled by various things, but this one is a fairly simple, cool design. [Designer2k2] also released the code for the tree and I’m sure a lot of us could come up with some more light designs.
Check out the video after the break:
Continue reading “Just In Time For Christmas! A DIY Desktop LED Tree”
In the drag racing world, a Christmas tree is the post at the start line that sequentially lights up a set of yellow lights followed shortly after by a green light to tell the drivers to go, the lights obviously giving it its seasonal name. Included at the base of the tree are lasers to detect the presence of the cars.
[Mike] not only made his own Christmas tree for his RC cars, but he even made an end-of-track circuit with LED displays telling the cars how long they took. Both start and finish hardware are controlled by Pololu Wixel boards which has TI CC2511F32 microcontrollers with built-in 2.4 GHz radios for wireless communications.
In addition to the LEDs, the Christmas tree has a laser beam using a 650nm red laser diode for each car at the start line that’s aimed at a TEPT5600 phototransistor. If a car crosses its beam before the green light then a red light signals the car’s disqualification.
The end-of-track circuit has 7-segment displays for each car’s time. [Mike] designed the system so that the Christmas tree’s microcontroller tells the end-of-track circuit’s microcontroller when to reset the times, start the times, and clear the times should there be a disqualification. The finish line controller has lasers and phototransistors just like the starting line to stop the timers.
Oh, and did we mention that he also included 1980’s car racing game sounds? To see and hear it all in action check out the video after the break. If the cars seem a little drunk it’s because pushing left or right on the controller turns the wheel’s fully left or right.
Continue reading “RC Drag Racing Christmas Tree and Speed Trap”
The yuletide fire is out, so we’re starting to receive this year’s Christmas hacks. [Chris] sent us his awesome video-mapped tree lighting hack. His project made clever use of a bunch of cool tools, so even if you’re not thinking forward to next December, it’s worth a look. Still images don’t do it justice; check out the video below the break.
The end result is an addressable string of WS2812B LEDs connected up to a Raspberry Pi Zero that can display a video image even though it’s wrapped around a roughly cone-shaped (pine) object. But this is actually more impressive than you’d think at first; how would you map a flat image to a string of LEDs wrapped around a tree?
[Chris]’s solution was to write a routine that lit up the LEDs in a unique pattern and then detected them using OpenCV and a webcam, making the mapping directly. He then samples images from a video at exactly the points where the pixels are located on the tree, and sends this data out to the LEDs.
The basic framework here should transform fairly easily into a generic image-mapping procedure with randomly located LEDs, so we think it’s a hack that’ll outlast the season. And because it runs on the Pi Zero, everything is in Python so it’d be a good project for beginners to replicate. However, the code section on the project page still lists it as coming soon. We hope so!
Continue reading “Must-Have Overkill Christmas Tree Lights”
[Jordan Wills] was tasked by his company, Silicon Labs, to build some Christmas Baubles to give away to co-workers. While the commissioned units were designed to be simple battery and LED affairs, he decided to make one of his own with bells and whistles. His Mario themed Christmas Ornament uses a Silicon Labs FM972 micro controller, capacitive sensing, PWM controlled 8 bit audio, and blinky lights.
The interesting part is some of the construction techniques that he used. The finger-joint style cube is built from circuit boards. Electrical connections between panels were routed using solder wicking copper braid. That’s a interesting trick which we’ll keep in mind along with some of our favorite creative structural uses of PCB.
The top of the cube has four LED’s which light up the Mario “Question Mark” symbols on the four sides of the cube while the base contains all of the electronics. The outside of the base piece was a large copper plane to act as the capacitive sensing element. This meant all electronics needed to be surface mounted with tracks laid out on one side – which posed some layout challenges. Adding the Capacitive sense function was a cinch thanks to support from the in-house design team. PWM output from the micro controller takes care of audio, and the output is routed through a buffer to boost the signal. A bandpass filter then cleans up the PWM output before feeding it to the speaker.
Continue reading “Christmas Bauble is neither spherical nor runs Arduino”
When [hkdcsf] was a teenager, he made a Christmas star with an up counter driving decoder logic and using transistors to light LEDs in festive patterns. He’s revisited this project using modern techniques including a microcontroller, a DC/DC converter, and constant current LED drivers.
The project uses two AA batteries, and that’s what makes the DC/DC converter necessary. Blue LEDs have a forward voltage of just over 3V, and the LED driver chip requires about 0.6V of overhead. Two fresh AAs will run a tad above 3V, but as they discharge, or if he’s using rechargeables, there just won’t be enough potential. To make sure the star works even with whatever LEDs are chosen, the converter takes the nominal 3V from the batteries and converts it to 3.71V.
Continue reading “Christmas Star uses Two AA Batteries”
Traditionally, getting into the hobby of flying model aircraft required spending some serious coin, not to mention hours and hours of building and learning. All of that leading up to a white-knuckled, hair raising maiden flight. If you were extremely lucky, you’d head home with only a slightly damaged plane – but many of us did a nice death spiral straight into the ground – all just so we could go home, and then start all over. Perhaps one of the reasons we’re seeing so many (negative) drone related news stories recently is that the price of admission to join the club of flying machines has never been so low. That, and there always seems to be one kid in the class that wants to ruin it for the rest of us.
This year the FAA expects about a million people to wake up Christmas morning with a drone under the tree. And that’s a lot of chances for people to mess up. So if you’re planning on taking a drone up this year, you might want to watch the video after the break; Or just forward it to those that you think need to see it. If you’re into any sort of flying models you should already have [FliteTest] in your YouTube subscriptions – they have some really informative video, especially for the beginner wanting to get into the hobby.
This video guide is meant to be just a short introduction of what not to do. Obviously it doesn’t cover everything. And we wouldn’t be looking out for our readers if we didn’t say that your local laws may vary – so do your homework, stay safe, and don’t be a drone noob.
Continue reading “Don’t be a Drone Noob this Christmas”