ESP8266 Internet Controlled LED Dimmer

There’s no shortage of debate about the “Internet of Things”, largely centered on security and questions about how much anyone really needs to be able to turn on their porch light from the other side of the planet. But while many of us are still wrestling with the realistic application of IoT gadgets, there’s undoubtedly those among us who have found ways to put this technology to work for them.

One such IoT devotee is [Sasa Karanovic], who writes in to tell us about his very impressive custom IoT LED dimmer based on the ESP8266. Rather than rely on a commercial lighting controller, he’s designed his own hardware and software to meet his specific needs. With the LED strips now controllable by any device on his network, he’s started working on Python scripts which can detect what he’s doing on his computer and react accordingly. For example, if he’s watching a movie the lights will automatically dim, and come back up when he’s done.

[Sasa] has provided all the files necessary to follow in his footsteps, from the Gerber files for his PCB to the Arduino code he’s running on the ESP. The source code is especially worth checking out, as he’s worked in a lot of niceties that we don’t always see with DIY projects. From making sure the ESP8266 gets a resolvable DNS hostname on the network to using websockets which update all connected clients with status info in real-time, he’s really put a lot of work into making the experience as complete as possible.

He’s explains in his blog post what needs to be edited to put this code to work in your own environment, and there’s even some descriptive comments in the code and a helpful debug mode so you can see how everything works. It’s always a good idea to consider that somebody else down the road might be using your code; taking a few minutes to make things clear can save them hours of stumbling around in the dark.

If you need more inspiration for your ESP8266 lighting project, check out this ambient lighting controller for a kid’s room, or this professional under-cabinet lighting controller.

Couch Potato Refined: Self-Rotating TV Uses Plywood Gears

When we first saw [Mikeasaurus’] project to rotate his TV 90 degrees in case he wanted to lay down and channel surf we were ready to be unimpressed. But it grew on us as we read about how he fabricated his own gearing system to make a car seat motor rotate the TV.

The gearing system is made from plywood and the design was from geargenerator.com, a freebie design tool we’ve covered before. You’d think you’d need a laser cutter, but in this case, the gear forms were printed out, glued on the plywood and then cut out manually. Each gear is made of several laminated together.

Continue reading “Couch Potato Refined: Self-Rotating TV Uses Plywood Gears”

Shining A Light On Hearing Loss

When auditory cells are modified to receive light, do you see sound, or hear light? To some trained gerbils at University Medical Center Göttingen, Germany under the care of [Tobias Moser], the question is moot. The gerbils were instructed to move to a different part of their cage when administrators played a sound, and when cochlear lights were activated on their modified cells, the gerbils obeyed their conditioning and went where they were supposed to go.

In the linked article, there is software which allows you to simulate what it is like to hear through a cochlear implant, or you can check out the video below the break which is not related to the article. Either way, improvements to the technology are welcome, and according to [Tobias]: “Optical stimulation may be the breakthrough to increase frequency resolution, and continue improving the cochlear implant”. The first cochlear implant was installed in 1964 so it has long history and a solid future.

This is not the only method for improving cochlear implants, and some don’t require any modified cells, but [Tobias] explained his reasoning. “I essentially took the harder route with optogenetics because it has a mechanism I understand,” and if that does not sound like so many hackers who reach for the tools they are familiar with, we don’t know what does. Revel in your Arduinos, 555 timers, transistors, or optogenetically modified cells, and know that your choice of tool is as powerful as the wielder.

Optogenetics could become a hot ticket at bio maker spaces. We have talked about optogenetics in lab rodents before, but it also finds purchase in zebrafish and roundworm.

Continue reading “Shining A Light On Hearing Loss”

Dual-Port Memory And Raspberry Pi Team Up For Retro Console Multicart

There’s something powerful about reliving the experience of using a game console from our personal good old days, especially the tactile memories stored up from hundreds of hours handling a chintzy joystick or the sound and feel of inserting a game cartridge. Emulators have their place, but they fall far short of period-correct hardware in the nostalgia department.

That’s not to say that the retro gear can’t use a little help in terms of usability, which is why [Scott M. Baker] built this Raspberry Pi multi-cartridge for his Atari 5200. The idea is to maintain the experience of the cartridge interface without having to keep stacks of cartridges around for all the games he wants to play. [Scott] leveraged the approach he used when he built a virtual floppy drive for a homebrew PC/XT: dual-port memory. The IDT7007 is a 32k chip that lives between the Atari 5200 and a Raspberry Pi Zero and can be addressed by both systems; the Pi to write ROM images to the memory, and the console to read them. He had to deal with some fussy details like chip select logic and dealing with the cartridge interlock signals, not to mention the difference in voltage between the memory chip’s logic levels and that of the Pi. Retro game-play occupies the first part of the video below; skip to 6:45 for build details.

