×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

help with pic's

help with pic's

help with pic's

(OP)
Hi,

i decided to get into pic programming as i need to do some interfacing with a pc. i got a book and the picstart plus
programmer. now with the exception of the 16F84 every chip i read about is discontinued when i go to the store.

i want (i think) a pic with a uart, and a simple program to send recieve chars to the pc. ie:

when a 4 digit code is pressed on a keybpad i want the code to be sent to the pc. the pc will then perform some action dependimg on which code is recieved, then sends back a reciept char to the pic which can then display a value on an lcd display.

i thought of starting small and getting the pc bit working
then adding the keypad and then the lcd.

is that a good idea?

all help appreciated.

Cheers,

Russ

RE: help with pic's

Hi, its usually easier to do it the other way round. LCD first, then the keypad, and finally the uplink to the pc.

RE: help with pic's

At the outset, you need to plan what you are going to do before you decide on a chip.  Otherwise you may suddenly find you have run out of I/O pins and you'll have to start again.

Start with a block diagram. How are you going to drive the LCD? Direct from the PIC or with an LCD driver? How many I/Os does it need?

You only need to send and receive data to the PC one byte at a time. So do you really need a UART? You can generate a serial stream in the PIC and pass it to the PC with just a transistor. You can pass the reply back with just a resistor. That only needs two pins. But you will need a chip with a timer interrupt.

Are you going to scan the keypad by wiring it as a matrix? That would save I/Os.

When you have got the answers you will be in a position to 'pick a PIC' and start programming - a section at a time.

RE: help with pic's

Have you been to www.piclist.com yet? Lots of info there, and a very valuable & highly active mailing list. There are a lot of PIC experienced people there.

HTH!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources