Turning A Fitness Tracker Into An EEG

Several years ago, a company called Neurosky came out with an interesting chipset meant to be put in an EEG headset. This chipset would track your brainwaves, do some fancy math, and output a few numbers based on the Delta, Gamma, Alpha, and Beta waves in your brain. Of course, the senseable thing to do with this technology would be to put it in a Star Wars-branded toy where you pretend to be a Jedi. All was good with the world, and a few people hacked these Jedi Mind Trainers for some interesting builds.

But the Neurosky chip was still a black box. No one knew how it worked. The ‘concentration’ number had no relation to anything, except how hard you were apparently concentrating. In an effort to break this black box and build upon years worth of EEG hacks, [Curt White] is hacking a fitness tracker for EEG analysis for his entry into the Hackaday Prize.

The hardware in question for this build is a B20 Fitness Tracker, an ungodly cheap piece of hardware that contains an ADS1292 bioimpedance sensor that can be used for ECG, EMG, and EEG. There’s also an nRF microcontroller with Bluetooth that’s easily programmed with an Arduino. All the building blocks are there.

Right now, [Curt] has successfully opened up one of these fitness trackers and has done enough of a teardown to get the data off of the bioimpedence sensor. The trick now is to emulate the ‘concentration’ and ‘relaxation’ values the Neurosky chip puts out. This is fairly difficult, as what these values actually mean in terms of brainwaves is a bit opaque, but [Curt] has some filters and some tools to pull data from the brain and output something. Now it’s just a question of outputting the right values.

It’s a fantastic hack, that is sure to be a lot more affordable than buying some old Star Wars toys or paying a licensing fee to Neurosky. This is commodity hardware hacked to do something it was never intended to do, and an excellent entry to this year’s Hackaday Prize.

GSM Phone Network At EMF Camp Built On Raspberry Pi And LimeSDR

The Electromagnetic Field 2018 hacker camp in the UK will have its own GSM phone network, and as we have already covered its badge will be a fully-functional GSM phone. This is as far as we are aware a first in the world of badges, and though it may not be a first in hacker camp connectivity it is still no mean achievement at the base station side. To find out more we talked to two of the people behind the network, on the radio side Lime Microsystems‘ [Andrew Back], and on the network side Nexmo‘s developer advocate, [Sam Machin].

There are sixteen base stations spread around the site, of which each one is a Raspberry Pi 3 B+ with a LimeSDR Mini. Development of the system was undertaken prior to the release of the Raspberry Pi Foundation’s PoE board, so they take a separate 24V supply which powers the Pi through a DC-to-DC converter. This arrangement allows for a significant voltage drop should any long cable runs be required.

On the software side the base stations all run the Osmocom (Open Source Mobile Communications) cellular base station infrastructure package. It was a fine decision between the all-in-one Osmocom NITB package and the fully modular Osmocom, going for the former for its reliability. It was commented that this would not necessarily be the case at a future event but that it made sense in the present. It appears on the network as a SIP phone system, meaning that it can easily integrate with the existing DECT network. Let’s take a look at how the network operates from the user side, and the licencing loophole that makes everything possible.

Continue reading “GSM Phone Network At EMF Camp Built On Raspberry Pi And LimeSDR”

Competitive Soldering Is Now A Thing

At Hackaday, we’re constantly impressed by the skill and technique that goes into soldering up some homebrew creations. We’re not just talking about hand-soldering 80-pin QFNs without a stencil, either: there are people building charlieplexed LED arrays out of bare copper wire, and using Kynar wire for mechanical stability. There are some very, very talented people out there, and they all work in the medium of wire, heat, and flux.

At this year’s DEF CON, we opened the floodgates to competitive soldering. Along with [Bunny] from Hardware Hacking Village and the many volunteers from the HHV and Soldering Skills Village, dozens competed to solder up a tiny kit full of LEDs and microscopic resistors.

The kit in question was an SMD Challenge Kit put together my MakersBox, and consisted of a small PCB, an SOIC-8 ATtiny, and a LED and resistor for 1206, 0805, 0603, 0402, and 0201 sizes. The contest is done in rounds. Six challengers compete at a time, and everyone is given 35 minutes to complete the kit.

We’ve seen — and participated in — soldering challenges before, and each one has a slightly unique twist to make it that much more interesting. For example, at this summer’s Toorcamp, the soldering challenge was to simply drink a beer before moving to the next size of parts. You would solder the 1206 LED and resistor sober, drink a beer, solder the 0805, drink a beer, and keep plugging away until you get to the 01005 parts. Yes, people were able to do it.

Of course, being DEF CON and all, we were trying to be a bit more formal, and drinking before noon is uncouth. The rules for this Soldering Challenge award points on five categories: the total time taken, if the components are actually soldered down, a ‘functionality’ test, the orientation of the parts, and the quality of the solder joints.

The winners of the soldering challenge, at the Hackaday Breakfast Meetup at DEF CON 26

So, with those rules in place, who won the Soldering Challenge at this year’s DEF CON? Out of a total 25 points, the top scorers are:

  • [True] – 23 pts
  • [Rushan] – 19 pts
  • [Ryan] – 18 pts
  • [Beardbyte] – 18 pts
  • [Casey] – 18 pts
  • [Bob] – 18 pts
  • [Nick] – 18 pts
  • [JEGEVA] – 18 pts

The Soldering Challenge had an incredible turnout, and the entire Soldering Skills Village was packed to the gills with folks eager to pick up an iron. The results were phenomenal!

