Posts with «arduino» label

Arduino Shield Makes Driving Nixies Easy

Nixie tubes are adored by hackers across the world for their warm glow that recalls an age of bitter nuclear standoffs and endless proxy wars. However, they’re not the easiest thing to drive, requiring high voltages that can scare microcontrollers senseless. Thankfully, it’s possible to score an Arduino shield that does the heavy lifting for you.

The HV supply is the heart of any Nixie driver.

The shield uses HV5812 drivers to handle the high-voltage side of things, a part more typically used to drive vacuum fluorescent displays. There’s also a DHT22 for temperature and humidity measurements, and a DS3231 real time clock. It’s designed to work with IN-12 and IN-15 tubes, with the part selection depending on whether you’re going for a clock build or a combined thermometer/hygrometer. There’s also an enclosure option available, consisting of two-tone laser etched parts that snap together to give a rather sleek finished look.

For those looking to spin up their own, code is available on Github and schematics are also available. You’ll have to create your own PCB of course, but there are guides that can help you along that path. If you’re looking to whip up a quick Nixie project to get your feet wet, this might just be what you need to get started. Of course, you can always go straight to hard mode, and attempt a functional Nixie watch. Video after the break.

Slot

Listen to the best of the ‘holdies’ with this Arduino-enabled desk phone

If you’ve ever thought that your life needs a little more hold music in it, then this Greatest Holdies phone from FuzzyWobble could be just the thing. 

The heavily modified device uses the shell of an old-style desk phone, but adds an Arduino Mega, a Music Maker Shield, and an ultrasonic rangefinder for “enhanced” abilities.

Now, when someone comes near the phone, it rings automatically, treating the person curious enough to pick it up to a selection of hold music. Users can choose the tune playing via the phone’s keypad, which is wired into the Arduino, along with the original headset switch that detects when the phone has been picked up. 

Code for the build is available here, but be sure to check out the video below to see what you might be getting into!

Printed Perching Pals Proliferate

Anansi in African folktale is a trickster and god of stories, usually taking physical form of a spider. Anansi’s adventures through oral tradition have adapted to the situation of people telling those stories, everything ranging from unseasonable weather to living a life in slavery. How might Anansi adapt to the twenty-first century? [odd_jayy] imagined the form of a cyborg spider, and created Asi the robot companion to perch on his shoulder. Anyone who desire their own are invited to visit Asi’s project page.

Asi was inspired by [Alex Glow]’s Archimedes, who also has a project page for anyone to build their own. According to [Alex] at Superconference 2018, she knew of several who have done so, some with their own individual customization. [odd_jayy] loved the idea of a robot companion perched on his shoulder but decided to draw from a different pool of cultural folklore for Asi. Accompanying him to various events like Sparklecon 2019, Asi is always a crowd pleaser wherever they go.

Like every project ever undertaken, there is no shortage of ideas for Asi’s future and [odd_jayy] listed some of them in an interview with [Alex]. (Video after the break.) Adding sound localization components will let Asi face whoever’s speaking nearby. Mechanical articulation for legs would allow more dynamic behaviors while perched, but if the motors are powerful enough, Asi can walk on a surface when not perched. It’s always great to see open source projects inspire even more projects, and watch them as they all evolve in skill and capability. If they all become independently mobile, we’ll need clarification when discussing the average velocity of an unladen folklore robot companion: African or European folklore?

Bring your own robo-dog to life with Arduino!

Would you like a dog? Would you like a robot dog? If so, then this build by Michael Rigsby could be a great starting point. 

Rigbsy’s robotic pet features four servo-driven legs, with two-axis shoulder movement, as well as an articulated knee joint. As seen in the video below, it’s capable of picking itself up off the ground, and can then walk using a slow side-to-side gait.

An Arduino Uno uses the majority of its I/O pins to control the legs, and as of now, it travels forward with no directional control or sensor input. 

Instructions for the project, along code and 3D print files, are available in Rigsby’s write-up.


Arduino Blog 27 Mar 21:12

James Bruton builds a force-controlled gripper!

In a variety of robotic situations, you’ll need some sort of gripper. In this project, James Bruton attempts to create a force-controlled, three-fingered assembly using an Arduino Uno along with a trio of servos.

Instead of directly controlling the grip fingers, the 3D-printed device is held open with bungee cables. When it’s time to clamp everything down, the servos wind up the cables attached to the inside of the fingers, similar to how human tendons work. 

To correlate servo inputs to grip force, he uses a series of springs to allow some amount of compliance, as well as flex sensors attached to the fingers themselves to measure the resulting positions. Arduino code for the build is available here.

AbleChair takes mobility to a new level

The AbleChair by Advanced Fitness Components is nominally a wheelchair, but it’s capable of so much more. 

The versatile wheelchair’s enhanced abilities include elevating the user to standing height or lowering for easy transfers. Additionally, the seating assembly can be flattened and positioned parallel to the ground, and even vertically as needed. This vertical position allows it to act as a gait training aid for those that are learning to walk, and the variety of positions has a number of health benefits.

The system itself is powered by Arduino along with brushless motors and sensors, while a joystick, touchscreen, and an Android app are used for control. 

Be sure to check it out in the video below, or see more info on its Kickstarter page here.

Smart bicycle saddle developed with Arduino

