This Arduino Isn’t Color Blind

You can sense a lot of things with the right sensor, and [Nikhil Nailwal] is here to show us how to sense colors using a TCS230. The project is a simple demo. It displays the color and lights up an LED to correspond to the detected color.

If you haven’t seen the TCS230 before, it is a chip with an array of photosensors, for different light wavelengths. The controlling chip — an Arduino, in this case — can read the intensity of the selected color.

Continue reading “This Arduino Isn’t Color Blind”

Extreme Canine Mask For Protection From Foxtails

Our canine partners are fortunately not affected by the current global pandemic, but it turns out there are other dangers that might necessitate them to wearing masks: Foxtail seeds. After getting a $400 vet bill for extracting a foxtail from his dog, [Hildeguard]’s ear, [Amos Dudley] decided to take the threat seriously and made her a form-fitting 3D printed mask.

The only commercial solution [Amos] could find was the “OutFox Field Guard”, which is a $50 vinyl-coated mesh bag that covers the dog’s entire head. It had the unfortunate side effects of causing some other dogs to try and rip it off and does not allow easy access to the mouth for treats or balls. [Hilde]’s custom mask was designed in CAD after creating a rough 3D scan of her head with an iPhone app. The bottom is open to allow [Hilde] to freely use her mouth, while the nose and ears holes are covered with mesh. Custom heat-formed polycarbonate lenses cover the eye holes. The mask itself was printed using Draft resin, and the inside was padded with a thin layer of foam. It might also be possible to create a silicone version using a 3D-printed mold. The top features an integrated GoPro mount, and we can’t help but wonder what other electronic upgrades could be fitted to this sci-fi-looking mask.

In the field, the mask worked well and did not seem to bother [Hilde]. Unfortunately, it did not solve the problem of other dogs trying to rip it off at the park, so for the moment [Amos] is only using it for more solitary activities like hiking.

It doesn’t look like [Amos] is struggling in that department, but if you need some help burning of your dog’s energy, you can always built them a 3D printed automatic ball launcher.

 

Internet Chess On A Real Chessboard

The Internet teaches us that we can accept stand-ins for the real world. We have an avatar that looks like us. We have virtual mailboxes to read messages out of make-believe envelopes. If you want to play chess, you can play with anyone in the world, but on a virtual board. Or, you can use [karayaman’s] software to play virtual games on real boards.

The Python program uses a webcam. You point it at an empty board and calibrate. After that, the program will track your moves on the real board in the online world. You can see a video of a test game below.

Continue reading “Internet Chess On A Real Chessboard”

Hacking Old Honda ECUs

Automotive security specialist by day [P1kachu] hacks his own cars as a hobby in his free time. He recently began to delve into the Engine Control Units (ECUs) of the two old Hondas that he uses to get around in Japan. Both the 1996 Integra and the 1993 Civic have similar engines but different ECU hardware. Making things more interesting; each one has a tuned EPROM, the Civic’s being of completely unknown origin.

[P1kachu] took his Civic to a shop to have some burned-out transistors replaced in the ECU, and a chance conversation with the proprietor [Tuner-san] sends him on a journey into the world of old EPROMs. [Tuner-san] pulled out an old PROM duplicator stashed away under the counter which he originally used as a kid to copy PROM chips from console games like the Famicom. These days he uses it to maintain a backup collection of old ECU chips from cars he has worked on. This tweaked [P1kachu]’s curiosity, and he wondered if he could obtain the contents of the Civic’s mysterious PROM. After a false start trying to use the serial port on the back of the PROM copier, he brute-forces it. A few minutes of Googling reveals the ASCII pinout of the 27C256 EPROM, and he whips out an Arduino Mega and wires it up to the chip and is off and running.

Advantest R4945A EPROM Duplicator c.1980s

He’s currently digging into the firmware, using IDA and a custom disassembler he wrote for the Mitsubishi M7700 family of MCUs. He started a GitHub repository for this effort, and eventually hopes to identify what has been tweaked on this mysterious ECU chip compared to factory stock. He also wants to perform a little tuning himself. We look forward to more updates as [P1kachu] posts the results of his reverse engineering efforts. We also recommend that you be like [P1kachu] and carry an Arduino, a breadboard, and some hookup wire with you at all times — you never know when they might come in handy. Be sure to checkout our articles about his old Subaru hacks from in 2018 if these kinds of projects interest you.

E-Ink Equipped Sourdough Starter Jar

