The Mux: Difference between revisions

Jump to navigation Jump to search
709 bytes added ,  25 August 2010
m
no edit summary
mNo edit summary
mNo edit summary
Line 46: Line 46:


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 can be found in [[Main Mux Source Code]].
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:
{|border="1"
|+ ''Shift register output, leftmost exits chip first''
|Bottom Row Right LED
|.
|.
|.
|Bottom Row Left LED
|2nd Row Right LED
|.
|.
|.
|2nd Row Left LED
|3rd Row Right LED
|.
|.
|.
|3rd Row Left LED
|Top Row Right Green LED
|.
|.
|.
|Top Row Left Green LED
|Mux4 LED
|Mux3 LED
|Mux2 LED
|Mux1 LED
|Obey LED
|Not Used
|Not Used
|Not Used
|Buzzer
|7-seg Top
|7-seg Top Right
|7-seg Bottom Right
|7-seg Bottom
|7-seg Bottom Left
|7-seg Middle
|7-seg Top Left
|}
Anonymous user

Navigation menu