PDA

View Full Version : PICs and uC and stamp



msmukund2000
10-24-2004, 02:58 PM
i wud like to know what the diff b.w a pic and a uC and a stamp is
how to program a uC.Which is the best starter
which is cheapest
which is most powerful
and yes,how does a uC differ from micorprocessor
Please answer
i see that this site is a lot more active now than it was when i last visited(abt when it was started)
PLease answer
Bye

ice
10-25-2004, 09:51 PM
a pic and a stamp are type of Uc's .[microcontrolllers]
Basic Stamps are easier to program but very expensive..
PICs are easier to program too ,but needs some time spent in learning the code[maybe a day or 2]

Different vendors of Uc's
PIC
AVR
ATMEL
ZILOG
CYRRUS



i see that this site is a lot more active now than it was when i last visited(abt when it was started)
Sure has!!

msmukund2000
10-26-2004, 12:45 PM
which is the cheapest and which is the easiest for a beginner who is yet to see what a uC looks like(i suppose it looks like logic gate chip,only larger)

sumandeep1984
10-26-2004, 01:10 PM
Well, microcontrollers are a superset to microprocessors i.e. uC can do what a uP can do plus it has inbuilt EEPROM , RAM, I/O Controllers, Serial Communication, sometimes even analog comparators are built into the same package. It offers a quick building process without extensive external components. What I feel is that for beginners 8051 uC is very easy to learn & use. It hardly requires any external component except a crystal and a few passive components (capacitors, resistors etc). All required info about 8051 family can be found at www.8052.com . The site has a real nice tutorial which can be downloaded in pdf format.

Atmel has it's 8051 family uC's by the name of AT89C51, AT89C52, AT89C2051 ...etc. These are very cheap (Rs 70 to Rs 100 each) and are readily available. You can download the datasheets from the manufacturer's site www.atmel.com

The above uC's can be programmed using programmers connected to the PC. Good programmers for 8051 cost Rs 4000 & up. Cheaper ones may also be available.

Hope your queries are answered

msmukund2000
10-26-2004, 06:19 PM
yes,but tell me how do you connect ur hardware to the parallel port?
use a connector(like male for female)
and if u want only one bit out of the parallel port,then how to connect?
and i saw a c prog in the site(see the parallel port tut part 1 pls:tahx for the trouble)i saw something like outportb(hex no)
so,how do i know which parallel port this hex no represents??)
pls ans
btw,the answers r coming pretty quick ,thx for the fast help,at this rate i may after all build my first robot coming hols
Bye

10-26-2004, 07:00 PM
hey,
parallel port example:
hex 0x00
means on the port pins
00000000.......data on pins
98765432.......pin nos

hex 0x01
means
00000001.......data on pins
98765432........pin nos

suppose u want to turn pin 3 on then off
the hex codes are....
0x02
and then
0x00

Hope this helps....
ice
//Gerry

ice
10-26-2004, 07:04 PM
so,how do i know which parallel port this hex no represents??)
The default port normally is 0x378....known as LPT1
ice
//Gerry

msmukund2000
10-27-2004, 04:32 PM
yes, thx but can u tell me how to connect jus a single pin to the breadboard,jus insert a wire?will that nopt damage the pc?

ice
10-27-2004, 05:49 PM
if ur using pin 2 and want to turn an LED on /OFF
connect pin2 to the LED using a 270Ohm resistor[sed to limit current]
and the cathode of the led to pins 18 to 25 of the parallel port

You need a parallel port connector...just ask for it an electronic store.
ice
//Gerry

happy_99
10-27-2004, 11:51 PM
See this Tutorials:

http://www.roboticsindia.com/modules.php?name=News&file=article&sid=51&mode=&order=0&thold=0

http://www.roboticsindia.com/modules.php?name=News&file=article&sid=59&mode=&order=0&thold=0

[Or]

http://www.geocities.com/gear996/sub/parallel.html

http://www.geocities.com/gear996/sub/parallelin.html

Thanks to Gerry :-)

Regds

happy_99

ice
10-28-2004, 07:28 AM
:D ur welcome 99....
except the geocities.com link is now changed to this:
http://www.machinegrid.com/content/blogcategory/69/46/

ice
//Gerry

msmukund2000
10-28-2004, 07:52 AM
thx for the replies.they were pretty useful