CircuitPython Now Working On Teensy 4.0

Python is often touted as a great language for beginner coders to learn. Until recently, however, it simply wasn’t a viable choice in the embedded space. That’s begun to change with projects like CircuitPython, and now it’s available on the Teensy 4.0!

This milestone is thanks in part to [arturo182], who did the ground work of getting CircuitPython to run on the iMX RT series of microcontrollers. This was built upon by [tannewt], who is the lead in charge of the CircuitPython project.

There are some bugs to work out; currently, the project is in a very early stage of development. [Paul Stoffregen], who heads Teensy development, has already pointed out that there needs to be allowance for the 4096 byte recovery partition in the Teensy 4.0’s storage, for example. Development continues at a rapid pace, and those with ideas about where the project should go can weigh in online.

It’s an exciting development, which brings easy Python development to one of the more powerful embedded development platforms on the market. We look forward to seeing many more projects take advantage of the power of the Teensy 4.0 moving forward. If you’re eager to see what can be done with CircuitPython, be sure to check out projects we’ve featured before. Video after the break.

Continue reading “CircuitPython Now Working On Teensy 4.0”

Node-RED Laser Shooting Gallery Goes Anywhere

When you think of a shooting gallery, you might envision a line of tin cans set up along a split-rail fence, or a few rows of ducks or bottles lined up at a carnival. But what do these have in common? You, standing in one spot, and shooting in the same general direction. You’re exposed! If those targets could shoot back, you’d be dead within seconds. Wouldn’t it be more fun if the targets were all around you in 360°? We think so, too.

So how could you possibly set up a shooting gallery this way? [Another Maker] already solved that problem for you with ESP32s and Node-RED (YouTube). Each target has an ESP32, a laser sensor, and an LED that lights up when the target is ready, and turns off once it’s been hit. They all make an enticing ‘shoot me’ sound that goes with their graphics, and a second mp3 plays upon direct hit.

The PVC gun houses an ESP8266, a laser module at the end of the barrel, and runs on a cylindrical USB battery slipped down in the secondary grip. [Another Maker] can spread the targets out far and wide, as long as they all stay in range of the localized WiFi access point.

The best part is that the Node-RED system is target-agnostic — it doesn’t care how many you have or how they’re made, and it can juggle up to 250 of them. Because of the way the target objects are programmed, it would be quite easy to add actuators that make them drop down or fall backward when hit. You could also implement [Another Maker]’s fantastic suggestion of hitting arcade buttons with NERF darts instead. Charge those lasers and fire at the break button to see the demo and walk-through video.

If you plan to knock the targets down or over in your implementation, you’ll want an easy way to reset them. Here’s a scrap-built shooting gallery that uses a windshield wiper motor to set ’em back up.

In Soviet Russia, Doorbell Rings You

We can imagine that the origin of the doorbell is truly ancient. if you lived in a cave, you probably had a stick and a rock nearby for people to get your attention without invading your cave. In 1817 a Scot named William Murdoch had a bell in the house that visitors rang via a compressed air system, but the electric doorbell had to wait until 1831. Since then, little has changed with the basic idea. [Erientes] — who lives in the Netherlands, not Russia — wanted a smarter doorbell. In particular, he’s read about older people being victimized by people who ring the doorbell for entry. So [Erientes] used a Raspberry Pi to make a doorbell that supports facial recognition.

The exercise is really more of an operations challenge than a technical one thanks to a high-quality Python library for face recognition powered by DLib. However, we did like the user interface aimed at non-technical users. The metaphor is a traffic light in which a red light means do not allow entry. The lights are buttons, so you can use them to whitelist or blacklist a particular person.

Continue reading “In Soviet Russia, Doorbell Rings You”

Run Java On An Amiga

In the modern world, we take certain tools for granted. High-level programming languages such as C or Python haven’t been around that long in the grand scheme of things, and Java has only existed since the ’90s. Getting these tools working on machines that predate them is more of a challenge than anything, and [Michael Kohn] was more than willing to tackle this one. He recently got Java running on a Commodore Amiga.

The Amgia predates Java itself by almost a decade, so this process wasn’t exactly straightforward. The platform has a number of coprocessors that were novel for their time but aren’t as commonplace now, taking care of such tasks such as graphics, sound, and memory handling. Any psoftware running on the Amiga needs to be in a specially formatted program as well, so that needed to be taken care of, even loading Java on the computer in the first place took some special work using a null modem cable rather than the floppy disk an Amiga would have used back in the day.

