×
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

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! Already a Member? Login


Resources

White Paper - PLM and ERP: Their Respective Roles in Modern Manufacturing
Leading manufacturers are aligning their people, processes, and tools from initial product ideation through to field service. They do so by providing access to product and enterprise data in the context of each person’s domain expertise. However, it can be complicated and costly to unite engineering with the factory and supply chain. Download Now
White Paper - Medical Device Design Control
Medical device product development is a highly integrated and regulated process. Implementation of a requirements tracking solution requires attention to a variety of nuanced topics. When presented with the task of tracking the many concept relationships in a project of this type, the initial software solution of choice tends to be a two-dimensional text systems. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close