jrz126 said:Ok, I'm going to order 2 samples (maybe 3) of the 877A's and 2 of the 628's. About how long does it take for the samples to come in? (and I think you guys are going to regret getting me convinced to use PICs, because I'm probably going to have a bunch of questions)
I found googled for an ICSP programmer and this came up https://www.olimex.com/dev/pic-pg1.html The schematic is very simple, using the serial port, 2 transistors and a handful of caps, diodes, resistors.
The software that this programmer will use is here:
Is this software easy to use?
Also, how do I go about generating the hex file? (which compiler do I need?)
What clock speed should I run it at? (what crystal should I order? looking at the schematics at Nigel's site, I'm assuming 20MHz.)
Whats the minimum number of I/O that I would have to use to connect a 4x4 matrix keypad, and a standard 14 pin LCD?
Nigel Goodwin said:It's not just this board that's biased towards PIC's, it's the entire world!, PIC's are the biggest selling micro-controller.
A fair while back someone posted a poll on this board asking which processors people used, I seem to recall that PIC won it by a long way?.
PIC's were out there a LONG!! time before the AVR, which was simply Atmels attempt to 'jump on the PIC bandwagon'.
You will notice that I've never criticised AVR's, I freely admit that AVR's may be more suitable for a few applications, but PIC's are more suitable for some as well. The speed difference between PIC's and AVR's isn't a great deal, any only rarely has any bearing - plus the 24 bit 80MHz PIC is probably faster than AVR's anyway..
The 'best' microcontroller for any job is the one you can do the job with, regardless of who makes it, or what code it runs - it's obviously advantageous to use one you can write code for, and for any micro-controller (PIC, AVR or other) a decent knowledge of assembler is essential, even if you mainly use a high level language.
From a hobbiest point of view PIC's are cheap, fast, and have plenty of support available - the AVR probably comes second, although the larger instruction set makes it slightly more complicated to use.
jrz126 said:About Nigel's programmer, looking at the supported PIC's, there is a star next to the 877, meaning the software will support these soon. Thats why I was a little unsure about using his programmer. Is this still the case?
Also, digikey doesnt have the bc557 transistors, is there a specific substitute I need to use, or would say a 2n3906 (or 2n3904) work?
And for R9, what is the value of that resistor? it says "680E" is that just 680 ohms?
jrz126 said:For that programming circuit, can I just put a 9 pin header on my board with the necessary pins routed to the pic and have the rest of the programming circuit on a different board? So that I wont have to remove the pic to program it.
jrz126 said:Zif's are too expensive for me. I think what I'll do is put my pic in an extra 40 pin socket and keep it there, so when I'm removing it from programmer/ target board, I will only have the possibility of bending the leads on the 40pin socket and not the pic. (hope this makes sense.)
yes Exactly..I'm looking at Nigel's tutorials, and I've got a quick basic question about the code:
movlw 0x07
movwf CMCON ;turn comparators off (make it like a 16F84)
Does this code mean (line1) load 0x07 into the working register (line2) load the working register into CMCON. (which is defined in the 628.inc file)?
chapter 15.. page 113..the best description of the instruction set commands?
atferrari said:And keep in mind this: if mothers in law are a concern, every girl in normal circumstances has one behind her. The worst of PICs is the Picstart Plus programmer. With WIN 98 SE it takes up to 5 (five) minutes to program 300 lines of code in a 16F877!.
Fred Eady's parallel programmer does it in 31 seconds, exactly. A pitty is that it's not supporting newer PICs.
jrz126 said:Are these pic's that I got samples of flash based or eprom based? (Will I need a UV light to erase them?)
atferrari said:My start was with the Z80. Nice instruction set! Powerful indeed.
Agustín Tomás
williB said:I too started on the Z80
750 KHZ wow ..lol..Nigel Goodwin said:williB said:I too started on the Z80
I started on the 6502, a 'Tangerine Microtan 65', which I've still got (but hasn't been plugged in for a great many years)
thats in there ..its under W...bmcculla said:I just looked over the Z80 instruction set - Talk about CISC- its got an instruction for everything but washing the dishes.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?