Thu, 24 Nov 2011 16:04:30 +0100
added timer0 based car id detection - works only on 50/50 input signal
CarreraShark Rail data packet sniffer Hardware: Mega16, 8mhz PD2 = Controller Input |>o = Inv Schmitt Trigger for signal buffering (74hc14) [RAIL+] ------[33kohm]------+-----|>o--|>0----[PD2] | --[10kohm]--- | [RAIL-] --------------------------------+-----[GND] Debug Pins: PD3 = Packet Start pulse PD4 = Bit timer pulse (50ns) PD5 = Cycle Sync: each low/high change == start of cycle (after program packet received)