Posts with «arduino» label

Visual Navigator. Making it MOBILE !

Obstacle avoiding vehicle, continue in “3D Laser Range Finder” series ( project 1, project 2). The basic idea is the same, measuring distance using red laser pointers, CCD analog camera and Arduino UNO.  Modification was made in geometry.  Two lasers were set for “far field” obstacle detection, few meters in front of vehicle on left or right side. Primary mission is to trigger left / right turn before a car get too close to the “continuous” but not necessarily “high”  object, for example, sidewalk stone. Of course, this distance depends on the vehicle speed, and “alert” should be dispatched in right time “window”, or there would be no space left to making a turn ( proportional speed adaptation is not implemented yet). Low height of such road infrastructure is making useless ultrasound based range finder.

 

Two additional lasers were set in “cross” configuration, in order to detect any object that comes dangerously close to the front of vehicle. “Near field” obstacle detection or “head on collision” avoidance. Theirs two beams form reflective “trip-wires” and able to detect as narrow object as leg of a chair or desk, open door frame, anything that at least 1 mm wide.  One laser, pointed to the left, is also works as sidewalk / wall follow navigation system, keeping this distance constant.

Now couple words on “autopilot” algorithm. Three main feature of the project:

  1. wall / sidewalk following;
  2. “far field” obstacle avoidance;
  3. “near field” head on collision avoidance.

were classified in 3 priority levels: 1 – warning, 2 – major, 3 – critical.

0 – clear level, corresponds to normal  R/C radio control, or by  ”man / operator”  navigation via  remote R/C module. Operator is also has “authority” to decline warning class navigator status. But it’s not the case when navigator’s “autopilot” subroutine performs class 2 or 3 maneuver, with status “major” and “critical”. When vehicle performs maneuver 2, “left / right” command from R/C remote module are ignored, the same with “forward / backward” command in status “3 – critical”, making algorithm completely “fool – proof”.

More video will be posted, Link to Arduino UNO sketch: Visual_Navigator.

 5 August 2012.

I’d like to publish more pictures from “inside”, which show interface between arduino and R/C receiver module in the car. Well, not quite arduino, I build a “clone” using pre-programmed AtMega328. As you can see, the receiver was left almost intact, what I did, is just identified two on-board H-bridges which supply power to steering control motor and main vehicles motor-driver. Than, remove 4 resistors in series with controls lines, and routed 8 wires to the arduino ( 4 inputs from R/C receiver and 4 outputs to H-bridges ). Here you are, now arduino could intercept any command coming from R/C transmitter, and based on data from the sensors, make a decision if it makes sense to follow them. Also, “autopilot” function could “directly” address two motors in order to execute “obstacle avoiding” maneuver not asking anyone’s permission!.  What more, arduino control a power delivered to motors via software PWM,  making 7! different speed level available like in real vehicle. Unfortunately, the model I “hack” doesn’t use proportional steering control, but still PWM power management helpful to save a battery energy, limiting unnecessary current delivered to motor.

 


Maker Faire Detroit: Mind Flame Interview

Maker Faire Detroit is almost upon us, kicking off tomorrow, July 28, at 9:30, and running through the weekend! The excitement is building as makers are putting the finishing touches on their projects and preparing for showtime. To wrap up our series of interviews with Detroit makers, we chat with Matt Oehrlein, president of i3 Detroit hackerspace, and co-creator of the red-hot Mind Flame project.

1. Describe the project you’re bringing to Maker Faire Detroit this year. What are the components and how does it work?
The piece is a brainwave-activated flame effects display called “Mind Flame.” Two participants wear EEG headsets that read electronic pulses from their brains. They measure your intensity of concentration, and when it is at a certain level, the display erupts with huge jets of flame. The EEG headsets are off-the-shelf headsets from a company called NeuroSky. They measure small electrical pulses that originate from neurons “firing” in your brain, and translate those pulses into measurements like “concentration” or “attention,” which can be read wirelessly from your computer, or an Arduino.

