Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Someone help me to start in microcontrollers!

Status
Not open for further replies.

mosh

Junior Member level 2
Joined
Aug 30, 2004
Messages
23
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
where I don't want to be!
Activity points
339
picpro nigel goodwin

Hi, all

I'm a beginner in microcontrollers but,
I have some experience in anything ,but I'm not "very good" in none of them.
I worked with [cmos,TTL chips, up to 20 chip in a circuit,& also I have some experiences in analog divices & power amplifirs ].

now,I can't buy a programer because of price.
Fortunatly I have a computer & I'm good with computer[I know VB but I think it's not useful for this kind of problems!].
Ican made programer by myself if I have.....

a Map of a programer.
a program for programming microcontrollers in computer.
[if your map made by another microcontroller please send that program too,I can pass it to a shop for programming.]

I hope don't annoying you with my terrible English!!!!!!!!
thanks alot.
 

Try starting by using microcontroller from Microchip --> PIC

Here is a free online ebook PIC microcontrollers, for beginners by Nebojsa Matic **broken link removed**

1. Build your own PIC programmer, try JDM PIC Programmer **broken link removed**

2. Software to use
- assembler MPLAB IDE get from http://www.microchip.com
- use ICProg www.ic-prog.com to download HEX files after compile into the PIC using JDM programmer
 

1. Build your own PIC programmer, try JDM PIC Programmer **broken link removed**

I would steer clear of the JDM Programmer,it is a serial programmer and does not work on all pc's,it uses the pc's serial port to power the programmer.While it may work on some pc's a lot of people have had problems.I would also suggest the PIC as there are lots of tutorials and code snippets available on the web.Nigel Goodwin has an excellent site with tutorials, programmer and software ,all easy to install and use.

http://www.winpicprog.co.uk/

Good Luck
 
Last edited by a moderator:

i agree with Henrico. the JDM programmer draws power from the serial port. that way u dont need a power supply for the programmer. and it is one of those programmers that burn data directly to the PIC without the need of an on-board microcontroller. so its really very cheap. but nothing's perfect in this world. some computers dont live up to the expectation of the programmer. that is, the serial ports might not be able to provide the required power. JDM programmer requires an efficient serial port.

thats why u should try the programmer at Nigel's website (http://www.winpicprog.co.uk). it is a parallel port programmer that burns data directly on the PIC but it needs a separate power supply, which wont be much of a problem. plus, its faster than the serial port programmers.

have fun PIC'n
 

Welcome!!!
from my experience,when i registered here some months ago, i was also an absolute begginer,my designs used to have 15 to 20 cmos or ttl chips...i picked picmicroos,started learnig picbasic,built epic programmer with information from here,microcode studio as developing enviroment...i saw the light (sound lke some kind of religious convertion :D )...but i have made grat progresses...now i'm starting with mikrobasic,from
**broken link removed**

thanks to EDABOARD !!!!
 

Mosh,

Visit this site: www.ic-prog.com

There are a lot of programmer that you can choose.

Good lock!
 

Hai,
Welcome Onboard! :eek:
After you make the programmer(PICPRO is also easy to start with) and almost comfortable with MPLAB, you can download the bootloader from www.microchipc.com and programme that bootloader( it is available in HEX format there) in a pic16F877. With that 16F877 and a simple serial port interface circuit you may never need that programmer at least for sometime because you can straight away then download your test programs into the target and watch how your programming course goes on. No plugging and removing of target processor, so no broken pins of your Costly Pic's.it will make your learning fast. make a motherboard with controller and serial interface ,then all your trials can be done on small boards attached to this motherboard provided you have all the port pins terminated on connectors in the motherboard.
Happy 'Bootloading'
Picstudent
 

I can say start with PIC Micro, before I usually advise start with 8051, but as I can see that 8051 is really not easy to find some countries and PIC is most of the time the most common, and has one of the most easiest chip to use (PIC16F84 as I can see), then start with them.

Happy programming.
 

if u gotta start out with PICs, dont start with the PIC16F84 or the PIC16F84A. consider the better replacement PIC16F628. it has got more I/O capabilities, internal oscillator and it usually costs less than the PIC16F84A. so why would u buy a chip that gives u less features for more money?????
 

samcheetah said:
if u gotta start out with PICs, dont start with the PIC16F84 or the PIC16F84A. consider the better replacement PIC16F628. it has got more I/O capabilities, internal oscillator and it usually costs less than the PIC16F84A. so why would u buy a chip that gives u less features for more money?????

I AGREE, besides all of Nigel's tutorials are based on the 16F628 , so this will make your learning curve much easier, so...you have a cheaper processor, with tutorials and more I/O.... :?:
 

Oh hi mosh,

I think i can help you here, if you are interested in using PIC 16C54, then i can send you the PCB layouts in traxmaker formt i.e. .pcb file.

I can also send across the programming software.

let me know so that i can upload it here.

my mail id is sandeep@ishnatek.com
 

the 16C54 is an OTP (on time programmable) microcontroller, so it wont be a good chip to start with. OTPs are usually used when the design has been tested, debugged and proven to work good. then the subsequent products can have the OTPs. but for development u should use a FLASH chip that can be re-programmed many times.

and the PIC16F628 suggested before is more capable than the 16X54
 

Pic is very easy. You can use BASIC , C or ASM lang.

