Editing Microcontroller User Interfaces
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
== Input == | == Input == | ||
− | |||
− | |||
Line 9: | Line 7: | ||
*Pro Cheap, simple, uses only 1 bit port | *Pro Cheap, simple, uses only 1 bit port | ||
*Con If you use a bunch uses a lot of port bits | *Con If you use a bunch uses a lot of port bits | ||
− | |||
=== Toggle switch === | === Toggle switch === | ||
− | |||
− | |||
− | |||
=== Rotary Switch === | === Rotary Switch === | ||
*Pro | *Pro | ||
*Con | *Con | ||
− | + | ||
Can be self decoding: position of switch indicates state of microcontroller. | Can be self decoding: position of switch indicates state of microcontroller. | ||
=== Rotary Encoder === | === Rotary Encoder === | ||
− | *Pro | + | *Pro |
− | *Con | + | *Con |
− | |||
− | === Potentiometer | + | === Potentiometer === |
Use to feed a voltage to an analog to digitial converter. You sould be able to get quite a few discrete values out of this while still having it easy to use. Instead of a pot you can use a rotary switch with fixed resistors switched. | Use to feed a voltage to an analog to digitial converter. You sould be able to get quite a few discrete values out of this while still having it easy to use. Instead of a pot you can use a rotary switch with fixed resistors switched. | ||
Line 65: | Line 58: | ||
=== 7 Segment Led === | === 7 Segment Led === | ||
− | |||
− | |||
* Pro: All segments matched brightness and packaged nicely. | * Pro: All segments matched brightness and packaged nicely. | ||
* Con: difficult to display letters | * Con: difficult to display letters | ||
Line 75: | Line 66: | ||
* Pro: Can have lots of characters, small displays are often 2 x 16. Cost is about 10 bucks. Perhaps the simplest and lowest-power way to display text. | * Pro: Can have lots of characters, small displays are often 2 x 16. Cost is about 10 bucks. Perhaps the simplest and lowest-power way to display text. | ||
*Con Cost is about 10 bucks. You may not have the 7 port bits available. | *Con Cost is about 10 bucks. You may not have the 7 port bits available. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== graphical LCD or OLED === | === graphical LCD or OLED === | ||
* Pro: | * Pro: | ||
* Con: graphics often fill up and overflow whatever memory you have available. The person programming the system often spends huge amounts of time tweaking the graphics. | * Con: graphics often fill up and overflow whatever memory you have available. The person programming the system often spends huge amounts of time tweaking the graphics. | ||
− | |||
− | |||
=== PC on Serial Port === | === PC on Serial Port === | ||
Line 95: | Line 76: | ||
*Pro 2 bit only. Can have very fancy smart interface. Can be very useful for debugging. | *Pro 2 bit only. Can have very fancy smart interface. Can be very useful for debugging. | ||
*Con Needs PC. May need custom application. For good flexibility needs a uart on the chip. | *Con Needs PC. May need custom application. For good flexibility needs a uart on the chip. | ||
− | |||
− | |||
− |