The flame effect part involves some propane tanks for the fuel, some empty tanks as a gas accumulator, an electronic solenoid valve, and a hot carbide igniter similar to something you’d find in a gas clothes dryer. The electronic valve is opened by a relay controlled by a microcontroller, the propane gas whooshes out of the accumulator, past the red hot igniter, and creates a pretty satisfying fireball or flame jet.

2. What inspired you to make it and how long did it take from concept to creation?
After seeing all the awesome flame effects pieces at Maker Faire Detroit 2011, I wanted to do a flame effects piece for 2012. I really like to do projects that participants can interact with, so brainwave activation was my choice for implementing that in a you-don’t-see-that-every-day fashion. I had the opportunity to get help from Josh “Bacon” McAninch, who does the flame effects work for the very popular Gon KiRin fire-breathing dragon, and my friend and fellow i3 member, Ed Platt, who is a smart software whiz in general. It took around a month to go from concept to creation. Maybe 40 hours total. A huge chunk of time was just spent on me getting educated on how to safely do flame effects, and shopping for those hard-to-find plumbing parts.

3. Does your project work off the combined electronic pulses from the two headsets, or can you host dueling headsets?
The project supports dueling headsets. Actually, the entire project is two mostly independent flame effect systems sitting right next to each other. I thought it would add an interesting element of competition to have people try to out-concentrate the other participant. The end game is to have a duel of some kind where the participants try to burn down the opposing player’s little wooden house, or wooden stick figure, or pop a balloon, or something like that. We are still experimenting on what is the most fun and still cost effective for a large event, but just sending huge fireballs through the air is still pretty satisfying.

4. Do you have any records set yet by concentration ninjas?
I’m not sure. Ed is definitely better than me at controlling his brainwaves, but not a lot of people have tried it yet. I have a feeling people who meditate regularly will do well at this game. We are still tuning the rules of the concentration portion of the game, so no one has really gotten a chance to really hone their tactics yet.

3. Have you exhibited at Maker Faire previously?
I haven’t! I am actually fairly new to the Maker Faire/maker scene. It’s been a little over a year now since I joined a hackerspace and really dove in. I volunteered last year just to help out i3 Detroit (hackerspace) members and get a feel for the event.


Matt Oehrlein (left) and Ed Platt (right) and their Mind Flame device.

4. Tell us about yourself. How did you get started making things and who are your inspirations?
I’m a 20-something-year-old engineer. As a kid, I didn’t really fit that common narrative of taking apart everything I could get my hands on. I definitely built a lot of things, but my weapon of choice was definitely my K’Nex set over Legos or dismantled toys. I was into computers throughout high school, but I think a major milestone in my life was my first microcontrollers class in college. Being able to program something that I could attach sensors or motors to and have it interact with the physical world was huge for me. I felt like I could give little bits of intelligence to things that would ordinarily behave very predictably, or not move at all. By the end of that class, I had stocked up on electronics, a soldering iron, and other tools, and had my own little electronics lab setup in my bedroom.

As far as inspirations go, I generally don’t have role models that I want to emulate as a whole, but I do find specific characteristics in people that I admire. Right now, a characteristic I am trying to get better at is just raw, unrestricted creativity. I believe thinking creatively is one of the most important skills for success, and I see a lot of people at hackerspaces that are able to just generate a lot of really great, attention-grabbing, wacky ideas that have the potential to make you go, “Huh… It never even crossed my mind to do something like that, but that’s really cool!” I think getting a degree in science or engineering can kill creativity in people because students (especially undergraduate) are taught to find the one right answer following a very concrete process, and not to think of multiple solutions or how to reframe a problem. You could say I have some un-learning to do.

