go_away

Author Topic: $50 robot - atmega8 - int0 & int1  (Read 3191 times)

0 Members and 1 Guest are viewing this topic.

Offline pomprockerTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
$50 robot - atmega8 - int0 & int1
« on: March 03, 2008, 01:10:40 PM »
What are these ports for on the servo bus? I plugged a servo into them, and obviously nothing happend.

Also, Can the photosensors be plugged into any port on the sensor bus?

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: $50 robot - atmega8 - int0 & int1
« Reply #1 on: March 03, 2008, 02:49:31 PM »
the servo ports in the code are portd 0 - portd4
the photosensors can be plugged into any one you'd just have to change the code a bit.
are you sure the atmega8 is programmed correctly? are the servo's plugged into the correct pins?
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline pomprockerTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: $50 robot - atmega8 - int0 & int1
« Reply #2 on: March 04, 2008, 11:23:52 AM »
I learned from reading posts that the ports on the servo bus are controlled by the programming, not the actually way its soldered. I figured this out when I read ahead to the UART guide.

Right now I have only had the modify servo hex loaded. I should wait until my robot is fully programmed before asking such questions.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,653
  • Helpful? 169
    • Society of Robots
Re: $50 robot - atmega8 - int0 & int1
« Reply #3 on: March 15, 2008, 06:43:45 PM »
int 0 and int 1 are interrupts.

If you program them in, they can be useful for neat stuff. Just google them up to learn more.

 


Get Your Ad Here