The Hardware :: Waddon

From Grahamsoft Labs

Jump to: navigation, search

Contents

[edit] Control System

PIC18F2550-I/SP
PIC18F2550-I/SP

Each block controller will require a 28 Pin PIC18F2550 Microcontroller which has 24 input/output lines. The datasheet can be found here.

Microcontroller Specification

  • IC, 8-BIT FLASH MCU
  • Timers, No. of:4
  • Bits, No. of:8
  • Frequency, clock:48MHz
  • Memory size, RAM:2048Byte
  • Memory size:32k
  • Temp, op. min:-40°C
  • EEPROM size:256Byte
  • Temp, op. max:85°C
  • I/O lines, No. of:24
  • Memory type:FLASH
  • Pins, No. of:28
  • Case style:SDIL
  • ADC inputs, No. of:10
  • Base number:18
  • Bits, number in ADC:10
  • Bits, number in timer:16
  • IC Generic number:18F2550
  • Interrupts, internal No. of:19
  • Logic function number:18F2550
  • Microprocessor/controller features:SPI, I²C, 2 xCCP, EUSART, 2 x Comparators, 1 x 8-bit timer, 3 x 16-bit timer
  • Temperature range, IC:Industrial
  • Frequency, operating:48Hz

The I/O requirement for each block is detailed below:

Item            Req. I/O Pins    Qty    Sub Total
-------------  ---------------  -----  -----------
Train Control        2            1         2
Sensors              1            4(5)      4(5)
Signals              2            1         2
Point Motors         2            2(3)      4(6)
-------------  ---------------  -----  -----------
Total                                       12(15)

Notes

  • The number of I/O lines required for Comms is unknown at this time.
  • One block has an additional siding so requires an additional point and sensor; these requirements are shown in brackets.

[edit] Point Control

Hornby Point Motor
Hornby Point Motor

A Hornby point motor requires 2 lines of input which each controls one direction of travel. Operating between 12 to 16 volts each line requires a short pulse of power to operate and failure to do so will lead to burn out of the motor.





.

[edit] Signals

LED based signals that require a separate output line for each colour. Signals can range from 2 to 4 colours

[edit] Train Position

Reflective switches detect objects up to one inch in front of them. They each require one input line and also require a separate power supply.

http://www.farnell.com/datasheets/84799.pdf

[edit] Train Control

H Bridge with an appropriate heat sink.

Bridport Technologies