One of the unexpected side effects of our this pandemic is a sudden growth in the global population of captive colonies of Lactobacillus bacteria and yeast. Also known as sourdough starters, they are usually found in jars with curious names written on top, living off a mixture of flour and water. They require close monitoring to keep them healthy and to determine when they are ready for baking. [Noah Feehan] has been working to instrument and automate the process for the past two years, and has created a high-tech jar to keep an eye on his sourdough starter.

For a sourdough starter to stay active, it must be kept within a certain temperature range, and performance is measured by how much the level inside the jar rises. Existing open source and commercial projects monitor these two parameters and transmit data out, but [Noah] wanted to include a few more features. The height of a sourdough starter rises due to the production of CO2, so he added an SCD-30 sensor module, which includes a temperature and humidity sensor. For level monitoring, an VL6180 time-of-flight sensor is mounted over a hole on top of the jar. [Noah] wanted to be able to see recent CO2 production and height stats right on the jar, a ESP32 module with onboard E-ink display was used. To draw air over the CO2 sensor at a constant rate, a small extraction fan was also added. Power is provided by a small LiPo battery. For long term logging, the data is sent over MQTT to a server running Mycodo environmental regulation software.

There are still several software improvements [Noah] would like to make, including battery life, user interface and alerts, but everything is open-source and available on GitHub, so feel free to jump in and build your own.

WiFiWart Linux Pentesting Device Gets First PCBs

When we last checked in on the WiFiWart, an ambitious project to scratch-build a Linux powered penetration testing drop box small enough to be disguised as a standard phone charger, it was still in the early planning phases. In fact, the whole thing was little more than an idea. But we had a hunch that [Walker] was tenacious enough see the project through to reality, and now less than two months later, we’re happy to report that not only have the first prototype PCBs been assembled, but a community of like minded individuals is being built up around this exciting open source project.

Now before you get too excited, we should probably say that the prototypes didn’t actually work. Even worse, the precious Magic Smoke was released from the board’s Allwinner A33 ARM SoC when a pin only rated for 2.75 V was inadvertently fed 3.3 V. The culprit? Somehow [Walker] says he mistakenly ordered a 3.3 V regulator even though he had the appropriate 2.5 V model down in the Bill of Materials. A bummer to be sure, but that’s what prototypes are for.

Even though [Walker] wasn’t able to fire the board up, the fact that they even got produced shows just how much progress has been made in a relatively short amount of time. A lot of thought went into how the 1 GB DDR3 RAM would get connected to the A33, which includes a brief overview of how you do automatic trace length matching in KiCad. He’s also locked in component selections, such as the RTL8188CUS WiFi module, that were still being contemplated as of our last update.

Multiple boards make better use of vertical space.

Towards the end of the post, he even discusses the ultimate layout of the board, as the one he’s currently working on is just a functional prototype and would never actually fit inside of a phone charger. It sounds like the plan is to make use of the vertical real estate within the plastic enclosure of the charger, rather than trying to cram everything into a two dimensional design.

Want to get in on the fun, or just stay updated as [Walker] embarks on this epic journey? Perhaps you’d be interested in joining the recently formed Open Source Security Hardware Discord server he’s spun up. Whether you’ve got input on the design, or just want to hang out and watch the WiFiWart get developed, we’re sure he’d be happy to have you stop by.

The first post about this project got quite a response from Hackaday readers, and for good reason. While many in the hacking and making scene only have a passing interest in the security side of things, we all love our little little Linux boards. Especially ones that are being developed in the open.

Your PC Sound Card As A Sensor Input

The commoditised PC is the most versatile tool many of us will own, and since it has been around for a very long time it is also something that can be found for free or very cheaply if the latest components aren’t a concern. It’s not without limitations though, while it’s designed for expansion it no longer has any ports that can easily be repurposed as GPIOs for reading sensors. A solution for some sensors comes courtesy of [Ruslan Nagimov], who shows us how the PC sound card can become a measurement interface.

The idea is that simple resistive or capacitive sensors can be read through their AC characteristics by sending out a sine wave on one channel of the card and reading the result on the other from a divider circuit. He goes extensively into the code, both for the resistive example and for reactive components, and we can see that it forms a handy extension to the PC capabilities.

We’re sure this technique will find applications for some readers, but it interests us for another platform. Measurement using a mobile phone’s audio jack doesn’t have an inspiring history, but perhaps this could be used as well for mobile sensors.