Posts with «arduino» label

Measuring UV-C For About $5

Looking to sterilize something? Give it a good blast of the old UV-C. Ultraviolet radiation in the shortest wavelength band breaks down DNA and RNA, so it’s a great way to kill off any nasties that are lurking. But how much UV-C are you using? [Akiba] at Hackerfarm has come up with the NukeMeter, a meter that measures the output of their UV-C sterilizer the NukeBox. It is built around a $2.50 sensor and a $3 Arduino.

The NukeMeter is built around a GUVA-S12SD UV sensor breakout board. This sensor is really designed for UV-A detection, but a quick look at the spec sheet revealed that it is sensitive to UV across all of the bands. So, it can be used as a UV-C sensor if you know how sensitive it is to this particular frequency band.

However, the sensor is not that sensitive to UV-C light, so [Akiba] had to do a bit of minor surgery on the circuitry that surrounds the sensor to tweak the output. The sensor was designed to measure relatively low levels of UV light (such as sunlight), and now they are blasting it with a shedload of radiation, so they have to effectively disable one of the op-amps that normally scales the output up, which involves replacing a couple of resistors. That’s a bit of a pain to do with surface mount components, but it is doable with a steady hand and a small tip soldering iron.

Next, an Arduino takes the voltage output of the sensor and converts it into a light level. The mathematics of how this works are all well detailed in the post, but it isn’t complicated, and the source code is here.

Using this, [Akiba] was able to measure how the lights performed, how quickly they warmed up and how much the light level varies along the length of the fluorescent tube.

One caveat to bear in mind here: [Akiba] designed this to measure the output of the low-pressure mercury vapor lamps they are using at Hackerfarm, which output a very narrow frequency band, peaking at 250 nM. This design would not work for a more broadband output or for one which mixed UV-C with UV-A and UV-B. For that, you would need a more sophisticated design that would probably cost more than $5.

SAFETY NOTE: Don’t mess with UV-C light sources unless you have a good idea of what you are doing and are sure that the light is contained, e.g. in a sealed box, maybe with interlocks. Remember that you also rely on DNA, and inadvertently zapping your own DNA can cause all sorts of unpleasantness.  

Hack a Day 27 Mar 09:00

Automating Hand Sanitizer — If You Can Find Any

We once saw a Romeo and Juliet production where the two families were modern-day mob families with 3-piece suits and pistols. If they made King Richard III set in this week, the famous line might be: “Hand sanitizer, hand sanitizer, my kingdom for hand sanitizer!” Even if you have a supply stashed in your prepper cache, you have to touch the bottle so you could cross-contaminate with other users. Public places often have automatic dispensers to combat this, and now you can too. [Just Barran] shows the device in a video, you can see below.

Sourcing parts for projects is sometimes a problem, but right now we are betting the hand sanitizer will be the hardest component. Of course, the Internet is ripe with homemade brews that may or may not be effective based on beer, grain alcohol, or a variety of other base materials.

[Barran] has a big junk box. so he snagged an Arduino and an ultrasonic sensor. The part that is a little tricky is pulling down the pump. The basic idea is to use a servo motor to pull some fishing line. To engage the bottle, there is a small bit of plastic from a notebook cover and the fishing line goes to both sides of it. One side of the fishing line is fixed and the other is what the servo pulls.

We might have used a solenoid to push the button, but we like the servo method for its simplicity. In the end, it does look like it works well. Changing the bottle out probably requires a little surgery since there is a screw holding the plastic bracket in and you might have to update the fishing line lengths. That might be an impediment for a commercial project, but for your own use, it doesn’t seem like it would be a problem.

Fishing line is more useful than you might think. We’ve even seen it used as belts in 3D printers.

SASSIE helps prevent awkward gaps in conversation

Whether it’s with an old friend or new acquaintance, we’ve all had those awkward gaps in conversation. Do you speak next, or let the other person lead the discussion? If that’s not happening naturally, then SASSIE, or “System for Awkward Silence Solution and Interaction Enhancer,” is here to help.

The cylindrical device detects audio feedback via a pair of microphones positioned near each person in a conversation. When a sufficient silence is detected, SASSIE pops a flag out and rotates to indicate who needs to talk. If that wasn’t enough of a hint, it also audibly tells that person to say something. 

SASSIE is powered by dual Arduino Uno boards, one of which takes care of the bulk of the control functions, while the other actuates the stepper to spin the top indicator.

Arduino Blog 24 Mar 18:19
arduino  uno  

1,156 LEDs make up these dual acrylic light-up panels

