Author Topic: Help with circuit  (Read 3015 times)

0 Members and 1 Guest are viewing this topic.

Offline MangoBotTopic starter

  • Robot Overlord
  • ****
  • Posts: 185
  • Helpful? 1
    • BeginneRobot
Help with circuit
« on: July 24, 2009, 06:52:00 PM »
OK, so i am making a line follower using a LM393 dual comparator chip and a motor driver, and i was thinking if i could use the $50 robot circuit, except instead of the atmega put in the IC's where it is. The link for the comparator: http://www.goldmine-elec-products.com/prodinfo.asp?number=G32124 and for the motor driver: http://www.pololu.com/catalog/product/24 they will be in sockets. what changes would i have to make?

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Help with circuit
« Reply #1 on: July 24, 2009, 06:53:50 PM »
i wouldn't try to use the $50 board... they're too different...
rather make your own. it cant be that hard.
Howdy

Offline apc3161

  • Jr. Member
  • **
  • Posts: 36
  • Helpful? 0
Re: Help with circuit
« Reply #2 on: July 24, 2009, 06:55:57 PM »
The ATmega8 has a built in analog comparator in it that you can utilize. You just have to initialize it in your programming. Check the data sheet for more info and instructions.

I would do this as opposed to using a discrete device for this purpose. This way you get to learn more ATmega8 feature and build up your programming repertoire.

Offline MangoBotTopic starter

  • Robot Overlord
  • ****
  • Posts: 185
  • Helpful? 1
    • BeginneRobot
Re: Help with circuit
« Reply #3 on: July 24, 2009, 06:59:19 PM »
i wouldn't try to use the $50 board... they're too different...
rather make your own. it cant be that hard.
I mean using the voltage regulator system and those things

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Help with circuit
« Reply #4 on: July 24, 2009, 07:03:55 PM »
ahh, then yes.. the rest of the circuit is still good for anything that runs off 5v.
Howdy

Offline MangoBotTopic starter

  • Robot Overlord
  • ****
  • Posts: 185
  • Helpful? 1
    • BeginneRobot
Re: Help with circuit
« Reply #5 on: July 25, 2009, 10:09:58 AM »
if i used servos and hooked them up to the servo things for $50 dollar and only used the comparator chip would that work? and for the photoresistors could i solder them onto the underneath side of the pins? and i plan on using a 9v and 4 AA's

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: Help with circuit
« Reply #6 on: July 25, 2009, 11:17:32 AM »
Nope, servos require a special pulse. You could figure something out with a 555 timer chip to generate the pulse but it may just be a lot easier to use a programmable microcontroller.

Offline MangoBotTopic starter

  • Robot Overlord
  • ****
  • Posts: 185
  • Helpful? 1
    • BeginneRobot
Re: Help with circuit
« Reply #7 on: July 25, 2009, 11:45:57 AM »
so should i instead solder the motor lead to certain pins in the motor driver

Offline wil.hamilton

  • Robot Overlord
  • ****
  • Posts: 207
  • Helpful? 6
  • rtfm
Re: Help with circuit
« Reply #8 on: July 25, 2009, 12:54:20 PM »
After reading your 3 topics on trying to figure this out, I definitely think you should check out the BEAM "herbie" circuit.  It does exactly what you need, plus, thousands of people have built it, so, its very well documented.

here is "herbie circuit" google results:
http://www.google.com/search?rlz=1C1GGLS_enUS335US335&sourceid=chrome&ie=UTF-8&q=herbie+circuit

most of them have the herbie circuit diagram listed.  read up on it, it should be exactly what you need, if in doubt about a component, read its data sheet and see what it does.  If you read datasheets you'll learn more about the components and will be able to know which ones are good to use and which ones wont.
use the google.  it's your friend.

 

SMF spam blocked by CleanTalk