The Mux: Difference between revisions

406 bytes removed ,  20 May 2012
UserData crash = bye bye source code
(UserData crash = bye bye source code)
Line 10: Line 10:
Red buttons have unknown function.
Red buttons have unknown function.


As of Spring 2012 considered completely kaputt, probably a power supply glitch but we can't get it to fire up.
==Controller pinouts==
==Controller pinouts==
{|border="1"
{|border="1"
Line 43: Line 44:


==explanation of operation==
==explanation of operation==
This was originally based around a PIC16F84 with an 8MHz crystal containing code written by Rob Sprowson. The hex file as loaded into the PIC can be found here[[https://ystv.york.ac.uk/~documents/docs_resources/StationDocumentation/muxController_sprow.hex]] whilst a partial disassembly of it can be found here [[https://ystv.york.ac.uk/~documents/docs_resources/StationDocumentation/muxController_sprow.doc]]. Also available is a disassembled version of the ROM code [[https://ystv.york.ac.uk/~documents/docs_resources/StationDocumentation/schedula_rom_disassembled.txt]] from within the BBC micro that used to be part of Schedula.
This was originally based around a PIC16F84 with an 8MHz crystal containing code written by Rob Sprowson, the code for which is now lost.


A new PIC, a PIC18F2455 using a 20MHz crystal, has replaced this PIC through use of an extra 'daughter' board. This change in PIC was to allow easier coding, using C instead of assembler, and to provide USB capabilites. The source code can be found in [[Main Mux Source Code]].
A new PIC, a PIC18F2455 using a 20MHz crystal, has replaced this PIC through use of an extra 'daughter' board. This change in PIC was to allow easier coding, using C instead of assembler, and to provide USB capabilites. The source code has also been lost.


Six 74HC595 shift registers are daisy chanined together to form a single large serial-to-parallel converter to control all of the LEDs and the buzzer. The data is shifted in in the following order, with high to turn the LED/buzzer on:
Six 74HC595 shift registers are daisy chanined together to form a single large serial-to-parallel converter to control all of the LEDs and the buzzer. The data is shifted in in the following order, with high to turn the LED/buzzer on: