https://github.com/cpvalente/people-seven
Arduino code for displaying numeric information in custom 7 segment screen
https://github.com/cpvalente/people-seven
Last synced: 2 months ago
JSON representation
Arduino code for displaying numeric information in custom 7 segment screen
- Host: GitHub
- URL: https://github.com/cpvalente/people-seven
- Owner: cpvalente
- License: mit
- Created: 2018-03-15T18:26:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-21T09:41:23.000Z (about 7 years ago)
- Last Synced: 2025-01-23T01:34:00.846Z (4 months ago)
- Language: C++
- Size: 418 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# people-seven
People Counter - Receiver Node
Program receives values over i2c and displays in an array of
6 x seven segment displays
Programmed to run on Teensy 3.2### TODO
```
- Receive value over serial / i2c https://www.pjrc.com/teensy/td_libs_Wire.html
-- Read values from custom header
- Implement timers
-- display duty cycle (fade)
-- update display
-- stream values
- Add hardware listing to README
- Add file header
- Extend Symbol Encoding for alphanumeric
-- Simplified serial receiver should handle char
```### Implemented
```
- Serial for debug and comm
- Create lookup table for numeric characters
- Write simple values to displays
-- Use PORT instead of digitalWrite
```### EXTEND
```
- Real values
- Different display modes
- Write ID to EEPROM? https://www.pjrc.com/teensy/td_libs_EEPROM.html
- i2c dynamic address
-- ("does anyone have address a, no reply to assign address")
-- https://forum.arduino.cc/index.php?topic=128361.0
-- http://www.microchip.com/forums/m729059.aspx
-- https://github.com/PaulStoffregen/Wire/blob/master/examples/Scanner/Scanner.ino
-- https://forum.arduino.cc/index.php?topic=37304.0
- Extend lookup table for alphanumeric characters
- Extend display for spatial applications
- Fade with Shift PWM
-- Write faster shiftOut
-- Display is class?
- Debug Mode
```### COMMS - HEADER DESCRIPTION
```
- 0x3F. Protocol check '?'
- 1. Datatype description
-- 0x00. Write new value (bin)
-- 0x01. Write new value (char)
-- 0x02. Set Brightness
-- 0x03. Reboot
-- 0x04. Change Mode
- 2. Do acknowledge
-- 0x00 no ACK
-- 0x00 ACK
- 4. Data byte 1 | Value (Brightness)
- n. Data byte n
- \r. End with CR
```### SCREEN MODES
```
- 0x00. Display array
- 0x01. Display All
- 0x02. Display None
- 0x04. DEBUG
```### SEGMENTS ARRANGEMENT (MSBFIRST)
```
1111111
6 2
6 2
6 2
7777777
5 3
5 3
5 3
4444444 88
88
```### License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details