Loading Java on an antique Amiga is certainly a badge of honor, but [Michael] isn’t a stranger to Java and the Motorola 68000s found in Amigas. There’s a 68000 in the Sega Genesis as well, and we’ve seen how [Michael] was able to run Java on that too.

Continue reading “Run Java On An Amiga”

Active Suspension R/C Car Really Rocks

When you’re a kid, remote control cars are totally awesome. Even if you can’t go anywhere by yourself, it’s much easier to imagine a nice getaway from the daily grind of elementary school if you have some wheels. And yeah, R/C cars are still awesome once you’re an adult, but actual car-driving experience will probably make you yearn for more realism.

What could be more realistic and fun than an active suspension? Plenty of adults will never get the chance to hit the switches in real car, but after a year of hard work, [snoopybg] is ready to go front and back, side to side, and even drift in this super scale ’63 Oldsmobile Dynamic 88 wagon. We think you’ll agree that [snoopybg] didn’t miss a detail — this thing makes engine noises, and there are LEDs in the dual exhaust pipes to simulate flames.

An Arduino reads data from a triple-axis accelerometer in real time, and adjusts a servo on each wheel accordingly, also in real time, to mimic a real car throwing its weight around on a real suspension system. If that weren’t cool enough, most of the car is printed, including the tires. [snoopybg] started with a drift car chassis, but even that has been hacked and drilled out as needed.

There are a ton of nice pictures on [snoopybg]’s site if you want to see what’s under the hood. We don’t see the code anywhere, but [snoopybg] seems quite open to publishing more details if there is interest out there. Strap yourself in and hold on tight, because we’re gonna take this baby for a spin after the break.

If this is all seems a bit much for you, but you’ve got that R/C itch again, there’s a lot to be said for upgrading the electronics in a stock R/C car.

Continue reading “Active Suspension R/C Car Really Rocks”

Finally, A Real Set Of Gamecube Joycons

The Gamecube may not have sold as many units as its competitors in its day, but it maintains a cult fanbase to this day. Due largely to the Smash Bros. community, its controllers are still highly sought after. After the release of the Nintendo Switch, with plenty of fan renders around the place [Shank Mods] figured someone would create a set of Joycons with Gamecube controls. After waiting almost four years, he decided instead to do it himself.

The build begins with a Wavebird controller shell, chosen for its larger body, which is coincidentally the same height as the Switch. The shell was cut down the middle, and 3D printed components were created to attach Joycon mounting rails to the two halves of the controller. The large controller also has plenty of space inside, making it easy to fit all the Joycon components inside. Compatibility was a key aim of this build, so much attention was paid to make the Gamecube Joycons function properly with all Switch features. Extra buttons were added where necessary, and the formerly analog triggers were modified with plugs to match the solely digital operation of the Switch components.

It’s a project that had to overcome many hurdles, from mechanical redesigns to make everything fit, to figuring out the arcane electrical design of the Joycon hardware. The hard work paid off however, and [Shank Mods], along with a couple of talented community members, was able to create a beautiful piece of hardware. We’ve seen Gamecube-themed Joycons before, but this build really does take the cake. If you’ve instead modified the original Xbox controller to work with the Switch, be sure to let us know. Video after the break.

Continue reading “Finally, A Real Set Of Gamecube Joycons”

The Way Of The PCB Artist: How To Make Truly Beautiful Circuit Boards

Getting your own PCBs made is a rite of passage for the hardware hacker. Oftentimes, it’s a proud moment, and many of us choose to immortalise the achievement with a self-aggrandizing credit on the silk screen, or perhaps a joke or personal logo. However, as far as artistically customized PCBs go, the sky really is the limit, and this is the specialty of [TwinkleTwinkie], whose Supercon talk covers some of the pitfalls you can run into when working at the edges of conventional PCB processes. 

[TwinkleTwinkie]’s creations are usually badges of one type or other — they’re meant to be worn on a lanyard around your neck, as a pin, or as a decoration added to another badge. The whole point is the aesthetic, and style is just as important as functionality. With diverse inspirations like Futurama, Alice in Wonderland and the shenanigans of the GIF community, his badges blend brightly colored boards with a big helping of LEDs and artistic silkscreening to create electronic works of art.

Keeping PCB Fab Houses from Upsetting the Artwork

These days, PCB fab houses offer more choice than ever, in terms of silkscreens, soldermask colors, and other options.  However, fundamentally, their primary concern is to produce reliable, accurate, electronically functional boards — and it’s something that can cause problems for #badgelife hackers designing for more aesthetic reasons.
Continue reading “The Way Of The PCB Artist: How To Make Truly Beautiful Circuit Boards”