PsyLink An Open Source Neural Interface For Non-Invasive EMG

We don’t see many EMG (electromyography) projects, despite how cool the applications can be. This may be because of technical difficulties with seeing the tiny muscular electrical signals amongst the noise, it could be the difficulty of interpreting any signal you do find. Regardless, [hut] has been striving forwards with a stream of prototypes, culminating in the aptly named ‘Prototype 8’

The current prototype uses a main power board hosting an Arduino Nano 33 BLE Sense, as well as a boost converter to pump up the AAA battery to provide 5 volts for the Arduino and a selection of connected EMG amplifier units. The EMG sensor is based around the INA128 instrumentation amplifier, in a pretty straightforward configuration. The EMG samples along with data from the IMU on the Nano 33 BLE Sense, are passed along to a connected PC via Bluetooth, running the PsyLink software stack. This is based on Python, using the BLE-GATT library for BT comms, PynPut handing the PC input devices (to emit keyboard and mouse events) and tensorflow for the machine learning side of things. The idea is to use machine learning from the EMG data to associate with a specific user interface event (such as a keypress) and with a little training, be able to play games on the PC with just hand/arm gestures. IMU data are used to augment this, but in this demo, that’s not totally clear.

An earlier prototype of the PsyLink.

All hardware and software can be found on the project codeberg page, which did make us double-take as to why GnuRadio was being used, but thinking about it, it’s really good for signal processing and visualization. What a good idea!

Obviously there are many other use cases for such a EMG controlled input device, but who doesn’t want to play Mario Kart, you know, for science?

Checkout the demo video (embedded below) and you can see for yourself, just be aware that this is streaming from peertube, so the video might be a little choppy depending on your local peers. Finally, if Mastodon is your cup of tea, here’s the link for that. Earlier projects have attempted to dip into EMG before, like this Bioamp board from Upside Down Labs. Also we dug out an earlier tutorial on the subject by our own [Bil Herd.]

Continue reading “PsyLink An Open Source Neural Interface For Non-Invasive EMG”

CEEFAX Lives! (Courtesy Of A Raspberry Pi)

As analogue TV slides from memory, there’s a facet of it that’s fondly remembered by a band of enthusiasts. Teletext was an electronic viewdata information service digitally encoded in the frame blanking period, and a TV set with a decoder chip would provide access to many pages of news and other services all displayed in the characteristic brightly colored block graphics. It went the way of the dinosaur with the demise of analog TV, but for [Nathan Dane] the flame is kept alive with his own private version of the BBC’s CEEFAX service.

He has a particular enthusiasm for analog TV, and as such has his own in-house channel served by a UHF modulator. He shares with us the story of how he arrived at a teletext service, before writing code to scrape the BBC news and weather websites and populate his modern-day CEEFAX. Behind it all is a Raspberry Pi, with a vbit-pi board injecting the teletext signal onto the video, and raspi-teletext creating the pages from source material derived from a set of custom scraper scripts.

We like this project a lot, because while it’s not the first Pi teletext system we’ve encountered, the use of a scraped live feed makes it one of the most creative.

Thanks [kwikius] for the tip!

Tileable LED matrix

Tiny LED Matrix Panels Tile Together Perfectly

There’s a lot to admire about LED matrix projects, which more often than not end up looking really cool. But most of them rely on RGB matrix panels sourced from the surplus market, and while there’s nothing wrong with that, building your own tiny, tileable LED matrix panels makes these builds just a little bit cooler.

There’s a lot to admire about these matrix panels, not least of which is the seamless way they tile together. But to get to that point, [sjm4306] had a lot of prep work to do. He started with a much simpler 5×7 array, using the popular WS2812 RGB LEDs on a custom PCB. With a little practice under his belt, it was time to move to the much smaller SK6805 LEDs, which were laid out in an 8×8 matrix. The board layout is about as compact as it can be; [sjm4306] reports that it pushed the PCB fab to their limits, but he ended up with LEDs spaced perfectly on the board and just enough margin to keep consistent spacing in two dimensions when the boards are adjacent to each other.

Assembly of the boards was challenging, to say the least. The video below shows that the design left barely enough room for handling the LEDs with tweezers, and some fancy finagling was needed to get the boards on and off the hotplate for reflow. [sjm4306] says that he’ll be exploring JLC PCB’s assembly service in the future, since each board took an hour for him to assemble. But they look fantastic when daisy-chained together, with no detectable gaps at the joints.

With matrices like these, the possibilities are endless. We’ve even got a whole list of LED matrix projects over on Hackaday.io for you to check out.