5. You’re the president of i3 Detroit hackerspace. What makes i3 distinctly Detroit?
Manufacturing. There is so much infrastructure and community here to support the automotive and manufacturing industry. Because of this, there are abundant resources for people who want to weld or machine parts. It’s so awesome to be able to have members who can teach you how to build something out of steel or brass, and actually be able to just walk down the street to one of many industrial equipment or materials suppliers to buy everything you need. I have yet to visit a hackerspace with a better-equipped machine shop than ours. The economic struggles of the Detroit area are, overall, a benefit for a hackerspace. Our rent is comparatively low, and we can pick up high quality used equipment for a huge discount from local companies that are liquidating.

6. What’s your favorite tool at the hackerspace?
I’m mostly an electronics guy, and am most comfortable around a soldering iron, wire strippers, and multimeter. However, I think it’s pretty hard to beat a good laser cutter. Cutting things with light is tough to trump for the coolness factor. I could watch that thing go for hours.

7. What’s your day job?
I am an R&D Control Theory Engineer for Eaton Corporation. The group I work in does all kinds of cool simulation, modeling, and optimization of complex systems. Things like how to use machine learning to optimize hydraulic controls in construction equipment for better fuel economy, or how to predict and prevent data center outages using statistical modeling. It’s a great gig and I love it.

8. What do you love most about Detroit?
The people. I’m not a Detroit native, but people here are the most down-to-earth people in the world. People from Detroit leave their egos at the door. They won’t talk at you about their new mobile/web/social media startup flavor of the week they are working on and how they will be the next Facebook if they could just get some venture capital. They don’t look down on anyone for being from the wrong type of family, tax bracket, or neighborhood. They are humble, sympathetic, and real. They can recognize their strengths and their faults, and are amazing friends.

To test your concentration ninja skills and check out a plethora of other creative maker-made projects, come join us at Maker Faire Detroit this weekend!


Filed under: Arduino, Hackerspaces, Interviews, Maker Faire

Arduino Leonardo Video Introduction

Drawbot software aims to do it better than the rest

There are plenty of drawbot projects out there, many of which come with their own special software in tow. While some of these packages are easier to use than others, [Dan Royer] is pretty sure he can do it better.

Looking for a fun and engaging way to teach STEM subjects in schools across the country, [Dan] developed a relatively simple drawbot which can be constructed by a wide range of age groups. While he is trying to get schools to purchase his robot kits, we’re guessing that our readers would be more inclined to build their own.

So what does [Dan] have to offer that might interest you? Well, he says he has developed some drawbot software that’s pretty darn easy to use. Rather than multiple applications generating machine-specific code, his software will transform your picture into a line drawing in one easy step. The app uses a traveling-salesman algorithm to generate drawings with nary a crossed line in sight before outputting the resultant machine instructions in easy-to-use GCode.

We don’t have a drawbot of our own handy to test his software out, so if you do happen to give it a shot, let us know how it worked for you in the comments.


Filed under: robots hacks
Hack a Day 27 Jul 18:01

Building an artificial moon for Burning Man

If you were lucky enough to score passes to this year’s Burning Man, be sure to keep a look out for [Laurence Symonds] and crew, who are putting together an ambitious fixture for the event. In reality, we’re guessing you won’t have to look far to find their giant moon replica floating overhead – in fact it will probably be pretty hard to miss.

They are calling the sculpture “Lune and Tide”, which of an 8 meter wide internally lit moon which hovers over a spinning platform that’s just as big across. The inflatable sphere is made up of giant ripstop nylon panels which are home to 36,000-odd sewn-in LEDs. The LEDs illuminate the sphere to reflect the natural color of the moon, though with a simple command, [Laurence] and Co. can alter the lighting to their heart’s content.

If Hack a Day’s [Jesse Congdon] makes his way out to the festival again this year, we’ll be sure he gets some footage of Lune and Tide in action. For now, you’ll have to satisfy your curiosity by checking out the project’s build log.


Filed under: arduino hacks, led hacks

A much larger rainbow board of many ping pongs

[George] started with an 8×8 grid, but just couldn’t help himself from upscaling to this 32×16 pixel ping pong ball display. That’s right, It’s a 512 pixel array of fully addressable RGB LEDs diffused with one ping pong ball each.

