Difference between revisions of "Microcontroller User Interfaces"

From OpenCircuits
Jump to navigation Jump to search
Line 8: Line 8:
 
*Con  If you use a bunch uses a lot of port bits
 
*Con  If you use a bunch uses a lot of port bits
  
=== Rotery Switch Button ===
+
=== Rotery Switch ===
 
*Pro
 
*Pro
 
*Con
 
*Con
Line 14: Line 14:
  
 
Can be self decoding: position of switch indicates state of microcontroller.
 
Can be self decoding: position of switch indicates state of microcontroller.
 +
 +
 +
=== Rotery Encoder ===
 +
*Pro
 +
*Con
 +
 +
=== Potiometer ===
 +
*Pro
 +
*Con
 +
 +
=== Keypad ===
 +
*Pro
 +
*Con
  
 
== Output ==
 
== Output ==

Revision as of 09:24, 4 July 2009

The intent of this page is to document different styles of user interfaces for microcontrollers together with code ( any language ) to drive them. We could use some contributions, can you help?

Input

Momentary Button

  • Pro Cheap, simple, uses only 1 bit port
  • Con If you use a bunch uses a lot of port bits

Rotery Switch

  • Pro
  • Con


Can be self decoding: position of switch indicates state of microcontroller.


Rotery Encoder

  • Pro
  • Con

Potiometer

  • Pro
  • Con

Keypad

  • Pro
  • Con

Output

Single Led

In its simplest form either on or off, slightly harder to read are various patterns of blinks.

  • Pro
  • Con

Multiple Led

  • Pro Cheap, simple, easy to drive. One port bit per led ( untill you get to large numbers where ticks kick in ) Match with a pushbutton and state of the microcontroller and means to change it is simple.
  • Con Can use more port bits than you have.

A shift register can make driving a large number easier.

7 Segment Led

= LCD