Skip to content

sheffieldhackspace/train-signs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Train Station Clocks

The clocks in the space. See also Nottingham Hackspace's wiki:

https://wiki.nottinghack.org.uk/wiki/BigClocks

Gif of "Sheffield Hackspace" moving around train clock sign

Picture of train clock sign

Screen size

96 × 26

Arduino pins used

pin for
5V power
3V3 power
GND GND
13 SPI CLOCK
11 SPI DATA
6 mysterious square wave
4 latch/strobe between panels
2 board select

Programming the Arduino

Using Arduino or Platform IO, compile the files in ./src/.

# upload Arduino code
pio run -e checkerboard -t upload
pio run -e movingwords -t upload

Components for control

same as https://github.com/alifeee/bus-signs, see that.

The microcontroller within is DCcEle DCcduino UNO (basically an Arduino Uno)

Picture of Arduino Uno clone

Proto shield

See layout.ods.

screenshot of spreadsheet showing pin layout

See BigClock.h and Adafruit_GFX.h libraries for specific functions that can be used.

Libraries

Library Version used
Adafruit_BusIO da6809b582f1b64eeafe44d58df8a90a2fa9b47c
Adafruit-GFX-Library 223f914d0e092cc24723182a2e3273e61c4b22ea
BigClockSnake 997af0f0490c7a7ea11e199de90a76a7f8f5caab
TimerOne ce0fa0b7965f189925d8b7dbba49d562f7c0a4b3

The BigClock library has been patched here.

About

Information and code on the train station signs in the space.

Topics

Resources

Stars

Watchers

Forks

Languages