A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | ARM Computer-Thing | ||||||||||||||
2 | Core Specs: | 50mhz ARM Cortex-M0, 4kb SRAM, 32kb Program ROM, 1mb User Flash | Simple ARM-based GP computer thing. Quick, but limited storage. Deficits: Limited to augmented interperted language for user code due to small RAM, limited expansion without giving up features. | ||||||||||||
3 | Output: | 320x240 Color display, Piezo Speaker | |||||||||||||
4 | Input: | USB or Serial, 8x8 Key Matrix or PS/2 | |||||||||||||
5 | |||||||||||||||
6 | Signal Lines | Parts Manifest | |||||||||||||
7 | Pin Name | For? | Desc/Notes | Part# | Desc | Notes | Price | URL | |||||||
8 | CS | LCD | Chip select | LPC1114 | 50mhz ARM-M0, 4kb RAM/32kb ROM | $2.82 | http://www.digikey.com/product-detail/en/LPC1114FN28%2F102,12/568-10143-5-ND/3430860 | ||||||||
9 | RS | LCD | Register select | NHD-2.4-240320SF-CTXI#-1 | 240x320 2.4" LCD 18bit Color | Must be soldered. | $14.85 | http://www.digikey.com/product-detail/en/NHD-2.4-240320SF-CTXI%23-1/NHD-2.4-240320SF-CTXI%23-1-ND/2626410 | |||||||
10 | WR | LCD | Write strobe. May be able to tie CS and WR together? | W25Q80BVDAIG | 1 mb (8 megabit) SPI Flash | $0.56 | http://www.digikey.com/product-detail/en/W25Q80BVDAIG/W25Q80BVDAIG-ND/2208452 | ||||||||
11 | RST | LCD | LCD Reset | SN74HC373N | Tri-State 8 input D-Type Transparent Latch | $0.55 | http://www.digikey.com/product-detail/en/SN74HC373N/296-1591-5-ND/277237 | ||||||||
12 | 8 pins - data bus | LCD/matrix in/74373 out | Shared between LCD and Matrix keyboard | 10104111-0001LF | Micro AB USB Jack | Use for USB or Serial. | $0.79 | http://www.digikey.com/product-detail/en/10104111-0001LF/609-4053-1-ND/2350359 | |||||||
13 | OE | '373 | Could also be used for PS/2 | PB-1226PEAQ | Piezo Speaker | Optional. May need drive transistor | $0.52 | http://www.digikey.com/product-detail/en/PB-1226PEAQ/458-1214-ND/1957866 | |||||||
14 | LE | '373 | Data/CLK lines instead of matrix | MCP1702-3302E/TO | 3.3v Linear Regulator | $0.58 | http://www.digikey.com/product-detail/en/MCP1702-3302E%2FTO/MCP1702-3302E%2FTO-ND/1098463 | ||||||||
15 | 2 pins - USB/RS232 | PC interface | Correct voltage for USB. Need MAX232 if serial | A28-LC-TT-R | 28 pin .6" DIP socket | CPU | $0.42 | http://www.digikey.com/product-detail/en/A28-LC-TT-R/AE10004-ND/821758 | |||||||
16 | MOSI | Flash | Slave input (master out) | AE9986-ND | 8 pin .3" DIP socket | Flash | $0.18 | http://www.digikey.com/product-detail/en/1825910-7/450-1804-ND/1731414 | |||||||
17 | MISO | Flash | Slave output (master in) | BH14AAW | 2x2 AA battery holder | $1.16 | http://www.digikey.com/product-detail/en/1825910-7/450-1804-ND/1731414 | ||||||||
18 | CLK | Flash | SPI clock | OS102011MS2QN1 | Power Switch - Slide ON-ON | $0.40 | http://www.digikey.com/product-detail/en/1825910-7/450-1804-ND/1731414 | ||||||||
19 | CS | Flash | Flash CS line | 1825910-7 | Switch - Tactile Momentary On x 40 | Keypad - 5x8 | $4.00 | http://www.digikey.com/product-detail/en/1825910-7/450-1804-ND/1731414 | |||||||
20 | SPK | Piezo | PWM Piezo output OR User I/O | 4609X-101-103LF | 9-SIP 10k Resistor Array | Pull-down for keypad | 0.39 | http://www.digikey.com/product-detail/en/4609X-101-103LF/4609X-101-103LF-ND/2634616 | |||||||
21 | PIO0_0 | GPIO | User IO | Passives - Pull up/down resistors, (bypass) capacitors, etc. | $2.00 | -- | |||||||||
22 | |||||||||||||||
23 | |||||||||||||||
24 | |||||||||||||||
25 | |||||||||||||||
26 | $29.22 | ||||||||||||||
27 | |||||||||||||||
28 | |||||||||||||||
29 | LPC1114 Pins | Block Diagram | 5x8 Keypad | ||||||||||||
30 | Pin Number | Desc | Usage | 1 | 2 | 3 | 4 | 5 | |||||||
31 | 1 | PIO0_8 | MISO0 | MISO - Flash | 1 | F1 | F2 | F3 | F4 | F5 | ||||||
32 | 2 | PIO0_9 | MOSI0 | MOSI - Flash | 2 | 2nd | Esc | Up | Down | |||||||
33 | 3 | PIO0_10 | CS - LCD | 3 | Left | Right | |||||||||
34 | 4 | PIO0_11 | RS - LCD | 4 | + | ||||||||||
35 | 5 | PIO0_5 | WR - LCD | 5 | 7 | 8 | 9 | - | |||||||
36 | 6 | PIO0_6 | SCK0 | SCK - Flash | 6 | 4 | 5 | 6 | x | |||||||
37 | 7 | Analog Vcc | Vcc | 7 | 1 | 2 | 3 | / | |||||||
38 | 8 | Analog GND | GND | 8 | 0 | . | Del | = | |||||||
39 | 9 | PIO1_0 | D0 | ||||||||||||
40 | 10 | PIO1_1 | D1 | ||||||||||||
41 | 11 | PIO1_2 | D2 | ||||||||||||
42 | 12 | PIO1_3 | D3 | ||||||||||||
43 | 13 | PIO1_4 | D4 | ||||||||||||
44 | 14 | PIO1_5 | D5 | ||||||||||||
45 | 15 | PIO1_6 | D6 | ||||||||||||
46 | 16 | PIO1_7 | D7 | ||||||||||||
47 | 17 | PIO1_8 | RST - LCD | ||||||||||||
48 | 18 | PIO1_9 | 16-T0-Match0 | Piezo SPK / GPIO | ||||||||||||
49 | 19 | XTAL-IN | -- Unused -- | ||||||||||||
50 | 20 | XTAL-OUT | -- Unused -- | ||||||||||||
51 | 21 | Vcc | Vcc | ||||||||||||
52 | 22 | GND | GND | ||||||||||||
53 | 23 | PIO0_0 | \RESET | Unused GPIO | ||||||||||||
54 | 24 | PIO0_1 | OE - 373 | ||||||||||||
55 | 25 | PIO0_2 | SSEL0 | CS - Flash | ||||||||||||
56 | 26 | PIO0_3 | LE - 373 | ||||||||||||
57 | 27 | PIO0_4 | USB D- |OR| Serial RX | ||||||||||||
58 | 28 | PIO0_7 | USB D+ |OR| Serial TX | ||||||||||||
59 | |||||||||||||||
60 | |||||||||||||||
61 | |||||||||||||||
62 | |||||||||||||||
63 | |||||||||||||||
64 | |||||||||||||||
65 | Notes: | ||||||||||||||
66 | Could use ASM snippets with an interperted language - load the routine into RAM and jump to it from interperted code | ||||||||||||||
67 | Use piezo line as an additional CS line to allow SPI to be used as an expansion interface | ||||||||||||||
68 | Should be able to bit bang usb with no voltage conversions required whatsoever | ||||||||||||||
69 | No more than 3.3v for Vcc (out from regulator), damage may occur otherwise | ||||||||||||||
70 | USB/Serial lines could also be used as user IO | ||||||||||||||
71 | Unfortunately, can't use built in UART as it would interrupt contigious data bus, slow everything down... | ||||||||||||||
72 | Display code would need to disable interrupts so that key scan routine does not run while display operation is in progress | ||||||||||||||
73 | Might be able to do a reduced-color double buffer mode with the display controller and full resolution | ||||||||||||||
74 | |||||||||||||||
75 | Don't need a latch if using a chip with more pins | ||||||||||||||
76 | |||||||||||||||
77 | |||||||||||||||
78 |