Continue reading “Tiny LED Matrix Panels Tile Together Perfectly”

How Do Capacitors Work?

If you are like [The Science Asylum], you might wonder how a capacitor can work since, at their core, they are nothing more than a gap filled with air or another insulator. He explains how in a recent video you can see below.

Of course, at DC, a capacitor doesn’t conduct any better than the insulator used as its dielectric. However, a DC voltage has to start sometime and when it does, it briefly looks like AC. The video explains it all in simple terms. Of course, if you are math savvy, you can probably get as much out of the normal C=dQ/dV equation.

If that doesn’t speak to you, the explanation in the video about charges will shed some light. He even shows an animation of the classic “hydraulic model”, which is helpful to develop intuition about the process.

Continue reading “How Do Capacitors Work?”

Lego Orrery

LEGOpunk Orrery Knows Just The Right Technics

Is the unmistakable sound of the shuffling of LEGO pieces being dug through burned into your psyche? Did the catalog of ever more complex Technic pieces send your imagination soaring into the stratosphere and beyond? Judging by the artful contraption in the video below the break, we are fairly certain that [Marian] can relate to these things.

No doubt inspired by classic orreries driven by clockwork, [Marian]’s LEGO Sun-Earth-Moon orrery is instead driven by either hand cranks or by electric motors. The orrery aims to be astronomically correct. To that end, a full revolution of a hand crank produces a full day’s worth of movement.

Solar and lunar eclipses can be demonstrated, along with numerous other principals such as the tilt of the earth, moon phases, tidal locking, and more, which can be found at the project page.

While classical orreries predate the Victorian era, there seems to be an almost inexplicable link between orreries and the Steampunk aesthetic. But [Marian]’s orrery brought the term “LEGOpunk” to mind. Could it be? Given that there are 2305 pieces and 264 pages of instructions with 436 steps, we think so!

We’ve covered just a few orreries in the past, from this somewhat simple laser cut orrery to this horrifically complex and beautiful thing hereContinue reading “LEGOpunk Orrery Knows Just The Right Technics”

N-scale model railroad hidden in wall art

Hidden Model Railroading Taken To The Nth Scale

Most of us would be pretty happy with ourselves if we made one of those neat “epoxy river” types of art for our home. Not so with prolific maker [Peter Waldraff]. [Peter] is a skilled craftsman with a penchant for hiding model railroads in everyday furniture and fixtures. To this end, he’s created what he calls the Hidden Epoxy Railroad, which you can see in the video below the break.

The project starts with basic woodworking to build the frame, hinges, and the hinged epoxy river with its colored epoxy pour. Instead of stopping there, [Pete] continued by building a full N scale model railroad into the piece. The frame doubles as a backdrop complete with a beautifully painted scene with what we’re guessing is an N scale hot air balloon, too.

Of course, the skeptics among us might doubt whether the model railroad is fully hidden when closed. But one detail that Pete shared with us is that his wife never knew about the train portion of the build until their daughter pointed it out. She thought it was merely a piece of art for the dining room. Truly a great hack!

The entire build is documented on [Pete]’s YouTube channel, with its own 15 part build series. It’s definitely worth checking out. We’ve covered one of [Pete]’s hidden railroad builds before, so make sure you check that out, too!

Continue reading “Hidden Model Railroading Taken To The Nth Scale”

Jet burner and close-up

$7 Tent Heater Provides Comfort On A Budget

At Hackaday’s Minnesota office, we appreciate central heat and hot coffee because the outdoor temperature is sub-zero in Celsius and Fahrenheit. Not everyone here has such amenities, and families living in tents could use heater help. If you live somewhere inhospitably cold and have the resources (time being the most crucial), please consider building and donating alcohol jet burners.

Alcohol burners like these are great for tents because if they tip over, they self-extinguish. You can fill them with 70% rubbing alcohol and they’ll heat a small space, and if running on denatured alcohol, they can be used to cook with. They won’t do you much good outdoors unless you have significant wind protection, as the tiny jet is likely to blow out. The first time you light one, you must heat the coil with a lighter or another heater to vaporize incoming fuel, then it can sustain itself by wicking fluid up from the reservoir jar. Relighting after a tip or accidental gust only takes a spark since the copper is already hot.

If you came for a hack, note how they fill the small tubes with salt funneled through a condiment cap before bending them. Sure, there are springy pipe bending tools, but who doesn’t already have salt and tape? Keeping humans warm is crucial, but heating metal takes a different approach.

Thank you for the tip, [cyberlass]