Posts with «arduino» label

Automate a rubber strip door with Arduino

In order to separate their office and shop areas, NYC CNC installed a rubber strip assembly that had to be pushed out of the way every time someone wanted to walk through. Although functional, it was also quite annoying, so they installed a system that uses a pneumatic cylinder to automatically move the rubber strips out of the way.

The device uses an Arduino Nano for control and VL53L0X  time-of-flight sensors for presence detection. In addition, it features a clever gear and belt assembly to mirror one side of the door with the other.

You can find more details of the build in the video below and check out the project’s components, Fusion 360 design files, and Arduino code here.

Connect Pour!

What do you get when you combine Connect Four with beer pong? Connect Pour, of course! After inspiration from a much larger basketball version, this hacker decided to make a device that allows you to throw ping pong balls into Solo cup targets. When one is hit, a vertical board stacks a light to represent a stacked checker above the cup in question.

An Arduino Uno powers the device, and lighting is provided by an RGB LED strip. Scores are tracked using an IR break beam sensor, and a button or RF remote can alternate player turns if you don’t hit anything.

I wrote the code of the game myself  and works basically as follows:

— the Arduino checks infrared beam break sensors under the plastic cups and a “pass button”

— if the state of the sensors/button changes from no beams being broken or buttons being pushed to a beam being broke or  a button being pushed

— the Arduino updates the game state updates the LEDs including the bar in the front (which indicates which player’s turn it is)

— repeat

The game looks like a lot of fun, though you may need some extra cups, as those on the machine no longer have bottoms! You can find more details on the build here.

Making Your Own Soldering Station

An industrious maker reverse engineers and builds his own high-end soldering station.

Read more on MAKE

The post Making Your Own Soldering Station appeared first on Make: DIY Projects and Ideas for Makers.

The Sensor Array That Grew Into a Robot Cat

Human brains evolved to pay extra attention to anything that resembles a face. (Scientific term: “facial pareidolia”) [Rongzhong Li] built a robot sensor array with multiple emitters and receivers augmenting a Raspberry Pi camera in the center. When he looked at his sensor array, he saw the face of a cat looking back at him. This started his years-long Petoi OpenCat project to build a feline-inspired body to go with the face.

While the name of the project signals [Rhongzhong]’s eventual intention, he has yet to release project details to the open-source community. But by reading his project page and scrutinizing his YouTube videos (a recent one is embedded below) we can decipher some details. Motion comes via hobby remote-control servos orchestrated by an Arduino. Higher-level functions such as awareness of environment and Alexa integration are handled by a Raspberry Pi 3.

The secret (for now) sauce are the mechanical parts that tie them all together. From impact-absorption spring integrated into the upper leg to how its wrists/ankles articulate. [Rongzhong] believes the current iteration is far too difficult to build and he wants to simplify construction before release. And while we don’t have much information on the software, the sensor array that started it all implies some level of sensor fusion capabilities.

We’ve seen lots of robotic pets, and for some reason there have been far more robotic dogs than cats. Inspiration can come from Boston Dynamics, from Dr. Who, or from… Halloween? We think the lack of cat representation is a missed opportunity for robotic pets. After all, if a robot cat’s voice recognition module fails and a command is ignored… that’s not a bug, it’s a feature of being a cat.

[via TheNextWeb]

Automated Syrup System is Sweet Sweet Madness

Here at Hackaday we are big fans of the TV show, “How It’s Made”. It’s not much of a stretch to assume that, as somebody who is currently reading this site, you’ve probably seen it yourself. While it’s always interesting to see the behind the scenes process to create everyday products, one of the most fascinating aspects of the show is seeing how hard it is to make things. Seriously, it’s enough to make you wonder how companies are turning a profit on some of these products when you see just how much technology and manual work is required to produce them.

That’s precisely the feeling we got when browsing through this absolutely incredible overview of how [HDC3] makes his maple syrup. If that’s not a sentence you ever thought you’d see on Hackaday, you aren’t alone. But this isn’t a rusty old pail hanging off of a tap, this is a high-tech automated system that’s capable of draining 100’s of gallons of sap from whole groves of trees. We’ll never look at a bottle of syrup in the store the same away again.

It all starts with hundreds of tiny taps that are drilled into the trees and connected to a network of flexible hoses. The plumbing arrangement is so complex that, in certain, areas high tension support wires are necessary to hold up the weight of the hoses and their sweet contents. The main hose leads to an Arduino-powered collection station which maintains a 100 kPa (29 inHg) vacuum throughout the entire system.

The sap is temporarily held in a 250 gallon container, but at this point it’s still just that: sap. It needs to be refined into something suitable for putting on your pancakes. The first step of that process utilizes a reverse osmosis filtration system to pull the water out of the sap and increase its sugar concentration. [HDC3] says the filtration system is built from eBay scores and parts from the home improvement store, and it certainly looks the part of something that would be under a kitchen sink. This system is able to increase the sugar concentration of the sap from around 2% as it comes out of the trees to 8%. But it’s still a far way off from being ready to use.

Interestingly enough, the last steps of the process are about as old-school as they come. The semi-concentrated sap is placed in a long low metal pan, and heated over a wood fire to drive off more of the water. This process continues until the sap is roughly 60% sugar, at which point it is filtered and moved into the house to finish boiling on the stove.

