Ultraviolet nightlight, ingredients and setup
If you’ve ever played with a black light, you’ve noticed that some substances glow brightly under these lights. In this case, we’ll be using tonic water because it contains small amounts of quinine which glows a bright blue under ultraviolet.
Internet research shows that Quinine glows best under ultraviolet light at the wavelength of 350 nanometers (nm).
As far as I can tell, LEDs are not available at that wavelength, but quinine will still glow from nearby wavelengths. An ebay search turned up 355nm LEDs for $65 each (too expensive!) and 365nm LEDs for about $2 each, including shipping. The most time consuming part of this project for me was waiting the many weeks for ten 365nm LEDs to arrive from China. If you want to do this project, I suggest you go ahead and order a batch of these now.
- container with clear or lightly colored sides, and preferably a thin plastic lid
- Arduino to power your LEDs
- bottle of tonic water
- ultraviolet LEDs ( 365nm for choice of cost and quinine sensitivity)
- wires to connect LEDs to Arduino
Step 1: Punch holes in the lid of the container
I used a hammer and a nail to punch pairs of holes in the plastic lid of my inexpensive container.
As long as the distance between the holes is somewhat close to the distance between the legs of the LEDs, it should work fine.
Step 2: Insert LEDs
Make sure to insert all of the LEDs inside the lid, with their negative legs facing in the same direction.
LEDs have a polarity, electricity can only flow through them in one direction. Wiring this together is much simpler when you can use a single alligator clip on either side to test your nightlight.
You can see here that I’ve used single alligator clips on each side to power these LEDs.
I’m also using a 100ohm resistor to limit the current flowing between the five volt pin of my Arduino and the positive legs of these LEDs.
The other alligator clip leads back to one of the ground pins on my Arduino ( GND ).
For more detail: Ultraviolet nightlight, ingredients and setup
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w