Shop OBEX P1 Docs P2 Docs Learn Events
I''m a newbie Help me PLEASE — Parallax Forums

I''m a newbie Help me PLEASE

ArchiverArchiver Posts: 46,084
edited 2004-04-17 22:40 in General Discussion
At 09:05 PM 4/16/04 +0000, you wrote:
>I think I should have mentioned that I'm researching how
>microcontrollers work,
>my question would be what requirements in a microcontroller I need
>in order to interface the
>1) 3 buttons ,2) 2 LEDs,3)LCD screen,4) serial port
>
>to answer the question asked , No I don't skip class, this is a group
>design class with no lectures; basically, as a group, we need to
>research how stuff work and implement the device.

Still, if you are not sure, I would follow the basics....Take a look at
the documentation of ANY processor, chances are there will be some sort
of application note section that will describe certain operating conditions
when connecting to the outside world. Decide what your needs are, and
decide what is required for each of those needs.

1) 3 buttons - would require 3 inputs
2) 2 LEDs - would require 2 outputs ... a clever scheme might use 1 output
3) LCD screen - depends on type could be as little as 3 outputs could be
several more
4) serial port - unidirectional communication would require 1 input or 1 output
- bi-directional full duplex communication would require 1
input and 1 output
- bi-directional half duplex communication would require 1
pin used as an input or output


So... your requirements would need to be a processor capable of supporting
at least 4 I/O's. While the BS1 has 8 I/O's the BS2 has 16 I/O's. Keep
in mind that there are several relatively easy methods for expanding the
number of I/O's a processor has to offer. Other things to consider in a
processor are speed and ease of programmability.




Beau Schwabe Mask Designer National Semiconductor Corporation
500 Pinnacle Court, Suite 525
Home: polygon_man@h... Mail Stop GA1
Work: bschwabe@a... Norcross, GA 30071
Sign In or Register to comment.