Radio control cars have always been fun, it’s true. With that said, it’s hard to deny that true speed was unlocked when lithium polymer batteries and brushless motors came to the fore. [Gear Down For What?] built himself a speedy RC car of his own design, and it’s only got two wheels to boot (Youtube link, embedded below).
The design is of the self-balancing type – if you’re thinking of an angry unmanned Segway with a point to prove, you’re in the ballpark. The brains of the machine come thanks to a Teensy 3.6, which runs the PID loops for balancing and control. An MPU6050 gyroscope & accelerometer provide the necessary sensing to enable the ‘bot to keep itself upright in varied conditions. Performance is impressive, with the car reaching speeds in excess of 40 MPH and managing to handle simple ramps and bumps with ease. It’s all wrapped up in a 3D printed frame which held up surprisingly well to many crashes into tripods and tarmac.
Such builds are not just fun; they’re an excellent way to learn useful control skills that can serve you well in industry and your own projects. You can pick up the finer details of control systems in a university engineering course, or you could give our primer a whirl. When you’ve whipped up your first awesome project, we’d love to hear about it. Video after the break.
Continue reading “This Two-Wheeled RC Car Is Rather Quick”
Like many other classics it’s easy to come up with ways to ruin Tetris, but hard to think of anything that will make it better. Adding more clickiness is definitely one way to improve the game, and playing Tetris on a flip-dot display certainly manages to achieve that.
The surplus flip-dot display [sinowin] used for this version of Tetris is a bit of an odd bird that needed some reverse engineering to be put to work. The display is a 7 x 30 matrix with small dots, plus a tiny green LED for each dot. Those LEDs turned out to be quite useful for replicating the flashing effect used in the original game when a row of blocks was completed, and the sound of the dots being flipped provides audio feedback. The game runs on a Teensy through a custom driver board and uses a Playstation joystick for control. The video below, in perfectly acceptable vertical format, shows the game in action and really makes us want to build our own, perhaps with a larger and even clickier flip-dot display.
The best thing about Tetris is its simplicity: simple graphics, simple controls, and simple gameplay. It’s so simple it can be played anywhere, from a smartwatch to a business card and even on a transistor tester.
Continue reading “The Clickiest Game Of Tetris You’ll Ever Play, On A Flip-Dot”
The first Arduino was serial, and over the decade and a half, this has been the default way to upload code to an Arduino board. In 2008, support for in-circuit programmers was added, and later port detection was added. The latest version of the Arduino IDE adds something new: pluggable discovery. Now any protocol is supported by the Arduino IDE.
This feature is the brainchild of [Paul Stoffregen], creator of the Teensy. If you’ve ever used a Teensy, you’ll remember the Teensyduino application used to upload code to the board. The Teensy uses HID protocol instead of serial for uploading. After working to improve the integration between the Teensy and Arduino IDE, [Paul] stated extending the DiscoveryManager. After some discussion with the Arduino developers, this feature was then added to Arduino 1.8.9, released a month or so ago.
There are some issues with Pluggable Discovery, most importantly that it doesn’t yet exist in the Arduino Command Line Interface (yeah, that exists too). If you’re looking to contribute to Open Source, that would be a nice project to pick up.
With the right JSON, and configuration, it is now theoretically possible to extend the Arduino IDE to any sort of protocol. This means (again, theoretically), it’s possible to update the firmware in your DIY MIDI synth over SysEx message, or a parallel port, maybe. Someone is going to upload to an Arduino board over PCIe, eventually.
[Michael Sobolak] has a penchant for pianos, concern for capacitive touch, and special sentiment for solid state. This alliterate recipe results in a DIY PCB piano that leaves out the levers and is barren of buttons unless you count the stock RESET button on the Teensy. A real stickler might point out that speakers have moving cones. Beyond these tangential parts, which have motionless options, it is an electronic instrument with no moving parts.
The heart of the project is a Teensy 3.2 which natively supports twelve capacitive touch sensors. The infamous demo board is mounted to a homemade PCB featuring twelve keys but is actually an incomplete octave plus another key one octave above the first. If you look sharp, you already noticed the missing and extra touchpads. PCB traces were made in Illustrator because if you have a familiar tool, you use what you know and you cannot argue that it works. The design was transferred to a copper board using the old magazine page trick that we love and reliable old ferric acid.
We couldn’t help but notice that the posts of the Teensy were soldered to the top of the board, rather than drilling through, IMT-style. Again, the results speak, even if there is room for improvement. Reportedly, there is a second version on the way which includes every expected key.
Continue reading “DIY Piano: Look, Ma, No Moving Parts”
Consider the complexity of the appendages sitting at the end of your arms. The human hands contain over a quarter of the entire complement of bones in the body, use dozens of muscles both in the hand itself and extending up the forearm, and are capable of
almost infinite variance in the movements they can create. They are exquisite machines.
And yet when it comes to virtual reality, most simulations treat the hands like inert blobs. That may be partly due to their complexity; doing motion capture from so many joints can be computationally challenging. But this pressure-sensitive hand motion capture rig aims to change that. The product of an undergraduate project by [Leslie], [Hunter], and [Matthew], the idea was to provide an economical and effective way to capture gestures for virtual reality simulators, which generally focus on capturing large motions from the whole body.
The sensor consists of a sandwich of polyurethane foam with strain gauge sensors embedded within. The user slips his or her hand into the foam and rests the fingers on the sensors. A Teensy and twenty lines of code translate finger motions within the sandwich into five axes of joystick movement, which is then sent to Unreal Engine, where finger motions were translated to a 3D-model of a hand to play a VR game of “Rock, Paper, Scissors.”
[Leslie] and her colleagues have a way to go on this; testers complained that the flat hand posture was unnatural, and that the foam heated things up quickly. Maybe something more along the lines of these gesture-capturing gloves would work?
They may be out of style now, and something of a choking hazard for toddlers, but there’s no denying that spring doorstops make a great sound when they’re “plucked” by a foot as you walk by. Sure, maybe not on a 2:00 AM bathroom break when the rest of the house is sleeping, but certainly when used as sensors in this interactive light show.
The idea behind [Robin Baumgarten]’s “Quantum Garden” is clear from the first video below: engaging people through touch, sound, and light. Each of the 228 springs, surrounded by a Neopixel ring, is connected to one of the 12 inputs on an MPR121 capacitive touch sensor. The touch sensors and an accelerometer in the base detect which spring is sproinging and send that information to a pair of Teensies. A PC then runs the simulations that determine how the lights will react. The display is actually capable of some pretty complex responses, including full-on games. But the most interesting modes demonstrate principles of quantum computing, specifically stimulated Raman adiabatic passage (STIRAP), which describes transfers between quantum states. While the kids in the first video were a great stress test, the second video shows the display under less stimulation and gives a better idea of how it works.
We like this because it uses a simple mechanism of springs to demonstrate difficult quantum concepts in an engaging way. If you need more background on quantum computing, [Al Williams] has been covering the field for a while. Need the basics? Check out [Will Sweatman]’s primer.
Continue reading “Door Springs And Neopixels Demonstrate Quantum Computing Principles”
If you’re the kind of person who’s serious about using open source software and hardware, relying on a medical device like a pacemaker or an insulin pump can be a particular insult. You wouldn’t trust the technology with your email, and yet you’re forced to put your life into the hands of a device you can’t examine yourself. Unfortunately we don’t (yet) have any news to report on open source pacemakers, but at least now there’s an open software and hardware hearing aid for those who need it.
The Tympan project aims to develop a fully open source hearing aid that you can not only build yourself, but expand and modify to fit your exact specifications. Ever wanted to write code for your hearing aid with the Arduino IDE? No problem. You want Bluetooth, I2C, and SPI? You got it. In truth we’re not sure what this kind of technology makes possible just yet, but the point is that now those who want to hack their hearing aids have a choice in the matter. We have no doubt the community will come up with incredible applications that we can’t even begin to imagine.
But these open hearing aids aren’t just hackable, they’re affordable. Traditional hearing aids can cost thousands of dollars, but you can buy the Tympan right now for $250. You don’t even need to check with your health insurance first. Such a huge reduction in price means there’s a market for these outside the hardware hacking crowd, and yet another example of how open source can put cutting edge technology into the hands of those who would otherwise have to go without.
The latest version of the Tympan hardware, revision D, is powered by the Teensy 3.6 and features a Sierra Wireless BC127 Bluetooth radio, dual MEMS microphones, and even a microSD slot for recording audio or logging data. It might be a bit bigger than the traditional hearing aids you’re used to seeing, but with an external microphone and headphone setup, the wearer could simply keep it in their pocket.
We’ve seen DIY hearing aids before, but unless you’re willing to carry a breadboard around with you, they’ve generally been limited to proof of concept sort of builds. We’re glad to see a mature project like Tympan join the growing movement for open source medical hardware; it’s a another big step forward towards democratizing these critical pieces of technology.