Posts with «arduino» label

adding wifi control input to a robot running Arduino

I would like to add wifi control to my robot.  Right now it uses an Arduino Mega2650 to run the main control program.  I'd like to add to this contol inputs from an Android smartphone app over Wifi.  What do you recommend to do this?  

adding wifi control input to a robot running Arduino

I would like to add wifi control to my robot.  Right now it uses an Arduino Mega2650 to run the main control program.  I'd like to add to this contol inputs from an Android smartphone app over Wifi.  What do you recommend to do this?  

A Trove Of Arcade Projects

[Ryan Bates] loves arcade games, any arcade games. Which is why you can find claw machines, coin pushers, video games, and more on his website.

We’ve covered his work before with his Venduino project. We also really enjoyed his 3D printed arcade joystick based off the design of a commercial variant. His coin pushing machine could help some us finally live our dream of getting a big win out of the most insidious gambling machine at arcades meant for children.

Speaking of frustrating gambling machines for children, he also built his own claw machine. Nothing like enabling test mode and winning a fluffy teddy bear or an Arduino!

It’s quite a large site and there’s good content hidden in nooks and crannys, so explore. He also sells kits, but it’s well balanced against a lot of open source files if you’d like to do it yourself. If you’re wondering how he gets it all done, his energy drink review might provide a clue.


Filed under: Arduino Hacks, misc hacks, Raspberry Pi

Keep smoke out of your apartment with an automated fan array

Imgur user “Bodaciousbus” set up his apartment window fans to only circulate air when not filled with smoke.

Living in a communal area like an apartment or condo has its benefits, but there are several hassles to deal with as well. One in particular are neighbors who smoke right outside. If you’d like to leave a window open for ventilation, perhaps in combination with a fan, this can be quite annoying.

Bodaciousbom solved this issue with a series of fans connected to a smoke detector sensor and an Arduino. If the air is OK, the fans are allowed to blow, pushing homemade flaps out of the way and ventilating the apartment. There is also a series of LEDs to show the current status of the outside air.

I’m still a rookie with Arduino, but an experienced tinkerer. This project took me a couple of hours to complete, but overall was not too bad. I can relax now, knowing that my window fan will only run when the air outside is free of cigarette smoke (among other things).

Are you faced with a similar problem? Be sure to check out the project in more detail here.

Arduino Blog 11 Nov 20:29

How to Easily Build a “Light Paintbrush”

Turn a Circuit Playground into a light-generating "paintbrush" for long-exposure photography.

Read more on MAKE

The post How to Easily Build a “Light Paintbrush” appeared first on Make: DIY Projects and Ideas for Makers.

ArduWorm: A Malware for Your Arduino Yun

We’ve been waiting for this one. A worm was written for the Internet-connected Arduino Yun that gets in through a memory corruption exploit in the ATmega32u4 that’s used as the serial bridge. The paper (as PDF) is a bit technical, but if you’re interested, it’s a great read.

The crux of the hack is getting the AVR to run out of RAM, which more than a few of us have done accidentally from time to time. Here, the hackers write more and more data into memory until they end up writing into the heap, where data that’s used to control the program lives. Writing a worm for the AVR isn’t as easy as it was in the 1990’s on PCs, because a lot of the code that you’d like to run is in flash, and thus immutable. However, if you know where enough functions are located in flash, you can just use what’s there. These kind of return-oriented programming (ROP) tricks were enough for the researchers to write a worm.

In the end, the worm is persistent, can spread from Yun to Yun, and can do most everything that you’d love/hate a worm to do. In security, we all know that a chain is only as strong as its weakest link, and here the attack isn’t against the OpenWRT Linux system running on the big chip, but rather against the small AVR chip playing a support role. Because the AVR is completely trusted by the Linux system, once you’ve got that, you’ve won.

Will this amount to anything in practice? Probably not. There are tons of systems out there with much more easily accessed vulnerabilities: hard-coded passwords and poor encryption protocols. Attacking all the Yuns in the world wouldn’t be worth one’s time. It’s a very cool proof of concept, and in our opinion, that’s even better.

Thanks [Dave] for the great tip!


Filed under: Arduino Hacks, security hacks
Hack a Day 11 Nov 16:30

Make a WiFi-controlled mini robot using the new MKR2UNO

A few days ago, we launched the MKR2UNO Adapter, which enables you to easily turn an Arduino Uno form factor project into a MKR1000-based one. Simply mount your IoT board to the adapter, plug in any Uno shield and have a wireless device in no time.

Our newly-published tutorial provides a step-by-step overview of how to build a WiFi-controllable robot using the MKR2UNO Adapter with a MKR1000 and an Arduino Motor Shield.

This project combines the Arduino MKR1000’s web server and Arduino Motor Shield’s capabilities to drive a pair of different DC motors. A basic interface is hosted and hard-coded in the MKR1000, allowing the user to maneuver the robot up, down, left or right.

Check out all of the schematics and code here!

Arduino Blog 11 Nov 15:08

Control a lamp with an NES Zapper and Arduino

If you grew up in ’80s or early ’90s and owned a Nintendo system, chances are you’ve played Duck Hunt. In the classic light gun shooter video game, players would aim their NES Zappers at duck targets as they appeared on the TV screen. So what do you do when you still own the once-popular accessory? If you’re Warner Skoch, you turn it into a controller for your lamp and small devices.

The setup consists of a couple Arduino Pro Minis. Skoch embedded one board in the Zapper with an IR emitter and another in a box with an IR receiver, which also has an outlet for him to plug in his lamp or other gadget.

The receiver watches for a signal from the Zapper, which then triggers the relay inside the box on and off. The actual IR receiver part is separate, however, mounted behind a Duck Hunt duck made from Perler beads.

Spark up some NES nostalgia and watch Skoch’s project in action below!

Launitor Saves You From Accidentally Smelly Clothes

[domiflichi] is human and fallible. So he can’t be blamed for occasionally forgetting the laundry in one of the machines and coming back to a less than stellar result. However, while fallible, he is not powerless.

What if his washer/dryer could email or text him about his laundry? It seemed simple enough. Add a vibration sensor to the side of the machine along with some brains. When the load is done it will bother him until he comes down to push the button or There Will Come Soft Rains.

He started off with an Arduino-and-ESP8226 combination and piezo sensors. The piezos had lots of shortcomings, so he switched to accelerometers and things worked much better. We really like the way he mounts them to the side of the washer dryer using the PCB’s mounting screws as angle brackets. The case is a standard project box with some snazzy orange acrylic on the front.

It took some fiddling, but these days [domiflichi]’s clothes are fresher, his cats fed, and his appliances more aware. Video of it in operation after the break.


Filed under: Arduino Hacks, home hacks

Burn EPROMs with an Arduino Mega

If you’ve got a cartridge-based gaming system, this EPROM burner will let you load whatever game you want!

Robson Couto recently acquired an old SNES. A great console for its time, but it only came with one cartridge, a bootleg copy of Mortal Kombat. Legalities aside, he decided that he would experiment with his own bootleg cartridge creator via an EPROM burner made as an Arduino Mega shield.

His process involves finding an unwanted game cartridge (he prefers sports, though your results may vary), burn the ROM, then exchange the cartridge ROM for the newly-burned ROM.

According to Couto, EPROM is “easier to program than flash.” and you can see how he did it on his blog post here. Code for the project is also available on GitHub.