It’s possible that it was [Matt Meerian]’s awesome pun that won us over, not his ultrasonic bicycle dog defense system, but that would be silly. [Matt] wanted an elegant solution to a common problem when riding a bicycle, dogs. While, obscenities, ammonia, water, pepper spray, and others were suggested, they all had cons that just didn’t appeal to [Matt]. He liked the idea of using C02 powered high pressure sound waves to chase the dogs away with, but decided to choose a more electronic approach. He used a Atmel ATmega644 as the MCU, four 25kHz transmitters, and two 40kHz transmitters. When the rider sees a dog he simply flips a switch and it activates the transducers (along with, cleverly, a human audible horn so he doesn’t have to look down to know it’s working). So far [Matt] has not had a dog chase him in order to test it’s efficacy, but his cat clearly seems unaffected by the device as you can see after the break. Continue reading “Defense Against The Dog Arts”
ultrasonic120 Articles
Arduino Rover Evolves To A Trike Design
[Eduard Ros] wrote in to show off the latest version of his Arduino powered autonomous rover (translated). You may remember seeing the first version of the build back in June. It started with a remote control truck body, adding an Arduino and some ultrasonic sensors for obstacle avoidance.
The two big wheels and the pair of sensors look familiar, but most of the other components are a different from that version. The biggest change is the transition from four wheels to just three. This let him drop the servo motor which controlled steering. At first glance we though this thing was going to pop some mad wheelies, but the direction of travel actually drags the third wheel being the larger two. The motors themselves are different, this time depending on gear-reduced DC motors. The motor H-bridge is the same, but [Eduard] used a simple transistor-based inverter to reduce the number of pins needed to activate it from two down to just one. He also moved from an Arduino Uno to a Nano to reduce the footprint of the controller.
Bike Alert Tells Drivers To Back Off
Bicycle commuters are often in a battle with drivers for space on the road. [Hammock Boy] does all of his commuting on two human-powered wheels, and is quite interested in not getting hit by a car. He decided to ply his hobby skills to build a device that helps keep him safe. It’s not just a tail light, it’s a sensor that shines brighter the closer a car is to the back of the bike.
The sensor portion is the ultrasonic range finder seen in the center of the protoboard. Surrounding it is a set of LEDs. Each is individually addressable with the whole package controlled by an Arduino. The sketch measures the distance between the back of the bike and whatever’s behind it. If there’s nothing, one Red led is illuminated. If there is an object, the lights shine brighter, and in different patterns as the distance decreases.
Certainly the next iteration could use a standalone chip without the need for the whole Arduino. This could even work with two battery cells and no voltage regulator. We also think the use of any other color than Red LEDs is suspect but we do love the concept.
LayerOne Badge Hacking Twofer
Here’s a pair of LayerOne Badge hacks that actually included the RC as intended by the badge designers.
First up, we have the autonomous RC car built by [Arko]. He calls it Stanley Jr. as an homage to the Stanford DARPA Grand Challenge vehicle. It uses an Arduino shield to add a servo with an ultrasonic rangefinder on it. The lets the vehicle drive a bit, stop and scan the horizon, then drive some more. The hope is the rangefinder will keep it from running into anything. There’s a quick test run embedded after the break.
On the right is the badge hack which [Zjpahle] finished up after the contest was already over. He also chose to go with an Arduino shield, this time it’s an IMU board. But he added a standalone Arduino board to the vehicle which drives some EL wire (ground effects) and adds IR sensors to the front of the car. The IR sensors are for obstacle avoidance, and the IMU lets him tilt his badge for direction control.
We looked at the winner of the badge hacking competition on Wednesday. That hack didn’t involve the car, but used the badge as a Morse Code beacon.
Quick And Easy Wildlife Camera
This wildlife camera is really easy to put together. You should keep it in mind if you’re ever tying to figure out what’s eating the heads off of all of your tulips. [Revoltlab] put it together, and although there’s one fatal flaw in this particular system, the concept is quite sound.
The build uses a camera, paired with an ultrasonic range finder. When something passes within the pre-set distance for the sensor, a servo motor clicks the shutter button on the camera. It’s all driven by an Arduino and powered from a 9V battery.
If you watch the video after the break you’ll discover the flaw we mentioned. This is a disposable film camera and requires winding between pictures. That hasn’t been implemented yet. But we’ve got an old digital camera with a broken LCD screen which would be perfect for the job. We’d have to do a bit more work to turn the camera on before taking the picture though.
There are a couple of possible upgrades to the idea. [Revoltlab] mentions removing the IR filter from the camera and adding an infrared flash for night-vision shots. But we would also recommend ditching the servo motor for a simple remote shutter solution as a way to avoid scaring the wildlife with the motor noise.
3D Whiteboard Without The Whiteboard
This one is so simple, and works so well, we’d call it a hoax if April 1st hadn’t already passed us by. But we’re confident that what [William Myers] and [Guo Jie Chin] came up with exists, and we want one of our own. The project is a method of drawing in 3 dimensions using ultrasonic sensors.
They call it 3D Paint, and that’s fitting since the software interface is much like the original MS Paint. It can show you the movements of the stylus in three axes, but it can also assemble an anaglyph — the kind of 3D that uses those red and blue filter glasses — so that the artists can see the 3D rendering as it is being drawn.
The hardware depends on a trio of sensors and a stylus that are all controlled by an ATmega644. That’s it for hardware (to be fair, there are a few trivial amplifier circuits too), making this an incredibly affordable setup. The real work, and the reason the input is so smooth and accurate, comes in the MATLAB code which does the trilateration. If you like to get elbow deep in the math the article linked above has plenty to interest you. If you’re more of a visual learner just skip down after the break for the demo video.
Investigating Parking Assist Sensors
While his wife was out-of-town [James] jumped at the opportunity to do some snooping around with her Chevy Tahoe’s parking assist sensors. We can understand how pulling parts out of someone’s car would make them none too happy. But we find it hilarious that it’s a leased company car he’s tinkering around with. But we’re glad he did, the ten-page write-up he published about the project is a fascinating read.
You can see the control board above which is housed beneath the passenger seat. It uses a Freescale microcontroller to read from the four bumper-mounted ultrasonic sensors. But just looking at what parts are used obviously isn’t enough to satisfy a hacker’s appetite for knowledge. [James] busted out a CAN bus tool to sniff the data packets. These sensors use a custom chip designed by GM, utilizing a single wire communications system. He figures out the communication scheme and builds an mbed based test rig to read them directly.
[via Dangerous Prototypes]