Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Nigel Goodwin said:Either would be perfectly fine, I've no idea what point Salgat was trying to make?.
ruzfactor said:Nigel
I've just started your PIC tutorial. But I want to know that, do I need any previous knowledge of assembly language? I'm new to assembly. I've also heard of PIC Basic which is told to be similar to assembly.
ruzfactor said:By the way salgat, I was wondering what is the best language for AVR? C?
Then get yourself an AVR chip and see which one you prefer. Sounds like a school project so since you have the PIC, know how to program it you should stick with what you have and concentrate on the task at hand.ruzfactor said:Nigel you are the experienced one here. As a complete newbie to microcontrollers am I wasting my time by learning PIC first?? I need to finish the project as soon as possible.I know C language and new to assembly. So far what I've learned with assembly for PIC16F84 was not that difficult. It too early though. I'm asking for your expertise. The thing is I'm very confused. When I'm learning PIC, some part of mind tells me AVR is easier. And when I think of AVR, I get the feeling that PIC should be perfect for my project. What do I do? I can't set my mind.
ruzfactor said:Nigel you are the experienced one here. As a complete newbie to microcontrollers am I wasting my time by learning PIC first?? I need to finish the project as soon as possible.I know C language and new to assembly. So far what I've learned with assembly for PIC16F84 was not that difficult. It too early though. I'm asking for your expertise. The thing is I'm very confused. When I'm learning PIC, some part of mind tells me AVR is easier. And when I think of AVR, I get the feeling that PIC should be perfect for my project. What do I do? I can't set my mind.
Except me.blueroomelectronics said:(You don't see anyone blathering on about Motorola, TI, Intel microcontrollers vs PIC/AVR)
futz said:Except me.I love Freescale (Motorola) micros. But then I love AVRs and PICs too. They're all good.
Nigel Goodwin said:Yes to both - but the 84 is an absolute antique, it was replaced by the 628 last century, but appears to have been re-introduced for all the idiots who keep buying them, and paying extra money for them!.
ruzfactor said:Well, I have decided to stick with PIC. I'm learning F84 programming with assembly(50% of the tutorial is complete). I also know that I need a PIC16F628 for my project. So I hope I can also program it if I can learn F84.
I want to know few things:
How do I store a data in the PIC say a 4 digit password which I can change with a keypad later?Which one is the EEPROM??(e.g. for 16F84)
How does a keypad is recognized?say Col1 and Row1 (Row1 to RA0 and Col1 to RB0 pin)is the button for '1'. How does a PIC identify it and compare it with some stored value?? Is this done by logical operations?
For the keypad: Do I need to connect the row or column to any operating voltage via resistors? Or just connect the ROW and Column connections to the MCU PIN?