Riding a bicycle can be a great way to get around, and/or even to get some needed exercise. When you mix in automobile or foot traffic, though, things get a bit more complicated. This could be blamed, in part, on the fact that bikes don’t have the same running lights, turn or brake signals as motorized vehicles. 

To address this problem, BLINK!’s patented Integrated Lighting System (iLS) has been designed to provide a visible communication solution that’s easily understandable by other road users. 

This custom saddle—which was prototyped using an ATmega328P-based Arduino— features lighting for 270º visibility, and brightens automatically for braking when deceleration is detected. In addition, iLS includes a pair of remotely activated turn signals. This allows the rider to indicate direction changes without removing his or her hand from the handlebars to awkwardly point. 

BLINK! has been embedded into a wide range of saddles and installation should be fairly straightforward. Not only will it certainly help enhance road safety, iLS will look fantastic while doing so.

Gorgeous Nixie clock features three types of tubes

Nixie tubes require electricity in the range of 180VDC, making them challenging to work with. Maker Christine Thompson, however, decided to take Nixie art to a new level, creating a clock with three different types of tubes! 

This clock, or perhaps more accurately “info display,” shows the time and date with six IN-18 tubes mounted on the top. In the front, six IN-12A and two IN-15A tubes are also available to show time, date, pressure, temperature, and humidity.

A pair of Arduino Mega boards are used to control this retro-inspired contraption, along with an array of wiring, perf board, and other components, stuffed inside a very nice wooden enclosure. 

This is my first Nixie styled clock I have constructed. The clock actually consists of two clocks, the first being a 6 x IN-18 tube clock which is mounted on the clock’s top and displays both time and date. The second clock, this time based on 6 x IN-12A and 2 x IN-15A nixie tubes displays at the front of the clock and can display, time, date, pressure (with units and trend), temperature (both Centigrade and Fahrenheit) and, humidity (with units and trend). The time and date are separated with two single neon lamp-based separators, while only one of these lamps is displayed, to represent a decimal point, when the pressure, humidity or temperature is displayed. Both these clocks use “Direct/Static Drive” to power the displays and are based on two Arduino Mega 2560 boards. The fourteen tubes are driven by 12V to 170V DC to DC boost power supplies and 14 x K155 IC chips. The clock also powers two sets of Neon Lamps which switch off while the clock goes through its cathode cleaning cycle which happens at 19, 39 and 55 minutes past each hour. This cathode cleaning cycle consists of all six tubes displaying the digits 0 through 9 in sequence 6 times.

In addition the clock will sound a chime at 15, 30, 45 and 60 minutes. At the 60 minute chime the hour chime is also sounded. The chimes are standard MP3 files using a simple MP3 player controlled by the Arduino mega. In order to save on tube life all tubes are switched off automatically when the light level in the room dims to a predefined level, this is achieved using a LRD resistor located at the back of the clock. To help dissipate any heat build up both Arduino Mega ICs have copper heat fins attached and a 5V fan draws air out of the clock, cool air entering through a hole in the bottom plate.

The user can adjust the time, date, chimes, and chimes volume using one of two 16×2 LCD displays, located at the back of the clock. The BME280 temperature, humidity, and pressure sensor is mounted on the back of the clock so as to not be affected by the clock’s internal temperature.

A demo is seen in the video below, while more info and Arduino code can be found in the project’s write-up.

A brilliant clock made out of 128 LED-lit ping pong balls

Ping pong balls have long been known as excellent LED diffusers, but few have taken this technique as far as Thomas Jensma. His colorful clock features 128 LEDs, arranged in an alternating pattern, and housed in a stretched-out hexagonal wood frame. 

For control, the device uses an Arduino Nano, along with a RTC module for accurate timekeeping. Demos of the clock can be seen below, cycling through numbers and testing out the FastLED library.

Code for the build is available in Jensma’s write-up. This also includes tips on using table tennis balls as diffusers, as well as how to create an orderly array out of these spheres—useful in a wide range of projects.

Library Makes ESP Over the Air Updates Easy

Potentially, one of the great things about having a device connected to the network is that you can update it remotely. However, how do you make that happen? If you use the Arduino setup for the ESP8266 or ESP32, you might try [scottchiefbaker’s] library which promises to make the process easy.

Adding it looks to be simple. You’ll need an include, of course. If you don’t mind using port 8080 and the path /webota, you only need to call handle_webota() from your main loop. If you want to change the defaults, you’ll need to add an extra call in your setup. You also need to set up a few global variables to specify your network parameters.

The only caveat is that long delay statements in your loop can block things from working and aren’t a great idea anyway. If you have them, you can replace all your delay calls with webota_delay which will stop the system from ignoring update requests.

The code started from a different online tutorial but packaged the code up nicely for reuse. To do an update, simply navigate to the device with a web browser and use the correct port number and path. From there you can upload a new binary image taken from the Arduino IDE with the export compiled binary command.

The only concern we saw was the code didn’t appear to authenticate you at all. That means anyone could load code into your ESP. That might be ok on a private network, but on the public Internet it is surely asking for trouble. The original tutorial code did have a hardcoded user and password, but it didn’t look very useful as the password was in the clear and didn’t stop you from uploading if you knew the right URL. Dropping it from the library probably makes sense, but we would want to build some kind of meaningful security into anything we deployed.

If you have a network connection, we’ve seen the same trick done with a normal Arduino with a wireless chip. You can even do it over WiFi but using an ESP8266 which you’ll then want to be able to update, too.

Hack a Day 21 Mar 09:00