The one quibble we have is trying to jam everything into an old cartridge. It’s critical to replicating the tactile experience, and while we don’t think we’d have gone so far as to injection mold a custom cartridge to house everything without any protrusions, we might have 3D-printed a custom cartridge instead. In the end it doesn’t detract much from the finished project, though, and we appreciate the mix of old and new tech.

Continue reading “Dual-Port Memory And Raspberry Pi Team Up For Retro Console Multicart”

An MRI-Safe 3D Printed Pneumatic Stepper Motor

You will no doubt have seen those videos where MRI machines suck up all sorts of metallic objects with hilariously disastrous results. The magnetic field in one of these machines can easily pull in metal objects from across the room, exerting a force of several hundred pounds on any ferrous object unlucky enough to wander too close. As you can probably imagine, designing mechanical devices that can operate in such an intense magnetic field is exceptionally difficult.

But this fully 3D printed pneumatic stepper motor designed by [Foad Sojoodi Farimani] might one day change that. The PneuAct, which he presented at the recent International Conference on Robotics and Automation (ICRA) in Brisbane, Australia, manages to run at up to 850 RPM with full position control using bursts of air rather than electronic pulses. Made entirely of plastic and without any electronic components, the PneuAct can not only operate in intense magnetic fields but also areas with flammable gases where sparks could potentially cause an explosion.

We often say that a design is “fully” 3D printable, even though it might require screws or other bits of hardware. But in the case of the PneuAct, it’s truly all printed. It has to be, or else the whole thing would be ripped apart when it got to close to the MRI machine. Each and every piece of the motor is printed in ABS, and can be used without any additional machining or cleanup. No lubrication is required, and [Foad] mentions that the whole thing is so cheap that it can be disposable. Which is a huge advantage in medical environments where contamination could be a concern.

Design-wise the PneuAct is essentially an expanded version of the 3D printed air motors we’ve seen previously, but it would be fair to say that none has ever been studied so closely before.

Continue reading “An MRI-Safe 3D Printed Pneumatic Stepper Motor”

Bringing Augmented Reality To The Workbench

[Ted Yapo] has big ideas for using Augmented Reality as a tool to enhance an electronics workbench. His concept uses a camera and projector system working together to detect objects on a workbench, and project information onto and around them. [Ted] envisions virtual displays from DMMs, oscilloscopes, logic analyzers, and other instruments projected onto a convenient place on the actual work area, removing the need to glance back and forth between tools and the instrument display. That’s only the beginning, however. A good camera and projector system could read barcodes on component bags to track inventory, guide manual PCB assembly by projecting which components go where, display reference data, and more.

An open-sourced, accessible machine vision system working in tandem with a projector would open a lot of doors. Fortunately [Ted] has prior experience in this area, having previously written the computer vision code for room-scale dynamic projection environments. That’s solid experience that he can apply to designing a workbench-scale system as his entry for The Hackaday Prize.

Hackaday Belgrade: Luka Mustafa On Exploiting IoT Niches

Ecology is a strange discipline. At its most basic, it’s the study of how living things interact with their environment. It doesn’t so much seek to explain how life works, but rather how lives work together. A guiding principle of ecology is that life finds a way to exploit niches, subregions within the larger world with a particular mix of resources and challenges. It’s actually all quite fascinating.

But what does ecology have to do with Luka Mustafa’s talk at the 2018 Hackaday Belgrade Conference? Everything, as it turns out, and not just because Luka and his colleagues put IoT tools on animals and in their environments to measure and monitor them. It’s also that Luka has found a fascinating niche of his own to exploit, one on the edge of technology and ecology. As CEO of Institute IRNAS, a non-profit technology development group in Slovenia, Luka has leveraged his MEng degree, background in ham radio, and interest in LoRaWAN and other wide-area radio networks to explore ecological niches in ways that would have been unthinkable even 10 years ago, let alone in the days when animal tracking was limited by bulky radio collars.

Continue reading “Hackaday Belgrade: Luka Mustafa On Exploiting IoT Niches”