Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 30th December 2007, 12:55 PM   (permalink)
Default As a Beginner

I want to make a lock which can be controlled by a 4x4 keypad for a 4 bit code. I want to use micro controller so that the code can be changed whenever the user wants. And also a LCD display to display whats typed.

As a beginner to micro controller where should I start from? Which MC would be best?? PIC or others??
Programming in Assembly or C??

Any kind of help is appreciated. Just think of me as a beginner.
ruzfactor is offline  
Old 30th December 2007, 01:14 PM   (permalink)
Default

Check my PIC tutorial, which has almost exactly what you need!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 31st December 2007, 08:03 PM   (permalink)
Default

Someone Please check this tutorial:
http://www.mstracey.btinternet.co.uk/pictutorial
Does all the PICs have same instructions?
I know C language (not for micro controller, only general purpose) but is it better to program PIC in assembly?
ruzfactor is offline  
Old 31st December 2007, 09:20 PM   (permalink)
Default

ruzfactor,
You have been given some good advice right here:

Quote:
Originally Posted by Nigel Goodwin
Check my PIC tutorial, which has almost exactly what you need!.
Perhaps you don't take advice, so why ask for help?
BeeBop is online now  
Old 2nd January 2008, 12:07 PM   (permalink)
Default

Nigel's PIC Tutorial is excellent. But the problem is, it's for PIC16F628. But I didn't find any PIC16F628 in the shop.I have a PIC16F84A.That's why I asked!
ruzfactor is offline  
Old 2nd January 2008, 12:12 PM   (permalink)
Default

Also I don't know assembly language and I find it a bit hard. I'm completely new to this MCU field.
ruzfactor is offline  
Old 2nd January 2008, 04:12 PM   (permalink)
Default

I've just finished building the P16PRO40 programmer. I was wondering if it runs under a WIN98 based Laptop and also does it support F84A?
ruzfactor is offline  
Old 2nd January 2008, 04:28 PM   (permalink)
Default

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!.

The 628 isn't a new chip, but it's higher spec than the 84, and considerably cheaper.

628 uses the same 14 bit core, and the code requires very few changes to work - main problem is the lack of resources in the 84 - such as number of I/O pins.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 2nd January 2008, 06:46 PM   (permalink)
Default

I have connected the P16PRO40 to my laptop. And when I connected it and turn on the laptop the red led turned on & when win98 was loaded the green led turned on. But when I tried to write PIC with the WINPICPROG 1.91 it gave an error:
Program Verify failed at Program address 0x000, Programming Aborted!

Any idea why i'm getting this error?
ruzfactor is offline  
Old 2nd January 2008, 06:54 PM   (permalink)
Default

The P16PRO40 is a typical JDM style programmer and may not run unless it's on a real RS232 port (No USB to RS232 adapters)
They are also somewhat unreliable.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 2nd January 2008, 07:20 PM   (permalink)
Default

I thought this would work! This was my third programmer which has failed to work. In my country, a Programmer costs a lot. And moreover they don't sell any kind of cheap PIC programmer kits. Without a programmer It's hard to learn PIC.
(
ruzfactor is offline  
Old 2nd January 2008, 07:36 PM   (permalink)
Default

Quote:
Originally Posted by ruzfactor
I thought this would work! This was my third programmer which has failed to work. In my country, a Programmer costs a lot. And moreover they don't sell any kind of cheap PIC programmer kits. Without a programmer It's hard to learn PIC.
(
If you can buy or order a Microchip PIC you should be able to buy or order a Microchip PICkit2. It's inexpensive and works perfectly with USB (and thus laptops). It's also fast and perfectly supported by MPLAB. Does debugging too - a huge plus. I have a PICkit2 clone (Blueroom Junebug) and I love it. No more wasting time fiddling with a finicky, slow programmer. It just works.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================

Last edited by futz; 2nd January 2008 at 07:40 PM.
futz is online now  
Old 2nd January 2008, 08:06 PM   (permalink)
Default

Ordering online requires CC and I don have a CC and also microchip doesn't have my country enlisted. I guess I have to wait until some cheap programmer arrives in my country.
ruzfactor is offline  
Old 2nd January 2008, 08:10 PM   (permalink)
Default

Quote:
Originally Posted by ruzfactor
Ordering online requires CC and I don have a CC and also microchip doesn't have my country enlisted. I guess I have to wait until some cheap programmer arrives in my country.
What I'm suggesting is that you go to whoever sold you the PIC and get them to order you a PICkit2. They already deal with a Microchip supplier. It should be trivial for them to order you a PICkit2.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now  
Old 2nd January 2008, 08:19 PM   (permalink)
Default

P16PRO40 is a parallel port (Tait style) programmer, not a JDM style programmer. If assembled correctly it should work fine on a laptop.
skyhawk is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Questions from a beginner in electronics... Shocks McTool General Electronics Chat 8 21st November 2005 03:01 AM
beginner please help lordsathish Micro Controllers 8 15th June 2005 12:26 PM
beginner in microcontrollers lordsathish Micro Controllers 13 6th June 2005 02:18 PM
Beginner Questions: AC, Impedence, Transistors, and Salving budidharma General Electronics Chat 5 9th December 2004 09:43 PM
Any Good ARM chip set for beginner? mikemikemike Micro Controllers 0 15th January 2004 04:37 PM



All times are GMT. The time now is 03:28 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker