A Low-Cost Spectrometer Uses Discrete LEDs And Math

A spectrometer is a pretty common lab instrument, useful for determining the absorbance of a sample across a spectrum of light. The standard design is simple; a prism or diffraction grating to break up a light source into a spectrum and a detector to measure light intensity. Shine the light through your sample, scan through the spectrum, and graph the results. Pretty easy.

That’s not the only way to do it, though, as [Markus Bindhammer] shows with this proof-of-concept UV/visible spectrometer. Rather than a single light source, [Marb] uses six discrete LEDs, each with a different wavelength. The almost-a-rainbow’s-worth of LEDs are mounted on circular PCB, which is mounted to a stepper motor through a gear train. This allows the instrument to scan through all six colors, shining each on the sample one at a time. On the other side of the flow-through sample cuvette is an AS7341 10-channel color sensor, which can measure almost the entire spectrum from UV to IR.

The one place where this design seems iffy is that the light source spectrum isn’t continuous, as it would be in a more traditional design. But [Marb] has an answer for that; after gathering data at each wavelength, he applies a cubic spline interpolation to derive the spectrum. It’s demonstrated in the video below using chlorophyll extracted from spinach leaves, and it seems to generate a reasonable spectrum. We suppose this might miss a narrow absorbance spike, but perhaps this could be mitigated by adding a few more LEDs to the color wheel.

Continue reading “A Low-Cost Spectrometer Uses Discrete LEDs And Math”

Arduino VGA, The Old Fashioned Way

Making a microcontroller speak to a VGA monitor has been a consistent project in our sphere for years, doing the job for which an IBM PC of yore required a plug-in ISA card. Couldn’t a microcontroller talk to a VGA card too? Of course it can, and [0xmarcin] is here to show how it can be done with an Arduino Mega.

The project builds on the work of another similar one which couldn’t be made to work, and the Trident card used couldn’t be driven in 8-bit ISA mode. The web of PC backwards compatibility saves the day though, because many 16-bit ISA cards also supported the original 8-bit slots from the earliest PCs. The Arduino is fast enough to support the ISA bus speed, but the card also needs the PC’s clock line to operate, and it only supports three modes:  80 x 25, 16 colour text, 320 x 200, 256 colour graphics, and 640 x 480, 16 colour graphics.

Looking at this project, it serves as a reminder of the march of technology. Perhaps fifteen years or more ago we’d have been able to lay our hands on any number of ISA cards to try it for ourselves, but now eight years after we called the end of the standard, we’d be hard placed to find one even at our hackerspace. Perhaps your best bet if you want one is a piece of over-the-top emulation.

Build Yourself A Beautiful Interactive Light Toy

Sometimes, we build things with LEDs as indicator lamps or to illuminate something important. Sometimes, we build things with LEDs purely to glow and be beautiful. This interactive light toy from [Jens] falls into the latter category.

The build uses a 16×16 addressable LED matrix.  [Jens] then ported some “Bouncy Bubbles” Processing code from Keith Peters to the Arduino Mega, and set it up to display on the matrix. An accelerometer was used to control the bouncing ball animations, while a second Arduino was then tapped to act as a musical synthesizer to add more vibes. The whole kit was then built into a 3D-printed housing with a nice hazy diffuser to give the LEDs a smoother, even look. [Jens] steps through how he got the diffuser just right, including a support structure that made all the difference to the aesthetic of the finished product. Getting diffusion right is key to making a nice LED project, and [Jens] got it very right here.

It’s a nice little art piece that looks kind of relaxing to play with in a dark room. We love a good glowable project here at Hackaday, so if you’ve built your own—don’t hesitate to let us know! Video after the break.

Continue reading “Build Yourself A Beautiful Interactive Light Toy”

This Is The Future Of Waste Management

Many of us have been asking for some time now “where are our robot servants?” We were promised this dream life of leisure and luxury, but we’re still waiting. Modern life is a very wasteful one, with items delivered to our doors with the click of a mouse, but the disposal of the packaging is still a manual affair. Wouldn’t it be great to be able to summon a robot to take the rubbish to the recycling, ideally have it fetch a beer at the same time? [James Bruton] shares this dream, and with his extensive robotics skillset, came up with the perfect solution; behold the Binbot 9000. (Video, embedded below the break)

