Hacking Touch Screens To Count Pulses

Heart rate sensors available for DIY use employ photoplethysmography which illuminates the skin and measures changes in light absorption. These sensors are cheap, however, the circuitry required to interface them to other devices is not. [Petteri Hyvärinen] is successfully investigating the use of capacitive touchscreens for heart rate sensing among other applications.

The capacitive sensor layer on modern-day devices has a grid of elements to detect touch. Typically there is an interfacing IC that translates the detected touches into filtered digital numbers that can be used by higher level applications. [optisimon] first figured out a way to obtain the raw data from a touch screen. [Petteri Hyvärinen] takes the next step by using a Python script to detect time variations in the data obtained. The refresh rate of the FT5x06 interface is adequate and the data is sent via an Arduino in 35-second chunks to the PC over a UART. The variations in the signal are very small, however, by averaging and then using the autocorrelation function, the signal was positively identified as a pulse.

A number of applications could benefit from this technique if the result can be replicated on other devices. Older devices could possibly be recycled to become low-cost medical equipment at a fraction of the cost. There is also the IoT side of things where the heart-rate response to media such as news, social media and videos could be used to classify content.

Check out our take on the original hack for capacitive touch imaging as well as using a piezoelectric sensor for the same application.

Hackaday Prize Entry: DIY DLP

The 3D printing revolution is upon us and the technologies associated with these machines is evolving every day. Stereolithography or SLA printers are becoming the go-to printer for high-resolution prints that just can’t be fabricated on a filament-based machine. ADAM DLP 3D printer project is [adambrx]’s entry into the Hackaday Prize and the first step in his quest for higher quality prints on a DIY budget.

[adambrx]’s current iteration employs a Raspberry Pi 3 and a UV DLP Projector, all enclosed in a custom frame assembly. The logs show the evolution of the printer from an Acer DLP to the current UV DLP Light Engine. The results are quite impressive for a DIY project, and [adambrx] has put up images of 50-micrometer pillars and some nifty other prints which show the amount of work that has been put into the project.

It is safe to say that [adambrax] has outspent the average entry to the Hackaday Prize with over €5000 spent in around 3 years. Can [adambrx] can keep this one true to its DIY roots is yet to be seen, however, it is clear that this project has potential. We would love to see a high-resolution SLA printer that does not cost and arm and a leg.

Wooden Laptop Enclosure: New Life For Old Thinkpad

Technology is designed to serve us and make our lives better. When a device gets outdated, it is either disposed of or is buried in a pile of junk never to be seen again. However, some individuals tend to develop a certain respect for their mechanical servants and make an effort to preserve them long after they have become redundant.

My relationship with my first laptop is a shining example of how to hold onto beloved hardware way too long. I converted that laptop into a desktop with a number of serious modifications which helped me learn about woodworking along the way. Maybe it’s more pragmatic to just buy new equipment. But you spend so much time each day using your devices. It is incredibly satisfying to have a personal connection that comes from pouring your own craftsmanship into them.

Why the Effort?

IBM Thinkpad R60 via Notebook Review

The laptop in question is an IBM R60 which I lugged around during the first three years after I graduated. It was my companion during some tough times and naturally, I developed a certain attachment to it. With time its peripherals failed including the keyboard which housed the power switch and it was decided that the cost of repair would outweigh its usefulness.

Then came the faithful day when I was inspired to make something with the scrap wood that had accumulated in my workshop. This would be my second woodworking project ever and I did not have the professional heavy machinery advertised in most YouTube videos. Yet I had two targets in mind with this project.

  1. Make the R60 useful again.
  2. Learn about woodworking for creating enclosures for future projects.

Armed with mostly hand tools, a drill and a grinder that was fitted with a saw blade, I started with the IBM R60 to all-in-one PC mod. Following is a log of things I did and those I regret not doing a.k.a. lessons learned. Read on.

Continue reading “Wooden Laptop Enclosure: New Life For Old Thinkpad”

12-Foot Guitar Takes The Stage

Musical festivals are fun and exciting. They are an opportunity for people to perform and show-off their art. The Boulevardia event held this June in Kansas City was one such event, where one of the interactive exhibits was a 12-foot guitar that could be played. [Chris Riebschlager] shares his experience making this instrument which was intended to welcome the visitors at the event.

The heart of this beautiful installation is a Bare Conductive board which is used to detect a touch on the strings. This information is sent over serial communication to a Raspberry Pi which then selects corresponding WAV files to be played. Additional arcade buttons enable the selection of playable chords from A through G, both major and minor and also give the option to put the guitar in either clean or dirty mode.

