Using Ultrasonic Sensors To Measure And Log Oil Tank Levels

[Mike] lives in a temperate rainforest in Alaska (we figured from his website’s name) and uses a 570 gallon oil tank to supply his furnace. Until now, he had no way of knowing how much oil was left in the tank and what his daily usage was. As he didn’t find any commercial product that could do what he wanted, he designed his own solution. In his write-up, [Mike] started by listing all the different sensors he had considered to measure the oil level and finally opted for an ultrasonic sensor. In his opinion, this kind of sensor is the best compromise between cost, ease of use, range and precision for his application. The precise chosen model was the ping))) bought from our favorite auction website for around $2.5.

[Mike] built the custom enclosure that you can see in the picture above using PVC parts. Enclosed are the ultrasonic sensor, a temperature sensor and an LED indicating the power status. On the other side of the CAT5 cable can be found an Arduino compatible board with an XBee shield and a 9V battery. Using another XBee shield and its USB adapter board, [Mike] can now wirelessly access the tank oil level log from his computer.

A Speaking Ultrasonic Distance Sensor

speak

[Klaus] wanted some sort of aid for parking his car, and after running across a $4 ultrasonic sensor, decided to build his own speaking distance sensor (.de, Google Translation).

Inside [Klaus]’ device is an Arduino Uno, an HC-SR04 ultrasonic distance sensor, and an Adafruit Wave Shield. Originally, this parking/distance sensor used a small TFT to display the distance to an object, but after a few revisions, [Klaus] redesigned the device to speak the current distance, courtesy of an SD card and a soothing female voice.

Right now, the voice is set up to speak the distance from an object to the sensor from 10 cm to 1 m in 5cm increments. This isn’t the limit of the sensor, though, and the device can be easily reconfigured to sense a distance up to four meters.

The board doesn’t have an amplifier or speaker, but with the addition of a small amplifier, [Klaus]’ device is loud enough to be heard in even the noisiest environments.

Video demo below.

Continue reading “A Speaking Ultrasonic Distance Sensor”

Something WiFi This Way Comes; Wicked Device Unveils Wildfire

WildFire-v2

Wicked Device has released the WildFire board to the world. WildFire is a an Arduino compatible processor board with a Texas instruments CC3000. WildFire adds a few interesting features to the typical ‘Duino clone. Instead of the ATMega328 used in the Arduino Uno, the WildFire uses an ATMega1284p, which gives 16K of SRAM and 128K of Flash ROM (as compared to 2K RAM and 32K Flash in an Uno). A micro SD card slot is also on-board for data logging functions.

In the name of full disclosure, we should mention that [Adam] has known [Victor and Ken] over at Wicked Device for a few years now, and got his hands on a pre-release version of the board to play with. As with any non-standard Arduino board, the WildFire does require some modification to the Arduino IDE. This took a bit of time with the pre-release board. Wicked Device has streamlined the process since then. Everything is contained in a zip file on their product page. Once the IDE is up and running, its easy to get the WildFire’s CC3000 connected to your local access point. From there the internet is your playground. For those of you already asking “So, Hack?”, watch this space – Adam is working on a hack using the WildFire board which will show up in a few days. 

7-Segment Display Matrix Visualizes More Than Numbers

digit-7-segment-visualization

You can pretty much tell that this is an outstretched hand shown on a large grid of 7-segment displays. But the only reason you have to look twice is because it is a still photo. When you see the video below it’s more than obvious what you’re looking at… partly because the device is being used as an electronic mirror.

In total there are 192 digits in the display. To make things easier, four-digit modules were used, although we still couldn’t resist showing you the well-organized nightmare that is the wiring scheme. Each module is driven by its own discrete Arduino (driving 28 LEDs as they’re apparently not connecting the decimal point). All 48 Arduino boards receive commands from a Raspberry Pi which is running openFrameworks to generate the animations.

Now of course the project was well under way before [Peter] discovered a similar display from more than a year ago. But we’re glad that didn’t stop them from forging ahead and even building on the idea. They added a camera to the display’s frame which lets it mirror back whatever is in front of it.

What popped into our minds was one of the recent entries for the Trinket contest.

