Author Topic: Is it posible to get this circuit converted for pic16f84a  (Read 4586 times)

0 Members and 1 Guest are viewing this topic.

Offline livid86Topic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Is it posible to get this circuit converted for pic16f84a
« on: July 04, 2009, 06:36:54 AM »
Hello,

I'm quite a noob at all this robots stuff but i find it extremly interesting and spend days on end looking up cool line following robots on youtube and stuff like that. I finally have the money and courage to build my own.

I have seen some other tutorials but alot of the parts are expensive and hard to buy. I was hoping that someone could help me redesign this circuit for the pic16f84a. I would appreciate it so much.

http://www.tombot.net/beam/pics/circuits/blacklinefollowercircuitfull3.jpg

I would have to do the code by myself but hopefully i can cope with that as i already do programming on the computer (not so much on microcontrollers through)

thanks heaps

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Is it posible to get this circuit converted for pic16f84a
« Reply #1 on: July 04, 2009, 04:11:02 PM »
yes, it is possible to do as long as they are both just standard microcontrollers.
first you will have to look up the datasheet for the original microcontroller.
then get the datasheet for your pic. you will have to see where each pin is going to and what it is.
anything that is going to a digital pin must go to a digital pin on your pic, anything thats going to vcc must go to vcc on your pic etc..
its not that hard a task but there is a fair amount of research involved and it takes up a fair bit of time.
Howdy

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Is it posible to get this circuit converted for pic16f84a
« Reply #2 on: July 05, 2009, 02:07:19 AM »
Hi,

Why on earth would you replace a logic IC (Octal Buffer/Line Driver with 3-STATE Outputs) with a microcontroller?
You could do it of course, just program the logic into the PIC and you are set.

Why use such an outdated PIC by the way? The more recent PICs are cheaper and have got more program storage etc.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline livid86Topic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: Is it posible to get this circuit converted for pic16f84a
« Reply #3 on: July 05, 2009, 03:42:47 AM »
Hello,

Like i said i'm really new to this and find it very hard to find parts as im Aussie and it cost a fortune to order from America. I'm really not sure weather i should start by something a bit harder and learn alot or if i should start with something that is spoon feed to me.

Thanks.
ps. I like PIC because i brought a PICprogrammer and i feel weird if i change microprocessor.

paulstreats

  • Guest
Re: Is it posible to get this circuit converted for pic16f84a
« Reply #4 on: July 05, 2009, 12:37:49 PM »
Quote
Why use such an outdated PIC by the way?

Its strange, so many people do. the 16f84a is sold by microchip as the perfect introduction to microcontrollers and a few packages use this as their beginner mcu.

It has many downfalls though, as you mentioned little storage space and other stuff along with no analog converters, no communication systems built in or any other expected features.

(go for a pic18f they have a better command set and free C compilers)

Offline livid86Topic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: Is it posible to get this circuit converted for pic16f84a
« Reply #5 on: July 05, 2009, 07:41:57 PM »
It was because it's all i know and all i can get at my local electronics shop. Although james has sent me to http://futurlec.com.au. This site has a variety of micoproccessors and really cheap postage so i can order some from here.

What i am now asking is if someone could please reconmend a new microproccessor from this site..

Thanks heaps.

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Is it posible to get this circuit converted for pic16f84a
« Reply #6 on: July 06, 2009, 12:33:47 AM »
are you set on pics? if not i would suggest some atmega8's and a look at the $50 robot tutorial...
Howdy