Example for BASIC

define OSC 10

LOOP: HIGH PORTA.0
PAUSE 500
LOW PORTA.0
PAUSE 500
GOTO LOOP

Example for ASM

list p=16f877 ; list directive to define processor
#include <p16f877.inc> ; processor specific variable definitions
__CONFIG _CP_OFF & _WDT_OFF & _BODEN_ON & _PWRTE_ON & _HS_OSC & _WRT_ENABLE_ON & _LVP_OFF & _DEBUG_OFF & _CPD_OFF

DT0 EQU 0X20
DT1 EQU 0x21
DT2 EQU 0x22

ORG 0x0000

MAIN bsf STATUS,RP0 ; select bank 1
clrf TRISA ; All PORTA is output
bcf STATUS,RP0 ; select bank 0

NOW CALL DELAY
BSF PORTA,0
CALL DELAY
BCF PORTA,0
GOTO NOW

;********* DELAY LOOP ********

DELAY MOVLW 0X05
MOVWF DT0
SDEL CLRF DT1
SD2 CLRF DT2
SD1 DECFSZ DT2
GOTO SD1
DECFSZ DT1
GOTO SD2
DECFSZ DT0
GOTO SDEL
RETURN

END
 

I have some funny problems!

Please!?!, you bombarded me with information! :cry:
lets I explane my situation.

I went to this URL http://www.jdm.homepage.dk/newpic.htm & downloaded this file"Download PIC16C84 utilities, PGM84V34.ZIP",then
I unziped that ,but I don't know what I must do with that!?
also about the schematic of circuit
**broken link removed**,
anyone has got pin map of RS232 ?

a shop sold a female & 9-pin connector to me as RS232 with insist :!:
of course that time I didn't look at the schematic
[that must be a serial connector ,isn't it? or RS232=serial port],
I can't find any clear information about ports in my books.
also [please someone explain bootloader to me].


I downloaded the microbasic from
**broken link removed**
but Which kind of programer I must use with this program?

just now I went tohttp://www.ic-prog.com/ & downloaded
"IC-Prog Software 1.05C Multi-Lingual" & "IC-Prog NT/2000 driver" &
it's help file ,it's work with jdm programer isn't it?

I think it's enugh for today!

samcheetah said :
if u gotta start out with PICs, dont start with the PIC16F84 or the PIC16F84A. money?????

According to samcheetah sugestion I dicided to use 16Cxx family.


glenjoy said :
I can say start with PIC Micro, before I usually advise start with 8051, but as I can see that 8051 is really not easy to find some countries
also I can find 8051 & it's family easily.

thanks
 

Please!?!, you bombarded me with information!

it looks as though u have visited after a long time

According to samcheetah sugestion I dicided to use 16Cxx family.

no i didnt tell u to use the 16C devices. the 16C devices are OTP. read my post above.

i said that u shouldnt use the 16x84 because there is a better replacement for it i.e. the '628 thats cheaper than the '84

and one thing about the jdm programmer. for some people the jdm+ICprog combo is the best. for some thats all they have used all their lives and they didnt need anything at all after deciding to go with it. but for some its a nightmare. as i mentioned before, u should have a very efficient serial port for jdm to work correctly because it will be drawing power from your serial port. i suggested an alternative that u should try if u dont have luck with jdm or if u dont want to take the risk. but if it all goes well u will be off PICing in no time

good luck

i hope that helps
 

hi
would you please introduce some books to me or some of the
applcations of microcontrollers
thanks :wink:
 


Hi,

thanks about your care samcheetah

most of time I can't come to the internet more than twice a week so ....,
.... abut 16C, I mean PIC16Cxx family ,maybe PIC16C84.
I decided to try a JDM ,maybe I was lucky.

can you give some general information about "bootloader" & "RS232" to me ,in any way you like [maybe URLs or mail or ...]

thanks
mosh
 

mosh said:
Hi,

thanks about your care samcheetah

most of time I can't come to the internet more than twice a week so ....,
.... abut 16C, I mean PIC16Cxx family ,maybe PIC16C84.
I decided to try a JDM ,maybe I was lucky.

can you give some general information about "bootloader" & "RS232" to me ,in any way you like [maybe URLs or mail or ...]

thanks
mosh

Hi Mosh

The 16C84 is outdated , if not obsolete, what Samcheetah is saying is that you start of with the "16F628" .As stated before, you may encounter problems with the JDM, so then your time is wasted(not to mention it only supports certain pics)Visit Nigel Goodwins site www.winpicprog.co.uk .
There are tutorials and circuits for programmers(good ones at that).The tutorials are based on the 16F628(so you will learn easier and quicker).
The 16F628 has more I/O (it has onboard osc)so less parts and expence AND it is cheaper than 16C84,16F84,16F84A, so sureley this will be better for you :?:
I suggest you try the OziPic'er programmer (I have built one and it supports a variety of pics),Combine that with Winpicprog (FREE software)
and you cannot go wrong.The OziPic'er has a PCB in pdf format, but if you are not up to making your own pcb's you can always mount it on stripboard/veroboard, the fact is that it is a fast WORKING programmer .
Please read this carefully and at least visit Nigels site, you will see there is a lot of support out there,THIS WILL MAKE IT EASIER FOR YOU TO LEARN :!:
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top