Continue reading “7-Segment Display Matrix Visualizes More Than Numbers”

Primer Tutorials For Arduino IR Remote Cloning And Keyboard Simulation

We’ve featured loads of IR Arduino projects and they are all exciting and unique. The projects spring from a specific need or problem where a custom infrared remote control is the solution. [Rick’s] double feature we’re sharing in this article is no exception, but what is interesting and different about [Rick’s] projects is his careful and deliberate tutorial delivery on how to copy infrared remote codes, store the codes with a flavor of Arduino and then either transmit or receive the codes to control devices.

In the case of his space heater an Arduino was used to record and later retransmit the “power on” IR code to the heater before he awakes on a cold morning. This way his room is toasty warm before he has to climb out from under the covers, which has the added benefit of saving the cost of running the heater all night. Brilliant idea if you don’t have a programmable heating system. Maybe he will add a temperature sensor someday so it doesn’t have to run on strictly time.

A more complicated problem was controlling DVD playback software on his computer remotely. [Rick] says he sits at a distance when watching DVDs on his computer but his computer doesn’t have a remote control like a normal TV. Arduino to the rescue again! But this time he pulls out a Teensyduino because of its added feature of being able to emulate a keyboard and of course the computer DVD playback software accepts keyboard commands. Once again he used the “IRremote.h” library to record certain button codes from an old remote control before adding the retrieved codes to a Teensyduino setup and programmed to receive and decode the remote’s IR signals. The Teensyduino then maps the IR codes to known keyboard shortcuts and transmits the simulated keyboard shortcut commands to the computer via its USB cable where the DVD playback software recognizes the key commands.

As always [Rick] shares all his libraries and sketches on his blog so follow the above links to download the files. You will not miss a single step if you follow his excellent videos below. Plus, here are some other ways and other tools for using an IR remote with your Arduino and cloning an infrared remote.

Continue reading “Primer Tutorials For Arduino IR Remote Cloning And Keyboard Simulation”

Raspis And Arduinos For FM Broadcast Streaming

radio

The biggest Internet provider in Portugal needed a system to turn FM broadcast stations in Angola, Cabo Verde, and Mozambique into a web stream. Like every good project, the people in charge of the engineering turned to Hackaday staples – Raspberry Pis, Arduinos, and TP-Link routers, all stuffed into an awesome modular rackmount cabinet

Each module in this gigantic rackmount system includes an Arduino, a Raspberry Pi, a Silicon Labs Si4705 FM receiver chip, and a TI USB audio capture chip that allows the Pi to turn the audio out from the radio receiver into an audio stream. All the Pis are connected to a 24 port Ethernet switch and to a separate master Raspi that converts data received from each module into an icecast stream.

The engineering behind each module is pretty impressive – they’re all hot swappable, have remote shutdown capability, and have voltage divider on the backplane to detect where in the rack it’s placed. It’s a very cool piece of engineering and a very cool example of using off-the-shelf hardware to do something that could be much, much harder.

Hacking A Cheap Toy Quadcopter To Work With Arduino

Building your own quadcopter is an expensive and delicate ordeal. Only after you navigate a slew of different project builds do you feel confident enough to start buying parts, and the investment may not be worth your effort if your goal is to jump right into some hacking. Fortunately, [Dzl] has a shortcut for us; he reverse engineered the communication protocol for a cheap toy quadcopter to work with an Arduino.

The cheap toy in question is this one from Hobbyking, which you can see flying around in their product demonstration video. [Dzl] cracked open the accompanying control handset to discover which transceiver it used, then found the relevant datasheet and worked out all the pin configuration involved in the SPI communication. Flying data is transmitted as 8 byte packets sent every 20 mS, controlling the throttle, yaw, pitch and roll.

[Dzl] took the build a step further, writing an Arduino library (direct Dropbox download link) that should catch you up to speed and allow you to skip straight to the fun part: hacking and experimenting! See his quick video after the break, then convince yourself you need a quadcopter by watching this one save its creator, [Paul], the trouble of walking his son to the bus stop.

Continue reading “Hacking A Cheap Toy Quadcopter To Work With Arduino”