We featured the predecessor to this project back in January. That one was an 8×8 display using a Rainbowduino as the controller. [George] took what he learned from that build and expanded upon it. The larger display is modular. Each module starts as an 8×8 grid which connects back to the Arduino using a breakout shield with some Ethernet jacks used as quick connects. The LEDs are driven by 595 shift registers, with transistors which protect the logic chips from the currents being switched.

He had a lot of help soldering all the connections for the display and ended up bringing it to show off at the Manchester mini maker faire. See it in action in the video after the break.


Filed under: led hacks
Hack a Day 27 Jul 15:01

Tracked Telepresence Robot

A friend of mine (Dimos) from another site (www.GRobot.gr) started building a tracked robot that would be operated remotely.

read more

Arduino, resistor, and barrel plug lay waste to millions of hotel locks

The security flaws on this common hotel keycard lock are nothing short of face-palmingly stupid. Look closely at the picture above. This is a hotel room door swinging open. The device he holds in his hand is an Arduino connected to the OUTSIDE portion of the door lock. It takes approximately 200 milliseconds from the time an attacker plugs the device in, until the door can be opened. Yes, in less than 1/4 of one second an Arduino can open any of the millions of these locks in service.

The exploit in Onity programmable keycard locks was revealed by [Cody Brocious] at the Blackhat conference. Apparently the DC barrel jack on the outside of the lock serves as a one-wire protocol interface. Once communications are established a 32-bit sitecode can be read from any of the locks and immediately used to open the door. There is no authentication or encryption used to obfuscate this kind of attack. To make matters worse, you can even read out master key and skeleton key codes. These codes facilitate ‘magic’ keys used to open a variety of different doors through the system.

We’re no strangers to easy hotel beak-ins. But how can a digital lock possibly be sold with this type of vulnerability present? Really!?

Here’s the white paper on the exploit as well as the slides from his talk (PDF).

[via Reddit]


Filed under: cons, security hacks
Hack a Day 25 Jul 20:01

What is your favorite Arduino compatible board?

I do like a lot of controllers (and I am sure there are more to come!)

On the subject of the Arduino:

What is your favorite Arduino (program / form factor) compatible board???

Mine is: The Uno32 because it is a fast Arduino and can be so much more (has a PIC 32 bit chip)! I still wish it was a 5V I/O board, but 3.3V is here to stay...

 

Let's Make Robots 25 Jul 08:33
arduino  avr  compatible.  uno32  vote  

Hacker finds flaw in hotel locks, can ruin your vacation with $50 DIY gadget

Admittedly, the headline is designed to get your dander up. You're in no immediate danger of a technologically-gifted thief plugging a couple of wires into your hotel door and making off with your sack of souvenirs from the Mall of America. But that's not to say it's impossible. Cody Brocious, who was recently brought on by Mozilla to work on Boot to Gecko, is giving a presentation at the annual Black Hat conference in Vegas where he demonstrates a method for cracking open keycard locks with a homemade $50 device. The hack only works on locks made by Onity at the moment, and real life testing with a reporter from Forbes only succeeded in opening one of three hotel doors. Still, with between four and five million Onity locks installed across the country (according to the company), that is a lot of vulnerable rooms. The attack is possible thanks to a DC jack on the underside of the lock that's used to reprogram the doors. This provides direct access to the lock's memory, which is also home to the numeric key required to release the latch -- a key that is protected by what Brocious described as "weak encryption." Ultimately the source code and design for the Arduino-based unlocker will be published online alongside a research paper explaining how these locks work and why they're inherently insecure. The hope is that manufacturers will take notice and improve the security of their wares before the world's ne'er-do-wells perfect Brocious' technique.

Filed under: Misc. Gadgets

Hacker finds flaw in hotel locks, can ruin your vacation with $50 DIY gadget originally appeared on Engadget on Tue, 24 Jul 2012 18:34:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments