Difference between revisions of "MyMenu"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 20: | Line 20: | ||
* 3 LEDs | * 3 LEDs | ||
* 49x49mm card with (4) 4-40 mounting holes | * 49x49mm card with (4) 4-40 mounting holes | ||
+ | |||
+ | == MCP23008 I2C Port Expander == | ||
+ | |||
+ | [http://ww1.microchip.com/downloads/en/DeviceDoc/21919e.pdf Data Sheet] | ||
+ | <pre> | ||
+ | GPIO Port Map | ||
+ | GP0 - LED D3 | ||
+ | GP1 - LED D2 | ||
+ | GP2 - LED D1 | ||
+ | GP3 - Select button 0 = pressed | ||
+ | GP4 - Right button | ||
+ | GP5 - Down button | ||
+ | GP6 - Up button | ||
+ | GP7 - Left button | ||
+ | </pre> | ||
+ | OLED Display | ||
+ | On ebay... | ||
+ | Another on bay | ||
+ | There are several versions | ||
+ | MyMenu requires | ||
+ | 4-pin I2C version | ||
+ | Rev X1-X3 requires pin Ordering VCC, GND, | ||
== Driver/Example code == | == Driver/Example code == |
Revision as of 13:29, 25 January 2020
Features
MyMenu is a self contained menu system with these features:
- 0.96" OLED
- Menu Pushbuttons
- 5 Way Keypad (Up, Down, Left, Right, Select)
- Direction, Select buttons
- 2-wire I2C (VCC, GND, CLK, DATA) interface
- Selectable I2C address in range 0x20-0x27 (resistor install option)
- Interrupt output line on button press
- MCP23008 I2C Port Expander
- OLED connection - mounts OLED to card and shares I2C connection to Host
- 3 LEDs
- 49x49mm card with (4) 4-40 mounting holes
MCP23008 I2C Port Expander
GPIO Port Map GP0 - LED D3 GP1 - LED D2 GP2 - LED D1 GP3 - Select button 0 = pressed GP4 - Right button GP5 - Down button GP6 - Up button GP7 - Left button
OLED Display On ebay... Another on bay There are several versions MyMenu requires 4-pin I2C version Rev X1-X3 requires pin Ordering VCC, GND,