Continue reading “This Is The Future Of Waste Management”

A small keyboard form factor retrocomputer with blue keys on a black background sits in front of a display and a LEGO model of the Space Shuttle. There are a number of jumper wires and a breadboard coming from an open panel on the right side of the machine.

Aqua PCB Is A Big Upgrade For The Mattel Aquarius

In case you weren’t around in the 80s, or you happened to blink, you may have missed the Mattel Aquarius computer. [Nick Bild] has a soft spot in his heart for the machine though and built the Aqua cartridge to make the Aquarius into a more usable machine.

Originally equipped with a mere 4 KB of RAM and a small, rubbery keyboard, it’s not too surprising that the Aquarius only lasted five months on the market. [Nick] decided on the cartridge slot to beef up the specs of this little machine given the small number of expansion ports on the device. Adding 32 KB of RAM certainly gives it a boost, and he also designed an SD card interface called Aqua Write that connects to the Aqua cartridge for easily transferring files from a more modern machine.

The Aqua Write uses an Arduino Mega 2560 to handle moving data between the SD card and the system’s memory. This is complicated somewhat because a “PLA sits between the Z80 and data bus that XORs data with a software lock code (initialized to a random value on startup).” [Nick] gets around this by running a small program to overwrite the lock code to zero after startup.

Getting data on and off retrocomputers can certainly be a challenge. If you’re trying to get files on or off another old machine, check out this Simple Universal Modem or consider Using a Raspberry Pi as a Virtual Floppy Drive.

3D Print A Colour TV

The oldest form of television used a spinning disk with a progression of holes — a Nipkow disk — to slice the image into lines for display. They’re surprisingly simple machines and capable of unexpectedly high-quality images despite their relatively low resolution. Even better, in an age of microcontrollers and bright LEDs, making one that works is not the chore it might once have been. [Markus Mierse] has created one that uses an Arduino Mega and a set of 3D printed parts, so there’s no excuse for not having a spinning disk TV on your shelf.

The Arduino Mega is chosen because it has enough lines to drive three six-bit DACs for each of red, green, and blue. The disk is driven by a PWM motor controller, and synchronization is taken care of by a piece of reflective tape and an IR proximity sensor. Images and video are read from an SD card and displayed on the screen in glorious 32-line colour. The full build process can be seen in the video below the break.

A surprise when viewing mechanical TV is that its quality is much better than the meager resolution would have you believe, and this one with its colour display is much better than the usual monochrome devices. It’s hardly HDTV, but it acquits itself well and would provide an excellent talking point.

If you’re curious about Nipkow disks, they’re a subject we’ve examined in the past.

Continue reading “3D Print A Colour TV”

Monitor For Bedridden Patients Aims To Improve Care

One of the joys of being a Maker and Hacker is solving problems and filling needs. When you can do both, well, that’s something special. [rodrigo.mejiasz]’s project surely fits into that special category of solving a problem and filling a dire need with his Bedridden Patient Monitor.

While [Rodrigo]’s project page does not specify his motivation for creating this project, one only needs to look as far as their local hospital ward or senior care facility to understand why this device is so wonderful. Healthcare workers and caregivers are stretched paper thin, and their attention is being constantly interrupted.

This is where the Bedridden Patient Monitor comes in. A healthy person can reposition themselves if they are uncomfortable, but bedridden patients cannot. It’s not just that a bedridden patient is unable to get out of bed, but that they are unable to move themselves without assistance. The result is a great amount of pain. And if left unchecked, pressure sores can be the result. These are not only extremely unpleasant, but an added danger to a patients health.

The Bedridden Patient Monitor steps in and provides not just an egg-timer like alert, but helps caregivers track a patients position in bed across even several working shifts. This ensures a continuity of care that might otherwise be easy to miss.

The beauty of this build is in its application but also its simplicity: it’s just an Arduino Mega, a TFT shield with its Micro SD card, and the touch screen itself. A few LED’s and a buzzer take care of alerts. A thoughtfully configured interface makes the devices use obvious so that staff can make immediate use of the monitor.

Makers have a long history diving into the medical field, such as this stab wound treatment device that won the Dyson award in 2021.

Continue reading “Monitor For Bedridden Patients Aims To Improve Care”