go_away

Author Topic: 50$ tutorial ATmega8 AVR  (Read 1665 times)

0 Members and 1 Guest are viewing this topic.

Offline Melcin PowellTopic starter

  • Full Member
  • ***
  • Posts: 61
  • Helpful? 0
50$ tutorial ATmega8 AVR
« on: February 15, 2010, 05:32:00 PM »

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: 50$ tutorial ATmega8 AVR
« Reply #1 on: February 15, 2010, 11:37:45 PM »
You made two topics because?
To answer your question, read the $50 robot tutorial, it explains everything.
Howdy

Offline Melcin PowellTopic starter

  • Full Member
  • ***
  • Posts: 61
  • Helpful? 0
Re: 50$ tutorial ATmega8 AVR
« Reply #2 on: February 16, 2010, 05:48:00 PM »
I can't fine were it explains how to do this?

Offline billhowl

  • Supreme Robot
  • *****
  • Posts: 375
  • Helpful? 32
  • Your success is in your hands.
Re: 50$ tutorial ATmega8 AVR
« Reply #3 on: February 16, 2010, 06:31:56 PM »
In step 2
Quote
First you must modify your servos so that they can rotate continuously. The factory default will only allow the servo to rotate 180 degrees.


http://www.societyofrobots.com/actuators_modifyservo.shtml

Offline Melcin PowellTopic starter

  • Full Member
  • ***
  • Posts: 61
  • Helpful? 0
Re: 50$ tutorial ATmega8 AVR
« Reply #4 on: February 18, 2010, 11:36:23 AM »
it does not explain how to connect the microcontoller to the computer

Offline GearMotion

  • Supreme Robot
  • *****
  • Posts: 489
  • Helpful? 24
  • Two decades+ of Embedded Design
Re: 50$ tutorial ATmega8 AVR
« Reply #5 on: February 18, 2010, 11:57:07 AM »
it does not explain how to connect the microcontoller to the computer


You build the $50 robot board. It has a programming header. You buy (or possibly build) a "programmer" that connects the $50 robot board to your PC via USB, serial port, or parallel port.

http://www.societyofrobots.com/step_by_step_robot_step4.shtml

http://www.societyofrobots.com/images/sbs_plug_programmer.JPG

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,132
  • Helpful? 109
Re: 50$ tutorial ATmega8 AVR
« Reply #6 on: February 18, 2010, 03:56:14 PM »
Or perhaps you mean 'how does my robot talk and listen to my computer once its all programmed"? In which case you use the UART - which is sort of like a modem. You then have lots of choices:-
1. Use a level shifter board + a cable to plug it into an RS232 port on your PC; or
2. Use a TTL to USB board + a cable to plug it into a USB port on your PC; or
3. Use a wireless transmitter of some kind (bluetooth etc) + NO cable to talk to your PC

Of course all those options just give you a 'pipe' between the two. You will then have to program the robot as to what info to send to the PC and how to react based on info received back from the PC.


Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


Get Your Ad Here