All told, the syrup is boiled for eight hours to bring its sugar content up to 66%. Even with the improvements [HDC3] has made to the system, he reveals that all this hard work only results in slightly more than a half-gallon of final syrup. Talk about dedication.

It probably comes as no surprise that this is the first time Hackaday has ever run a story about producing maple syrup. However we’ve seen a number of automated beer brewing systems that seem to have been tackled with similar zeal. There’s probably a conclusion to be drawn there about the average hacker’s diet, but that’s a bit outside our wheelhouse.

[via /r/DIY]

A DIY hardware watchdog for your mining rig

Vadim Panov wanted a way to automatically restart a PC that was simple and cheap to make.

For this task, he turned to an Uno due to its wide availability; however, any Arduino board with at least one digital I/O pin and a USB-enabled serial port will work.

The device sends a “hello” string to the PC, to which it expects a “HELLO” back from the PC—running its own corresponding Java program—within 10 seconds. If it doesn’t receive this string, it assumes that the computer is frozen, and uses a reed relay to trigger the motherboard reset pin.

Panov’s idea could be used to monitor and reset cryptocurrency rigs, but could be adapted to other PC setups as needed.

Here’s how it works: the PC-side program tries to connect to every single serial port in your system within a period of 30 seconds (including the ports that appear during this process). To each port it’ll send the handshake string “hello” and monitor the input, expecting to receive uppercase “HELLO” back. When the handshake is finished, it’ll send ping strings once each five seconds.

The watchdog program on Arduino scans the input for “ping” strings. If no such string has been received within 10 second period, the watchdog will forcibly restart your PC.

Therefore, this scenario where you manually run it will be “one-off”, i.e. once the PC has been restarted, the watchdog will be stuck in the pre-handshake state. To make it work all the time, add the Java program to the startup list of your operating system of choice.

You can read more here and check it out in action below!

Test your aim in this carnival-style IR target game

For a class assignment, Matt Robb along with teammates Kara and Andrew needed to make a project using an Arduino and various other components. What they came up with was a carnival-style game that uses a stepper motor to rotate three targets containing IR sensors out of a nicely-painted cardboard box.

An Arduino Uno provides control for the game. When hit with a signal from an IR remote, an LED on the target goes out, a buzzer beeps, and it momentarily stops spinning.

It looks like it was a lot of fun to build and play, so be sure to check it out in the video seen here!

Turtlebyte

Primary image

What does it do?

Autonomous robot pet

3/6/18- Just finished the front legs! Woohoo! I did several test runs on one of them, the most recent being documented in the video. But I screwed up the movement range in the test Arduino sketches, since the servos can no longer rotate fully. I hope I didn’t strain the servo too bad...

————————————————————

Cost to build

Embedded video

Finished project

Number

Time to build

Type

legs

URL to more information

Weight

read more

Definitive Dog Feeding with Arduino

Some dogs have no sense of self-preservation. Given the opportunity, they will eat until they’re sick. It’s up to us humans to both feed them and remember doing it so they aren’t accidentally overfed. In a busy household with young children, the tricky part is the remembering.

[Bryan]’s family feeds their dog Chloe once a day, in the mornings. She was a rescue who spent a few years scrounging for meals on the street, so some part of her is always interested in finding food, even if she just ate. Each morning, the flurry of activity throughout the house is compounded by Chloe’s repeated requests for food, so [Bryan] got his kids involved and built a simple circuit that lets everyone know—at a glance—whether Chloe was fed.

Chloe’s kibble is kept in a touch-top wastebasket that flips open at the press of a button. [Bryan]’s dog-fed detector uses a reed switch and an Arduino clone to detect when the lid is opened. When the reed switch goes, low, the Arduino lights up an LED. The light stays on for two hours and then shuts off automatically to get ready for the next day. You don’t have to beg for a demo video, because it’s waiting for you after the break.

Since Chloe devours a bowl of food in about two minutes flat, maybe the next project for [Bryan]’s family could teach her to slow down a bit.

Measure RPM with an IR sensor and Arduino

When dealing with robotics and other electronics projects, it can be important to know how many revolutions a motor is making. From here, you can infer the distance that your device has traveled, or any number of other important variables.

If you’d like to get started with this type of sensing, this electronoobs tutorial will show you how to get things hooked up using an Arduino and a computer, along with an oscilloscope to verify measurements up to 10,000 RPM.

In his setup, an IR emitter/receiver bounces light off a spinning object. When light reflects back, it opens the circuit, causing the output to be grounded via a pulldown resistor, telling you that a revolution has been made. The 3D-printed device also features an OLED screen.

To emit infrared light we need a IR LED and to detect it a IR sensible transistor. Usually you could find those as a one unique module. To amplify the signal I’ve used the LM324 amplifier. You will also need a 100 ohm resistor and a 4.7k ohm one. To supply the system we will need a basic 9V battery and connector, an Arduino Nano, and an OLED screen. The case is 3D printed…

You can find more details on the build process here, as well as a demo of the tachometer below!

Arduino Blog 27 Feb 20:09