Posts with «arduino hacks» label

Generate Clocks with the SI5351 and an Arduino

If you’re dealing with RF, you’ll probably have the need to generate a variety of clock signals. Fortunately, [Jason] has applied his knowledge to build a SI5351 library for the Arduino and a breakout board for the chip.

The SI5351 is a programmable clock generator. It can output up to eight unique frequencies at 8 kHz to 133 MHz. This makes it a handy tool for building up RF projects. [Jason]‘s breakout board provides 3 isolated clock outputs on SMA connectors. A header connects to an Arduino, which provides power and control over I2C.

If you’re looking for an application, [Jason]‘s prototype single-sideband radio shows the chip in action. This radio uses two of the SI5351 clocks: one for the VFO and one for the BFO. This reduces the part count, and could make this design quite cheap.

The Arduino library is available on Github, and you can order a SI5351 breakout board from OSHPark.


Filed under: Arduino Hacks, radio hacks
Hack a Day 27 Jun 12:00

Handheld Game System Powered by Arduino

These days, it’s easy enough to play games on the go. If you have a smart phone, you are pretty much set. That doesn’t mean you can’t still have fun designing and building your own portable gaming system, though.

[randrews] did just that. He started out by purchasing a small memory LCD display from Adafruit. The screen he chose is low power as far as screens go, so it would be a good fit for this project. After testing the screen with a quick demo program, it was time to start designing the circuit board.

[randrews] used Eagle to design the circuit. He hand routed all of the traces to avoid any weird issues that the auto router can sometimes cause. He made an efficient use of the space on the board by mounting the screen over top of the ATMega chip and the other supporting components. The screen is designed to plug in and out of the socket, this way it can be removed to get to the chip. [randrews] needs to be able to reach the chip in order to reprogram it for different games.

Once the board design was finished, [randrews] used his Shapeoko CNC mill to cut it out of a copper clad board. He warns that you need to be careful doing this, since breathing fiberglass dust is detrimental to living a long and healthy life. Once the board was milled out, [randrews] used a small Dremel drill press to drill all of the holes.

The final piece of the puzzle was to figure out the power situation. [randrews] designed a second smaller PCB for this. The power board holds two 3V coin cell batteries. The Arduino expects 5V, so [randrews] had to use a voltage regulator. This power board also contains the power switch for the whole system.

The power board was milled and populated. Then it was time to do some measurements. [randrews] measured the current draw and calculates that he should be able to get around 15 hours of play time using the two 3V coin cell batteries. Not bad considering the size.

[via Reddit]


Filed under: Arduino Hacks
Hack a Day 23 Jun 06:00

Infrared Controlled Remote Firework Igniter

