go_away

Author Topic: $50 robot - atmega8 - int0 & int1  (Read 3009 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,475
  • 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,586
  • 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.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2008 Views
Last post March 12, 2008, 11:25:57 AM
by Admin
5 Replies
1105 Views
Last post September 14, 2010, 04:45:34 PM
by Webbot
10 Replies
1975 Views
Last post October 06, 2010, 01:47:50 AM
by cyberfish
1 Replies
693 Views
Last post September 05, 2011, 09:06:45 AM
by billhowl


Get Your Ad Here