I still want to use the 1802 Membership Card's Front Panel Card. That means I have to use the D-SUB connector. But there is no address bus on this connector, therefore the address is only known as long as the DMA (load mode) is used. The data bus is neither available, you will see the data in the load mode (DMA) and the output port (LEDs) during the run mode.
There is Python Library and Examples for Micro Dot pHAT on GitHub from Pimorini itself. But I prefer plain C and wrote my own hex display driver microdot_phat_hex.c
Check for the I2C device:
pi@cosmac:~/elf $ ls /dev/*i2c* /dev/i2c-1
Detect the I2C chips:
pi@cosmac:~/elf $ i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- 61 62 63 -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --61, 62, and 63 are the I2C addresses of the IS31FL3730 chips.
The elfdisplay
is part of the tools package. See RaspiElf#How_to_get_and_build_the_RaspiEl
For 6 digits we need 36 GPIOs. Without blanking 32 GPIOs, and shared latch input 25 GPIOs. The Raspberry Pi has 26 GPIOs, the spare GPIO ca be used for an additional latch input, then we have a latch for the data and a latch for the address.
Usually the CDP1802 computers use a multiplexed address bus e.g. the Spare Time Gizmo's Elf 2000 display:
Is somebody out there interested in a TIL311 emulator? Linux is not a Real Time Operating System (RTOS), and it is easy to miss a strobe signal, even if we use interrupts.
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
LED_module.jpg | r1 | manage | 79.2 K | 2018-05-03 - 20:14 | PeterSchmid | |
![]() |
Microdot_pHAT.jpg | r1 | manage | 164.3 K | 2018-05-03 - 20:17 | PeterSchmid | |
![]() |
keypad-display.jpg | r1 | manage | 718.0 K | 2018-05-20 - 16:12 | PeterSchmid | |
![]() |
til311-e4-519224.pdf | r1 | manage | 90.5 K | 2018-05-04 - 19:27 | PeterSchmid | |
![]() |
til311.jpg | r1 | manage | 96.4 K | 2018-05-03 - 20:14 | PeterSchmid |