What does one do with over 1,000 LEDs, white acrylic, and 288 IR sensors? If you’re Redditor “jordy_essen,” you create an interactive light panel.

In one mode, the user pull a reflective tool across the sensors to draw a paths, with potentiometers implemented to select the color. It can also be set up to play a sort of whack-a-mole game, where one has to activate the sensor in the same area where it illuminates.

For this amazing device, jordy_essen uses not one, or even two, but six Arduino Mega boards to drive the LEDs directly — in turn controlled by a webpage running on a Raspberry Pi. If that wasn’t enough hardware, an Uno is tasked with taking inputs from the color potentiometers. 

It’s a brilliant project in any sense of the word!

Eavesdropping Assistant Disturbs The Sound Of Silence

Unless you happen to be from Finland, this is just an all too familiar situation: you’re stuck in an inescapable situation with this one person who is really more of an acquaintance than a friend, and neither of you knows who should say something in hopes of keeping a conversation going. Awkward silence is inevitable, and the longer it lasts, the more excruciating the thought of opening your mouth becomes. Well, consider those days over, thanks to [Jasper Choi] and his friends, who blessed us with the System for Awkward Silence Solution and Interaction Enhancer, or SASSIE.

Built as a laser-cut rotating cylinder, and equipped with a pair of microphones, SASSIE detects and counts the duration of any ongoing silence in the room. Once a pre-defined time limit is reached, it rotates itself to a random direction, symbolically pointing a finger to one of the people present in the room to indicate its their turn to speak now. To break the silence right off the bat, the finger pointing is accompanied by some pre-recorded messages. Unfortunately the audio files exceeded the storage of the Arduino Uno used here, so the responsibilities had to be divided between two Arduinos, arranged with the help of some simple serial communication.

While this is obviously a tongue-in-cheek project, it might just be a welcoming relieve for people with social anxiety, and there is definitely potential to take the idea further. Maybe with some inspiration from this happy robot fellow, a future version might ease the conversation even further by suggesting a topic along the way.

Work remotely with Arduino Create – get a free upgrade now

To help individuals work remotely and share their designs with team members, we’re providing a free 3-month upgrade to the Arduino Create Maker plan to all 1.4 million users of Create as well as new subscribers to the service. With Arduino Create everything is ready to go; there is no need to install libraries and you can quickly share your sketch with teammates via just a URL. 

To gain your free 3-month upgrade* all you need to do is go to Arduino Create choose the “Maker” plan with the default monthly option and enter the voucher code “CREATE4FREE” during the purchase process.

Arduino Create enables users to write code, access content, configure boards and share projects. Features such as an always up-to-date online IDE and the ability to share builds and receive feedback from other facilities means you can work from home efficiently and effectively. If you don’t want to start a project from scratch there’s always the option to tap into the power of the community on the Arduino Project Hub by browsing projects and making them your own. 

The ‘Maker’ plan comes with the added benefits of up to 250 sketches allowed in your sketchbook along with 200MB space to store those sketches and libraries. You can manage more connected objects (5 ‘things’) with up to 20 properties per ‘thing’, enabling the development of complete IoT solutions. Automating processes remotely is further enabled by the Maker plan including access to set up and remotely control 5 of each cloud enabled Arduino board, 3 cloud-enabled Linux devices, and 1 cloud-enabled generic third-party board.

Find out more details about Arduino Create and all the features included in the Maker plan here.

*The ‘free 3-month upgrade to Create Maker is applicable to the monthly plan and is limited to new subscribers only. Voucher code “CREATE4FREE” expires 30th June 2020. 

Please note the first monthly payment will start 3 months after you purchase the plan, and you are able to cancel your subscription at any time.

Handwashing Timer Makes Sure the Suds Stay On Long Enough

“Twinkle, Twinkle, Little Star”? How we wonder why you’d resort to singing a ditty to time your handwashing when you can use your social isolation time to build a touch-free electronic handwash timer that the kids — and you — might actually use.

Over the last few months, pretty much everyone on the planet has been thrust into strange, new, and oftentimes scary practices to limit the spread of the SARS-CoV-2virus and the disease it causes, COVID-19. Judging by the number of people we’ve seen leaving public restrooms without a visit to the washbasin before the outbreak began — and sadly all too often since — we collectively have a lot of work to do in tightening up our handwashing regimens. Time on target and plenty of friction are the keys to that, and [Denis Hennessy]’s “WashTimer” aims to at least help you out with the former. His build is as simple as can be: an Arduino driving an LED matrix when a proximity sensor fires. Wave your dirty paws in front of the unit as you start to scrub up, and the display goes through a nicely animated 20-second countdown, at which time it’s safe to rinse off.

