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 28: Line 28:
 
*Find Code at:
 
*Find Code at:
  
=== Potentiometer Or Resistor Network and Switches ===
+
=== 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 65:
  
 
=== 7 Segment Led ===
 
=== 7 Segment Led ===
: ''main: [[Basic Circuit Building Blocks#Seven segment LEDs]]''
 
 
 
* 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 73:
 
* 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.
 
The Hitachi HD44780 parallel interface is extremely common on character LCDs.
 
In addition to displaying letters and digits,
 
the Hitachi HD44780 supports a few "user-defined characters" that support simple graphics,
 
such as the [http://wilsonminesco.com/multitask/ battery-life icon documented by Garth Wilson].
 
 
* ''(Many [[watch display]] are character LCDs)''
 
* [https://en.wikipedia.org/wiki/Hitachi_HD44780_LCD_controller Wikipedia: Hitachi HD44780 LCD controller]
 
  
 
=== 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.
 
: ''(Many [[watch display]] are graphical LCDs or OLEDs)''
 
  
 
=== PC on Serial Port ===
 
=== PC on Serial Port ===
Line 95: Line 83:
 
*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.
 
 
[[category:Microcontroller]][[category:Serial Communications]]
 

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)