The simplicity of construction is amazing. The capacitive touch board is programmed using the Arduino IDE and the code is available as a Gist. The Raspberry Pi runs a Python script which makes the system behave like an actual guitar i.e. touching and holding the strings silences it while releasing the strings produces the relevant sound. The notes being played were exported guitar notes from Garage Band for better consistency.

The physical construction is composed of MDF and steel with the body and neck of the guitar milled on a CNC machine. Paint, finishing and custom decals give the finished project a rocking appearance. Check out the videos below for the fabrication process along with photos of the finished design.

This project is a great example of art enabled by technology and if you love guitars, then go ahead and check out Brian May’s Handmade Guitar. Continue reading “12-Foot Guitar Takes The Stage”

Interfacing A Retro Controller Using The USBASP

An ISP dongle is a very common piece of equipment on a maker’s bench. However, its potential as a hackable device is generally overlooked. The USBASP has an ATmeg8L at its heart and [Robson] decided that this humble USB device could be used as an interface between his PC and a SNES Joypad.

A SNES controller required three pins to communicate with a host: clock, data and latch. In his hack, [Robson]  connects the controller to the ISP interface using a small DIY adaptor and programs the AVR using the V-USB library. V-USB is a software USB library for small microcontrollers and comes in pretty handy in this instance.

[Robson] does a pretty good job of documenting the entire process of creating the interface which includes the USB HID code as well as the SNES joypad serial protocol. His hack works on both Windows and Linux alike and the code is available on GitHub for download.

Simple implementation like this project are a great starting point for anyone looking to dip their toes in the DIY USB device pool. Veterans may find a complete DIY joystick more up their alley and will be inspired by some plastic techniques as well.

DIY Shortcut Keyboard

Working with CAD programs involves focusing on the task at hand and keyboard shortcuts can be very handy. Most software packages allow the user to customize these shortcuts but eventually, certain complex key combination can become a distraction.

[awende] over at Sparkfun has created a Cherry MX Keyboard which incorporates all of the Autodesk Eagle Shortcuts to a single 4×4 matrix. The project exploits the Arduino Pro Mini’s ability to mimic an HID device over USB thereby enabling the DIY keyboard. Pushbuttons connected to the GPIOs are read by the Arduino and corresponding shortcut key presses are sent to the host machine.

Additional functionality is implemented using two rotary encoders and the Teensy encoder library. The first knob functions as a volume control with the push-button working as a mute button. The encoder is used to control the grid spacing and the embedded button is used to switch between imperial and metric units. The entire code, as well as the schematic, is available on GitHub for your hacking pleasure. It’s a polished project just ready for you to adapt.

The project can be extended to be used with other computer software such as Gimp and the keys may be replaced by capacitive touch sensors making it more sturdy. Bluetooth can be added to make things wireless and you can check out the Double Action Keyboard to extend functionality further. Continue reading “DIY Shortcut Keyboard”

Laser PCBs With LDGraphy

There are many, many ways to get a PCB design onto a board for etching. Even with practice however, the quality of the result varies with the process and equipment used. With QFN parts becoming the norm, the days of etch-resist transfers and a permanent marker are all but gone. Luckily, new and improved methods of Gerber transfer have be devised in recent years thanks to hackers across the world.

One such hacker, [Henner] is working on a project called LDGraphy in an attempt to bring high-resolution etching to the masses. LDGraphy is a laser lithography device that makes use of a laser and a Beaglebone green to etch the layout onto the board. The best part is that the entire BOM is claimed to cost under a $100 which makes it affordable to people on a budget.

The system is designed around a 500 mW laser and a polygon mirror scanner meant for a laser printer. The board with photoresist is linearly actuated in the X-axis using a stepper motor and the laser beam which is bounced off the rotating hexagonal mirror is responsible for the Y-axis. The time critical code for the Programmable Realtime Unit (PRU) of the AM335X processor is written in assembly for the fast laser switching. The enclosure is, naturally, a laser cut acrylic case and is made at [Henner]’s local hackerspace.

[Henner] has been hard at work calibrating his design and compensating for the inaccuracies of the components used. In the demo video below he presents a working version with a resolution of 6 mils which is wonderful considering the cost of the machine. He also shares his code on GitHub if you want to help out and you can track his updates on Google+. Continue reading “Laser PCBs With LDGraphy”