We’d like to extend a note of thanks to [Bunny], the Hardware Hacking Village, the Soldering Skills Village, and MakersBox for making this happening. It was truly a magical experience, and now that competitive soldering is a thing, we’re going to be doing this a few more times. How do you think this could be improved? Leave a note in the comments.

The Challenges Of Shipping From China – Life Of A Flailing Tube Man

Last summer was an exercise in developing a completely different kind of product from my normal wheelhouse; a costume. My Halloween costume had been so popular that I decided to have a go at commercializing it, and that took me on a path into manufacturing that I hadn’t yet taken; shipping by boat from China. The short version is it’s a ridiculously difficult mess. Continue reading “The Challenges Of Shipping From China – Life Of A Flailing Tube Man”

Real Or Fake? Robot Uses AI To Find Waldo

The last few weeks have seen a number of tech sites reporting on a robot which can find and point out Waldo in those “Where’s Waldo” books. Designed and built by Redpepper, an ad agency. The robot arm is a UARM Metal, with a Raspberry Pi controlling the show.

A Logitech c525 webcam captures images, which are processed by the Pi with OpenCV, then sent to Google’s cloud-based AutoML Vision service. AutoML is trained with numerous images of Waldo, which are used to attempt a pattern match.  If a pattern is found, the coordinates are fed to PYUARM, and the UARM will literally point Waldo out.

While this is a totally plausible project, we have to admit a few things caught our jaundiced eye. The Logitech c525 has a field of view (FOV) of 69°. While we don’t have dimensions of the UARM Metal, it looks like the camera is less than a foot in the air. Amazon states that “Where’s Waldo Delux Edition” is 10″ x 0.2″ x 12.5″ inches. That means the open book will be 10″ x 25″. The robot is going to have a hard time imaging a surface that large in a single image. What’s more, the c525 is a 720p camera, so there isn’t a whole lot of pixel density to pattern match. Finally, there’s the rubber hand the robot uses to point out Waldo. Wouldn’t that hand block at least some of the camera’s view to the left?

We’re not going to jump out and call this one fake just yet — it is entirely possible that the robot took a mosaic of images and used that to pattern match. Redpepper may have used a bit of movie magic to make the process more interesting. What do you think? Let us know down in the comments!

The Electric Vehicles Of Electromagnetic Field: The Ottermobile And The Ottercar

If you’ve followed these pages over the last few weeks, you’ll have seen an occasional series of posts featuring the comedic electric vehicle creations of the British Hacky Racers series, which will make their debut at the forthcoming Electromagnetic Field hacker camp. So far these intrepid electro-racers have come largely from the UK hackerspace and Robot Wars communities, but it was inevitable that before too long there would arrive some competition from further afield.

[Jana Marie Hemsing] and [Lucy Fauth] are a pair of prolific German hardware hackers whose work you may have seen from time to time in other fields. When they heard about Hacky Racers with barely two weeks until they were due to set off for England for EMF, they knew they had to move fast. The Ottermobile and the Ottercar are the fruits of their labours, and for vehicles knocked together in only two or three days they show an impressive degree of sophistication.

In both cases the power comes courtesy of hoverboard wheels with integrated motors. If you cast your mind back to last year’s SHA Camp in the Netherlands, our coverage had a picture of them on a motorised armchair, so this is a drive system with which they have extensive experience. The Ottercar is based upon a lengthened Kettler kids’ tricycle with the larger variant of the hoverboard motors, and unusually it sports three-wheel drive. Control for the rear pair comes from a hoverboard controller with custom firmware, while the front is supplied by a custom board. The Ottermobile meanwhile is a converted Bobby Car, with hoverboard drive. It’s an existing build that has been brought up to the Hacky Racer rules, and looks as though it could be one of the smaller Hacky Racers.

At the time of writing there is still just about enough time to create a Hacky Racer for Electromagnetic Field. Following the example set from Germany, it’s possible that the hoverboard route could be one of the simplest ways to do it.

$99 Pinebook Gets KDE Neon Port

If you’re the kind of person who likes small and cheap Linux devices, you’re definitely alive in the perfect moment in history. It seems as if every few months we’ve got another tiny Linux board competing for our pocket change, all desperate to try to dethrone the Raspberry Pi which has already set the price bar exceptionally high (or low, as the case may be). We’ve even started to see these Linux boards work their way into appropriately cheap laptops, though so far none have really made that great of an impression.

But thanks to the efforts of Blue Systems and Pine64, the situation might be improving: they’ve worked together on a build of KDE Neon for the $99 Pinebook. The fact that they’ve gotten Plasma, KDE’s modern desktop environment, running on the rather mediocre hardware at all is an accomplishment by itself. But they’ve also set out tailor the entire system for the Pinebook, from the kernel and graphics drivers all the way up to Qt and Plasma tweaks.

In a blog post announcing the release candidate of the OS, Neon developer [Jonathan Riddell] says that these top-to-bottom improvements show that you can turn a super cheap Linux laptop into a practical computer if you’re willing to really get in there and optimize it. He also says the project has been something of a two-way street, in that improvements made for the Pinebook build have also been applied to upstream development.

The last time we looked at the Pinebook, we came away cautiously optimistic. It wasn’t great, but it was about as good as you could possibly expect given the price. If more developers are willing to go out on a limb and start optimizing their software for the device, it might become a very promising platform for low-cost mobile hacking.