For the last three and a half Billion years, evolution has built sensors. The nerves on your fingertips are just as good as any electronic touch sensor, a retina is able to detect a single photon, and the human ear is more finely tuned than the best microphones.
At the 2016 Hackaday SuperConference, Dr. Christal Gordon, educator and engineer, talked about the hardware behind our wetware. While AI researchers are still wondering if they have to define consciousness, there’s still a lot that medicine, psychology, and neuroscience can teach us about building better hardware with simple tools, just like nature has been doing for Billions of years.
While some people may enjoy the occasional whiff of noxious smells — gasoline, axe body spray, etc — prolonged exposure to fumes is not good for your health. This goes for soldering too, isn’t it about time you added some abatement to your bench tools?
Inspired by some of the fume hoods we’ve featured before — take note, ye who art lacking projects — [Georg Sluyterman] put together his own Ikea lamp fume extractor.
The most striking feature is that it’s mounted on an Ikea desk lamp making for convenient positioning and minimal clutter. A NeoPixels strip lights up your soldering space while the PIR sensor activates the fan when it detects movement. A WeMos D1 Mini is included for WiFi connectivity but that feature still down the road a little bit. The functionality that is in place is still quite impressive; more on that after the break.
[Pawel] has a weather station, and its nerve-center is a Raspberry Pi. He wanted to include a light sensor but the problem is, the Pi doesn’t have a built-in ADC to read the voltage off the light-dependent resistor that he (presumably) had in his junk box. You can, of course, buy I2C ADC chips and modules, but when you’ve already got a microcontroller that has ADC peripherals on board, why bother?
[Pawel] wired up a tremendously simple circuit, downloaded some I2C slave-mode code, and added an LED for good measure. It’s all up on GitHub if you’re interested.
We’re covering this because we rarely see people coding for I2C slave devices. Everyone and their mom uses I2C to connect to sensors, for which the Arduino “Wire” library or “i2c-tools” on the Pi do just fine. But what do you do when you want to make the I2C device? [Pawel]’s project makes use of TinyWireS, a slave-mode SPI and I2C library for AVR ATtiny Arduino projects.
Here, [Pawel] just wanted a light sensor. But if you’re building your own devices, the sky is the limit. What’s the most esoteric I2C sensor that you can imagine? (And is it really the case that we haven’t seen an I2C slave device hack since 2010?)
In a lot of ways, portable toilets are superior to standard indoor-plumbing-style toilets. This is mostly due to the fact that they have a status indicator on the door. It’s a shame that no indoor bathrooms have figured this out yet, especially in office buildings where your awkward coworkers bang on every door rather than just check for feet in the huge gap that for some reason exists between the floor and the stall door. Anyway, [Chris] and [Daniel] came up with a solution for this issue, which also eliminates wait time for bathrooms in their office.
Their system is an automated bathroom status indicator that reports information about the bathroom’s use over WiFi. Since the bathrooms at their facility are spread out, it was helpful to be able to look up which bathroom would be free at any given moment. Several Raspberry Pis form the nerves of the project. Custom sensors were attached to a variety of different door locks to detect status. Each Pi reports back over WiFi. This accomplishes their goal of being subtle and simple. They also point out that they had to write very little code for this project since there are so many Unix and embedded hardware tools available to them. Checking the status of the bathroom can be as simple as running netcat.
An essential skill for a maker is the ability to improvise or re-purpose existing materials into new parts. Sometimes, one needn’t make many modifications to create something new, as is the case with [Robin Sterling] and his musical pet bowl.
Originally, it was a sealed pet bowl that opened when the proximity sensors detected an approaching pet. Having helped design the bowl, [Sterling] had a bit of an advantage when he decided to convert it into a theremin/light harp-esque instrument for the company BBQ. He routed the PWM outputs from each of the three proximity sensors (in each of the three bowls) to a small guitar amp, adjusting each sensor’s output to a different frequency. Despite the short amount of time [Sterling] had to practice, it works fairly well!
Security in the home — especially a new home — is a primary concern for many. There are many options for security systems on the market, but for those will the skills, taking matters into your own hands can add peace of mind when protected by a system of one’s own design. [Armagan C.] has created their near-ideal multi-sensor security module to keep a watchful eye out for would-be burglars.
Upgrading from their previous Arduino + Ethernet camera — which loved to trigger false alarms — [Armagan] opted for a used Raspberry Pi model B+ camera module and WiFi connection this time around. They also upgraded the unit with a thermal sensor, LPG & CO2 gas sensor, and a motion tracking alarm. [Armagan] has also set up a live streaming feature that records video in 1hr segments — deleting them daily — and circumvented an issue with file descriptor leak by using a crashed drone’s flight controller to route the sensor data via serial port. It is also proving superior to conventional alarms because the custom software negates the need to disarm security zones during midnight trips to the washroom.
We use touch screens all the time these days, and though we all know they support multiple touch events it is easy for us to take them for granted and forget that they are a rather accomplished sensor array in their own right.
[Optismon] has long held an interest in capacitive touch screen sensors, and has recently turned his attention to the official Raspberry Pi 7-inch touchscreen display. He set out to read its raw capacitance values, and ended up with a fully functional 2D capacitive imaging device able to sense hidden nails and woodwork in his drywall.
Reading the capacitance values is not a job for the faint-hearted though. There is an I2C bus which is handled by the Pi GPU rather than the processor, and to read it in software would require a change to the Pi’s infamous Broadcom binary blob. His solution which he agrees is non-optimal was to take another of the Pi’s I2C lines that he could talk to and connect it in parallel with the display line. As a result he can catch the readings from the screen’s sensors and with a bit of scripting make a 2D display on the screen. The outlines of hands and objects on his desk can clearly be seen when he places them on the screen, and when he runs the device over his wall it shows the position of the studding and nails behind the drywall.