Keeping A BRAT on its feet with the Lynxmotion Accelerometer

Here’s a slice of code that reads the 2D Lynxmotion Accelerometer and reacts to the robot falling over(or being set on any of its sides):wink:

I’ll be working on updating this code with more ability like walking around and avoiding obstacles.
Brat_Acc.zip (2.55 KB)

So what does he do, bend his legs?

Got a video?

Alan KM6VV

When the robot falls over to its front, back, or either side this program detects that and reacts to make the robot stand back up.

How about the accelerometers actively participating in the in the moves, so that the 'bot observes the CG? Kinda like a balancing 'bot.

Alan KM6VV

Here’s a video of it in action!

Looks great! Nice Job

Kurt

Yeah, it looks very nice. Simple and effective solution. Great demo!

Fun project. Nice work!