go_away

Author Topic: $50 expansions  (Read 1799 times)

0 Members and 1 Guest are viewing this topic.

Offline Joesavage1Topic starter

  • Robot Overlord
  • ****
  • Posts: 268
  • Helpful? 0
$50 expansions
« on: February 15, 2009, 06:59:08 AM »
I was just thinking and had a couple of ideas. First of all if i decided i wanted the robot to follow IR light then if i replaced the photocells with IR detectors, and then used a TV remove or something to control it would this work?

Second of all i belive there are spare microcontroller ports or chips or wtv (the connectors) left on the sensors and servos side of things, could these be used as a $50 expansion (obviously with a slightly modified code)?


Third, is it possible using the thing above that i could make some of the extra servo's remote controlled or would this need some type of reciver instead of using a microcontroller?



Thanks

(You can post some cool expansion ideas too if u like =D)

Joe

Offline cooldog

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: $50 expansions
« Reply #1 on: February 15, 2009, 07:16:56 AM »
I was just thinking and had a couple of ideas. First of all if i decided i wanted the robot to follow IR light then if i replaced the photocells with IR detectors, and then used a TV remove or something to control it would this work?

if you replace the photocells with ir range finders they will follow ir light without any modification to the code, but i am unsure about being able to control the robot useing a remote
robot will rule the world and i will be building them
-admin

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

Offline RiffRaff

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 0
Re: $50 expansions
« Reply #2 on: February 15, 2009, 09:04:38 AM »
Second of all i belive there are spare microcontroller ports or chips or wtv (the connectors) left on the sensors and servos side of things, could these be used as a $50 expansion (obviously with a slightly modified code)?

Joe,

There are 5 servo ports and 6 sensor ports on the microcontroller, so there is some room for expansion.  What I was wondering is whether a modified version of the microcontroller board(from the $50 robot) could easily be built with more ports for servos?  Say, with a larger microcontroller chip, maybe?

I want to build a biped robot, and the design I want to play with requires 6 servos just for the legs.

Riff

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
Re: $50 expansions
« Reply #3 on: February 15, 2009, 10:10:19 AM »
Basically all the pins on the microcontroller have the capability of driving servos - just modify the configure_ports() method to change the ports to an output.

Offline RiffRaff

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 0
Re: $50 expansions
« Reply #4 on: February 15, 2009, 10:28:04 AM »
Basically all the pins on the microcontroller have the capability of driving servos - just modify the configure_ports() method to change the ports to an output.

Oh, how cool is that?  Is the modification something done in the programming?

And let me apologize here for all the stupid questions that I'm going to ask.  I am into robots for the long haul, but I have a LOT to learn.

Riff

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
Re: $50 expansions
« Reply #5 on: February 15, 2009, 10:33:47 AM »
Yep. In the datasheet for the mega168 they have a list of the pins and what they can do.

Offline RiffRaff

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 0
Re: $50 expansions
« Reply #6 on: February 15, 2009, 12:18:17 PM »
Yep. In the datasheet for the mega168 they have a list of the pins and what they can do.

Is the same true of the ATMEGA8-16?

Offline RiffRaff

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 0
Re: $50 expansions
« Reply #7 on: February 15, 2009, 12:24:28 PM »
Looking at the ATMEGA8 datasheets I see that ports B,C & D are all I/O ports.  So that's 23 I/O ports, 8 8-bit ports, 7-7bit ports and however many (out of 8) 8-ports you can use in place of whatever 'special functions' you won't need.

All in all that give me plenty of servos for running a bi-ped walker.

 


Get Your Ad Here

data_list