Jani-6

Posted on 31/01/2012 by fizikus
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

This is my second robot: Jani-6 (named after Johnny 5)  It is a Bluetooth remote controlled robot, which is scanning a Sharp IR distance sensor with a servo, and displaying the picture on the PC in Processing (LINK). The robot can be controlled with icons in Processing too.The AVR code is controlling the DC motors, rotating the servo to a given angle, measuring the Sharp sensor value, and sending the servo angle data and the sensor value to the PC via Bluetooth. (ATmega8 ...


Jani-6

This is my second robot: Jani-6 (named after Johnny 5)
 
 
It is a Bluetooth remote controlled robot, which is scanning a Sharp IR distance sensor with a servo, and displaying the picture on the PC in Processing (LINK). The robot can be controlled with icons in Processing too.
The AVR code is controlling the DC motors, rotating the servo to a given angle, measuring the Sharp sensor value, and sending the servo angle data and the sensor value to the PC via Bluetooth. (ATmega8 @ 7.372800MHz crystal, serial communication speed: 9600 baud)
 
The AVR code (Jani6.c): LINK
 
The Processing code is reading the servo angle and distance sensor values sent by the AVR. Linearizing the measured values of the Sharp GP2Y0A21YK sensor to get the distance of the objects front of the robot (LINK). And sending commands to control the movement of the robot.
 
 
The Processing code (Jani6.pde) and two videos at the bottom of the page: LINK

Bluetooth remote controlled robot with scanning Sharp IR sensor

  • Actuators / output devices: Tamiya twin gearbox
  • Control method: remote controlled via Bluetooth
  • CPU: AMTEL AVR ATMEGA8
  • Operating system: windows XP + Processing
  • Power source: 4 AA batteries + 9V battery
  • Programming language: winavr
  • Sensors / input devices: Sharp IR Range sensor on servo
  • Target environment: indoors
LikedLike this to see more

Spread the word

Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post