Author Topic: using the $50 robot  (Read 3447 times)

0 Members and 1 Guest are viewing this topic.

Offline cooldogTopic starter

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
using the $50 robot
« on: December 13, 2007, 06:43:51 AM »
note: i am just doing reseach for future projects  ;)

i was wondering if it us possible to use the $50 robot circut board for these features.

have multiple bump sensors (4)
edge detection
when it starts up it turns on multiple motors and leaves them on until it is turn off
to be able to notice when it is running low on battery (color detection of an LED light)
find a base station (IR beacon?)

okay so now what is the best way to have drop off edge detection?

i read that you can sub the photocells for IR range finders without any code change and it will run towards IR light instead of regular light is this possible.
 
i was wondering if i could use on of those cheap motion detectors that when acatvated it sends a sighnal  a base staitionturning on an LED. could i us this in a robot to confin it to one space so if it goes near it the LED trns on letting the robat knbow that it us not allowed pass that plac.
« Last Edit: December 13, 2007, 07:20:19 AM by cooldog »
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: using the $50 robot
« Reply #1 on: December 13, 2007, 10:14:40 AM »
all possible, just need to program it right

and course have the right hardware to go with it
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: using the $50 robot
« Reply #2 on: December 13, 2007, 10:50:01 AM »
Bump sensors:
Multiple bump sensors is relatively easy, all you need to do is have each bump sensor have a +5vdc to one side and then each one go to its own input pin on the MCU so that when 5v is detected on that pin, you can let it know which side it bumped on.

Edge detection:
You mean like detect when its hovering over the edge of a stair case? You can use a simple IR range finder that can measure extremely short distances (0cm to like 30cm) so that when suddenly its sensor range goes from ~3cm to really anything over 100, it knows that it could get damaged due to a fall if it continues any further.

turn on multiple motors, keep them on:
just put a mosfet in series with your motor so that when the mosfet receives a high statement on its signal lead, it opens to let power get to your motors. It will stay on until you output a low statement to the pin.

Low battery detection:
http://www.societyofrobots.com/schematics_batterymonitor.shtml ;)

find a base station:
Possible. Many different ways of going about it. search around in the forums :)
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline cooldogTopic starter

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: using the $50 robot
« Reply #3 on: December 13, 2007, 07:07:59 PM »
thanks that helped a lot.

i was thinking of using IR becons to find the staiton but they are like $50!!! so i think i will get 2 sharp ir range finders put them on the front and use a photovore algoritum so when the robot has a low battery it will activate the ir sensors on the front to look for IR light. (i will put like 10 IR LEDs on the base stition so it will find it. although i will have to make multiple base staitions one of each room or is there a way to have it ravel to a pusific room without doing the entire loop again \backward to the charger)?
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline cooldogTopic starter

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: using the $50 robot
« Reply #4 on: December 13, 2007, 07:36:31 PM »
question can i use pseudocode and proram it dirrectly to my robot or will it need to be converted to C

http://www.societyofrobots.com/programming_photoresistor.shtml
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: using the $50 robot
« Reply #5 on: December 13, 2007, 07:59:05 PM »
if you put an IR LED on the top of your charging base, and put a focused IR receiver on the top of your bot, you can hone in on the base by looking around with the IR receiver... that should work ok....
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: using the $50 robot
« Reply #6 on: December 13, 2007, 08:02:58 PM »
lol pseudocode isnt actually a real language. nothing understands pseudocode. Pseudocode is used by humans to better understand a program
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline cooldogTopic starter

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: using the $50 robot
« Reply #7 on: December 13, 2007, 08:48:03 PM »
okay just checking

i was thinking for my robot i know what i want it to do:

when turned on backup from charger
then drive around with the edge detectors and bump sensors on
if it is bumped turn 90 degrees and continue
if it detects an edge turn 180 degrees and continue
if battery is low actrivate power save mode ( turn off bump sensor, and lights )
turn on photovore algorithm and turn 360 degrees 2 times or until detects IR light
if no IR light is detected then turn on bump sensor and continue to leave the photovore algoritthum searching
when Ir light is detected turn toward object and continue towards the light source
when power is detected on contact plates tun off all sensors and lights.
when power reaches certain level turn on power to sensors and lights leaving photovore off
drive backwards for 30 seconds then resume to regular behavior until turned off or or battery is low

the more complex part is the acceptions EG.

if turned on and power is detected on contact plates but battery is not charged remain on charger till battery is full then return to regular behavior
if turned on and no power is detected on contact plates and power is okay start regular behavior
if turned on and battery is low but there is no power on contact plates search for charger

can you tell me what hardware i will need to accomplish this
 also i will probably need the upgraded microcontroller if i am using the $50 robot circut broad

keep in mind that this is just some planning i may take on this challenge later on in life (i am just learning C)
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: using the $50 robot
« Reply #8 on: December 13, 2007, 09:06:50 PM »
well you cant really "turn off" a bump sensor. All it really is is a switch that gets pressed when something hits it. it draws no energy unless something contacts it.

30 seconds is a very long time. thing about it, walk with the back of your foot touching the front of your other foot and take steps like that counting to 30 seconds and see how many walls youve walked through lol. 3 seconds should be very sufficient to get your bot clear of the charging station.

im tired so thats all the help I can give at the moment. Otherwise my typing will turn into illiterate garbled chicken scratch.
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline cooldogTopic starter

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: using the $50 robot
« Reply #9 on: December 14, 2007, 05:47:43 AM »
okay get some sleep
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline cooldogTopic starter

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: using the $50 robot
« Reply #10 on: December 31, 2007, 09:17:34 PM »
can anyone make a list of the hardware that i should use?
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: using the $50 robot
« Reply #11 on: January 01, 2008, 02:20:54 AM »
google

diferent features require diferrent hardware
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

 


Get Your Ad Here