With Independence Day just around the corner, American hackers are likely to find themselves blowing things up in the name of Independence. It’s all great fun but it can also be dangerous. The standard ignition method of “use a lighter and run away really fast” is not exactly safe. Instead of lighting your fireworks the old-fashioned way, why not follow [Facelesstech's] example and build your own infrared controlled remote igniter?

The first step was to decide how to actually ignite the firework fuse. [Facelesstech] had seen others use a car cigarette lighter for this purpose and he decided to follow in their footsteps. He started by removing the cigarette lighter from his own car and pulling it apart. Only one component was needed for this hack. The main heating element is a small disk with a “stem” on the end. If you apply 12V to the stem and attach the outer edge of the disk to ground, the igniter will quickly become hot.

[Facelesstech] originally thought he could just solder some wires to the device. However, the heating element gets so hot that the solder just melts every time it’s turned on. He then got creative and drilled a hole in a small block of wood that fits the heating element. The element is bolted into the wood and the bolt is used as a conductor for the electrical power.

The heating element is powered via a 12V relay. The relay is controlled by an Arduino Nano. The Nano allows two modes of operation. With the first mode, you simply press a button and the Nano will start a five second timer. The idea is to give you enough time to run to a safe distance before the firework is ignited. This isn’t much different from the old-fashioned method, but it does give you a slightly extended fuse. The second mode is where the project really shines. The Nano is also hooked up to an infrared receiver. This allows [Facelesstech] to press a button on an old television infrared remote control to active the igniter. This is a clever solution because it allows you to get to a safe distance without having to run a long wire. It’s also simple and inexpensive. Be sure to watch the video test of the system below.

[Thanks Dale]


Filed under: Arduino Hacks, Holiday Hacks

Meet the WIDGEDUINO

Arduino has made a name for itself by being easy to use and has become an excellent tool for rapid prototyping of an idea. If one wakes up in the middle of the night in a eureka moment and hammers out a contraption – using an Arduino as the brains is about as fast and easy as it gets.

With that said, the WIDGEDUINO aims at making this process even faster and easier. Bristling with an array of meters, graphs and data entry widgets, the WIDGEDUINO is sure to be a hit with hackers, makers and engineers alike.

It’s based on the .NET framework and was designed with Visual Studio Windows Presentation Foundation. The user simply writes a sketch using the WIDGEDUINO library, and connects to a PC via serial or Ethernet to gain access to the assortment of awesome widgets.

You can find a few examples here. We hope the creators will keep us updated on the progress of this impressive project. Be sure to stick around after the break for a video demonstrating what the WIDGEUINO can do.


Filed under: Arduino Hacks, Microcontrollers, news

Reflow Oven Controller with Graphic LCD

A reflow oven is one of the most useful tools you will ever have, and if you haven’t built one yet, now is as good a time as any. [0xPIT's] Arduino based reflow oven controller with a graphic LCD is one of the nicest reflow controllers we’ve seen.

Having a reflow oven opens up a world of possibilities. All of those impossible to solder surface mount devices are now easier than ever. Built around the Arduino Pro Micro and an Adafruit TFT color LCD, this project is very straight forward. You can either make your own controller PCB, or use [0xPIT's] design. His design is built around two solid state relays, one for the heating elements and one for the convection fan. “The software uses PID control of the heater and fan output for improved temperature stability.” The project write-up is also on github, so be sure to scroll down and take a look at the README.

All you need to do is build any of the laser cutters and pick and place machines that we have featured over the years, and you too can have a complete surface mount assembly line!


Filed under: Arduino Hacks, tool hacks

Hard Drive Clock is Simple and Elegant

[Aaron] has been wanting to build his own binary desk clock for a while now. This was his first clock project, so he decided to keep it simple and have it simply display the time. No alarms, bells, or whistles.

The electronics are relatively simple. [Aaron] decided to use on of the ATMega328 chips he had lying around that already had the Arduino boot loader burned into them. He first built his own Arduino board on a breadboard and then re-built it on a piece of protoboard as a more permanent solution. The Arduino gets the time from a real-time clock (RTC) module and then displays it using an array of blue and green LED’s. The whole thing is powered using a spare 9V wall wort power supply.

[Aaron] chose to use the DS1307 RTC module to keep time. This will ensure that the time is kept accurately over along period of time. The RTC module has its own built-in battery, which means that if [Aaron's] clock should ever lose power the clock will still remember the time. The RTC battery can theoretically last for up to ten years.

[Aaron] got creative for his clock enclosure, upcycling an old hard drive. All of the hard drive guts were removed and replaced with his own electronics. The front cover had 13 holes drilled out for the LED’s. There are six green LED’s to display the hour, and seven blue LED’s for the minute. The LED’s were wired up as common cathode. Since the hard drive cover is conductive, [Aaron] covered both sides of his circuit board with electrical tape and hot glue to prevent any short circuits. The end result is an elegant binary clock that any geek would be proud of.


Filed under: Arduino Hacks

The First Arduino Radar Shield

The very first fully operational radar Arduino shield was recently demonstrated at Bay area Maker Faire. It was built by [Daniel] and [David], both undergrads at UC Davis.

Many have talked about doing this, some have even prototyped pieces of it, but these undergrad college students pulled it off. This is the result from Prof. ‘Leo’ Liu’s full-semester senior design course based on the MIT Coffee Can radar short course, which has been going on for 2 years now. Next year this course will have 30 students, showing the world the interest and market-for project based learning. yet again showingWe  the influence of hackers on higher education.

Check out the high res ranging demo, where a wider band chirp was used to amazing results. Video below.


Filed under: Arduino Hacks, hardware

Do You Have Any Idea How Fast Your Blender Was Going?

Some people really love their smoothies. We mean really, really, love smoothies and everything about making them, especially the blenders. [Adam] is a big fan of blenders, and wanted to verify that his Vitamix blenders ran as fast as the manufacturer claimed. So he built not one, but two speed measuring setups. Scientific blender measurement method requires one to cross check their results to be sure, right?

Measuring the speed of a blender is all about the RPM. Appropriately, [Adam's] first measurement tool was an LED based stroboscope. Stroboscopes have been around for hundreds of years, and are a great way to measure how fast an object is rotating. Just adjust the speed of a flashing light until the rotating object appears frozen. The number of blinks per second is then equal to the Rotations Per Second (RPS) of the object being measured.Multiply by 60 seconds, and you’ve got RPM. [Adam] used an Arduino as the brains behind his stroboscope. He wired a dial up on his breadboard, and used it to adjust the flash rate of an LED. Since this was a quick hack, [Adam] skipped the display and just used the Arduino’s USB output to display speed measurements on his laptop.

There are possibilities for error with stroboscopes. [Adam] discovered that if the stroboscope was flashing at a multiple of the blade’s rotation speed, the blades would appear frozen, and he’d get an erroneous RPM value. Thankfully, [Adam's] Vitamix had asymmetric blades, which made the test a bit easier. He calculated his blades to be spinning at 380 RPS, or 23,000 RPM. Not satisfied with his results, [Adam] brought out Audacity, and ran a spectral analysis of the blender in operation. He found a peak at 378Hz, which was pretty darn close to his previous measurement. Since the blender has a 4 inch blade this all works out to a blade tip speed right around the claimed value of 270 MPH. We’re glad [Adam] found an answer to his blender questions, but our personal favorite blender hack still has to be the V8 blender created by the Top Gear crew.   [via HackerNews]


Filed under: Arduino Hacks, home hacks

640×480 VGA On An Arduino

There are dozens, if not hundreds of examples around the Intertubes of an Arduino generating a VGA video output. The Arduino isn’t the fastest chip by far, and so far, all of these VGA generation techniques have peaked out at lower resolutions if you want to control individual pixels.[PK] has an interesting technique to generate 640×480 VGA at 60 frames per second without overclocking. It’s hacky, it’s ugly, but surprisingly, it actually works.

The VGA standard of 640×480 @ 60 fps requires pixels to be clocked out at 25.175 MHz, and the ATMega chips found in Arduinos top out at 20 MHz. [PK] wanted to generate VGA signals without overclocking, He did this by doubling the clock frequency with digital logic. The ATMega generates a clock, an inverter delays that clock so it is 90 degrees out of phase, and the two clocks are XORed, doubling clock output of the micro. It produces a very ugly square wave at 32 MHz – an error of 27% compared to the VGA spec. Somehow it still works.

With a hilariously out of spec clock, the rest of the project was pulled together from [Nick Gammon]‘s VGA library, a 16×16 font set, and a project from [lft]. Video below.


Filed under: Arduino Hacks

Beating Simon

Virtually everyone has played Simon, that electronic memory game from the 70s, but who among us has actually beaten it? That was the goal of [Ben] and his 7-year-old daughter, and after a year of work, an Arduino, some servos, and a few Lego bricks, they’ve finally done it.

Instead of the large original Simon, [Ben] is using a key chain version of the game: much smaller, and much easier to build a device to sense the lights and push the buttons. The arms are made from Lego bricks, held up with rubber bands and actuated with two servos mounted on a polycarbonate cutting board.

To detect Simon’s lights, [Ben] connected four phototransistors to an Arduino. The Arduino records the pattern of lights on the Simon, and activates the Lego arms in response to that pattern. [Ben]‘s version of Simon has only a maximum of 32 steps in the final sequence, but that still means each game takes 528 button presses – and a lot of annoying beeps – to complete.

Videos below.


Filed under: Arduino Hacks
Hack a Day 09 Jun 12:00