SigOS: Hardware: Difference between revisions
Line 51: | Line 51: | ||
* Pin +5V In | * Pin +5V In | ||
** Wire color: Grey | |||
** Input +5 volts to power this LED and all downstream LEDs on the chain | ** Input +5 volts to power this LED and all downstream LEDs on the chain | ||
* Pin GND In | * Pin GND In | ||
** Wire color: Black | |||
** Ground return for +5 volts and signal | ** Ground return for +5 volts and signal | ||
* Pin DIn | * Pin DIn | ||
** Wire color: White | |||
** Data Input signal, controls function of the LED | ** Data Input signal, controls function of the LED | ||
* Pin +5v Out | * Pin +5v Out | ||
** Wire color: Grey | |||
** Output +5 volts to power downstream LEDs in the chain | ** Output +5 volts to power downstream LEDs in the chain | ||
* Pin GND Out | * Pin GND Out | ||
** Wire color: Black | |||
** Output ground return for +5 volts and signal for downstream LEDs | ** Output ground return for +5 volts and signal for downstream LEDs | ||
* Pin DOut | * Pin DOut | ||
** Wire color: Grey | |||
** Output data signal, controls function of downstream LEDs | ** Output data signal, controls function of downstream LEDs | ||
* Power: 30 watts | * Power: 30 watts |
Revision as of 12:19, 6 December 2024
The Signal Operating System is designed to operate on low-cost hardware. This encourages extensive use for Signals and Detectors throughout most railroads, large and small.
Components
Control Board
SigOS is currently running on an ESP32-S2 Mini board. This powerful board contains 4Mbytes of Flash and provides WiFi network connectively, plus a plethora of input output signals.
Ribbon Cable
It is not necessary to use ribbon cable for wiring the hardware. However, it is low cost, convenient to work with, helps reduce "rats nest", and consistently using the same color wire for components simplifies construction and debugging.
- Wire gauge: 22, 24, or 26 AWG
- Source: Amazon.com
CdS photoresistor
A CdS photoresistor is a light-sensitive resistor. It detects the ambient light at the signal head, which SigOS uses to control the brightness of the WS281 LEDs.
- Pin 1
- Either wire from CdS photoresistor
- Wire color: Green
- Function: Variable voltage into GPIO P1 of Control Board A/D converter, voltage is inversely proportional to ambient light level
- Pin 2
- Other wire from CdS photoresistor
- Wire color: Yellow
- Function: +3.3 volt power
- Part number: GL5516
- Characteristics: Bright light 5-10k Ohms, dark 0.2M Ohms
- Source: Amazon.com
WS281 LED
The WS281 LED is a low-cost, high intensity, multi-color LED. It is contains its own drive and control circuitry, making it extremely easy to integrate into the SigOS project. MicroPython on the ESP32 board directly supports driving the WS281 signals. Learn more about the WS281 here: WS2812b LED, MIT.
- Pin +5V In
- Wire color: Grey
- Input +5 volts to power this LED and all downstream LEDs on the chain
- Pin GND In
- Wire color: Black
- Ground return for +5 volts and signal
- Pin DIn
- Wire color: White
- Data Input signal, controls function of the LED
- Pin +5v Out
- Wire color: Grey
- Output +5 volts to power downstream LEDs in the chain
- Pin GND Out
- Wire color: Black
- Output ground return for +5 volts and signal for downstream LEDs
- Pin DOut
- Wire color: Grey
- Output data signal, controls function of downstream LEDs
- Power: 30 watts
- Part number: ALITOVE WS2812B
- Source: Amazon.com
Servo
A miniature servo provides power to move the semaphore flag into its three positions.