[Denis] purposely made this design as simple and as customizable as possible. Perhaps you’ve got a Neopixel ring lying about rather than the LED matrix, or maybe an ultrasonic sensor would work better for you. Be creative and take this design where it needs to go to suit your needs. We can’t stress enough that handwashing is your number one defense; if you don’t need to moisturize your hands at least three times a day, you’re probably not washing often or long enough. And 20 seconds is way longer than you think it is without a prompt.

This acoustic sensing system localizes touch and senses force on everyday surfaces

Researchers from the University of Auckland in New Zealand’s are exploring a new way to construct interactive touch surfaces using finger-mounted audio transducers. 

VersaTouch — which works on everyday surfaces — uses one or more receivers to measure sound waves emanating from the wearer’s “augmented” fingers, allowing it to calculate their positions and/or movements. The plug-and-play system can also sense force based on a changing audio signature and track individual digits by alternating each one’s sonic outputs. 

Importantly, VersaTouch can be configured without permanent modification to the newly interactive surface. The setup includes an Arduino Due to receive signals, a Teensy 3.6 to control the transducers, and a MacBook to process the data and calculate the touch positions with a Java program.

More information on the project can be found in the team’s research paper, and you can see it demonstrated in the video below. 

VersaTouch is a portable, plug-and-play system that uses active acoustic sensing to track fine-grained touch locations as well as touch force of multiple fingers on everyday surfaces without having to permanently instrument them or do an extensive calibration. Our system is versatile in multiple aspects. First, with simple calibration, VersaTouch can be arranged in arbitrary layouts in order to fit into crowded surfaces while retaining its accuracy. Second, various modalities of touch input, such as distance and position, can be supported depending on the number of sensors used to suit the interaction scenario. Third, VersaTouch can sense multi-finger touch, touch force, as well as identify the touch source. Last, VersaTouch is capable of providing vibrotactile feedback to fingertips through the same actuators used for touch sensing.

Seven-Segment Shelves Do Double Duty

[Lewis] of [DIY Machines] was always on the lookout for that perfect something to hang above the couch. After spending a lot of time fruitlessly searching, he designed and built this awesome shelving unit with recessed lighting that doubles as a huge 7-segment clock.

The clock part works as you probably expect — an Elegoo Nano fetches the time from a real-time clock module and displays it on the WS2812B LED strips arranged in 7-segment formations. There’s a photocell module to detect the ambient light level in the room, so the display is never brighter than it needs to be.

Don’t have a 3D printer yet? Then you may need to pass on this one. Aside from the wood back plane and the electronics, the rest of this build is done with printed plastic, starting with 31 carefully-designed supports for the shelves. There are also the LED strip holders, and the sleeve pieces that hide all the wires and give this project its beautifully finished look.

You may have noticed that the far left digit isn’t a full seven segments. If you’re committed to 24-hour time, you’d have to adjust everything to allow for that, but you’d end up with two more shelves. Given the fantastic build video after the break, it probably wouldn’t take too long to figure all that out.

We like big clocks and we cannot lie. If you have room for it, build something like this blinkenlit beauty.

AvoRipe Takes A Firm Grip On The Ultimate First World Food Problem

You don’t have to be an extinct mammal or a Millennial to enjoy the smooth, buttery taste of an avocado. Being psychic on the other hand is definitely an advantage to catch that small, perfect window between raw and rotten of this divaesque fruit. But don’t worry, as modern problems require modern solutions, [Eden Bar-Tov], [Elan Goldberg], and [Mizpe Ramon] built the AvoRipe, a device to notify you when your next avocado has reached that window.

Taking both the firmness and color of an avocado as indicators of its ripeness into account, the team built a dome holding a TCS3200 color sensor as stand for the avocado itself, and 3D printed a servo-controlled gripper with a force sensor attached to it. Closing the gripper’s arms step by step and reading the force sensor’s value will determine the softness the avocado has reached. Using an ESP8266 as centerpiece, the AvoRipe is turned into a full-blown IoT device, reporting the sensor readings to a smartphone app, and collecting the avocado’s data history on an Adafruit.IO dashboard.

There is unfortunately one big drawback: to calibrate the sensors, a set of nicely, ripe avocados are required, turning the device into somewhat of a chicken and egg situation. Nevertheless, it’s a nice showcase of tying together different platforms available for widescale hobbyist projects. Sure, it doesn’t hurt to know how to do each part from scratch on your own, but on the other hand, why not use the shortcuts that are at our disposal to remove some obstacles — which sometimes might include programming itself.