go away spammer

Author Topic: Using Arduino Uno for the 50$ robot  (Read 1942 times)

0 Members and 1 Guest are viewing this topic.

Offline vitalik53Topic starter

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
Using Arduino Uno for the 50$ robot
« on: March 23, 2012, 06:21:02 PM »
Hey guys,

i I was just wondering if its possible to use Arduino uno to implement the 50$ Robot with SHARP IR sensors, is there any Arduino functions that would replace the ATMega8 code Admin wrote
in separate files.  Also, how would you send a specific pulse to a servo, would you use the digitalWrite and the delay command? Thank you

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Using Arduino Uno for the 50$ robot
« Reply #1 on: March 23, 2012, 06:46:22 PM »
Hi,

i I was just wondering if its possible to use Arduino uno to implement the 50$ Robot with SHARP IR sensors,
It is.


is there any Arduino functions that would replace the ATMega8 code Admin wrote
in separate files. 
Just make a program to do the same thing. I'm sure you can find plenty of examples at either Arduino.cc or the Arduino code repository.


Also, how would you send a specific pulse to a servo, would you use the digitalWrite and the delay command? Thank you
There's plenty of servo libraries fr the Arduino. Get one of them an read the documentation.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline billhowl

  • Supreme Robot
  • *****
  • Posts: 376
  • Helpful? 32
  • Your success is in your hands.
Re: Using Arduino Uno for the 50$ robot
« Reply #2 on: March 23, 2012, 10:57:55 PM »
is there any Arduino functions that would replace the ATMega8 code Admin wrote
in separate files. 

Here is the code that can just copy into arduino IDE
http://www.societyofrobots.com/robotforum/index.php?topic=7759.msg59798#msg59798

Offline vitalik53Topic starter

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
Re: Using Arduino Uno for the 50$ robot
« Reply #3 on: March 23, 2012, 11:51:53 PM »
i understand how it works using the Servo.h library, but i need to convert 'Admin's' code for the SHARP IR rangefinder $50 robot, not the photoresistor $50 robot, into arduino. Also, if you have done the project using sharp ir, can you explain please what the scan_angle values 30 to 57 represent, and where does 'scan_angle>41' comes in ??? thank you

 


Get Your Ad Here

data_list