Showing posts with label code. Show all posts
Showing posts with label code. Show all posts

Monday, July 29, 2013

2008 Mercury Sable Passenger Compartment Fuse Panel and Relay Code Diagram


If you found electrical components are not working in a vehicle, a fuse may have blown, so check the appropriate fuses before replacing any electrical component. You can identify the blown fuse by the broken wire within the fuse. The following schematic / diagram shows the location of The 2008 Mercury Sable Passenger Compartment Fuse Panel and Relay. The fuse panel and relay of the 2008 Mercury Sable are located under the instrument panel to the left of the steering wheel.



Always replace the fuse with one that has the specified rating, if the amperage ratings of the replacing fuse is higher, A fuse with higher amperage rating can cause severe wire damage and could start a fire. The table below shows you the exact amperage rating, location and code for each fuse and relay. (fuse number, amperage rating, and circuit protected).


2008 Mercury Sable Passenger Compartment Fuse Panel and Relay Code:

Fuse
Amperage
Description of Circuit Protected

1
2
30A
15A
Smart window motor
Brake on/off switch, High-mounted brake lamp
3
15A
SDARS, Bluetooth, Family entertainment system (FES)/Rear seat control
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
30A
10A
20A
10A
10A
15A
15A
10A
7.5A
5A
10A
10A
15A
20A
20A
25A
15A
15A
15A
15A
20A
10A
10A
20A
5A
5A
5A
10A
10A
10A
5A
Spare
SPDJB logic power
Turn signals
Low beam headlamps (left)
Low beam headlamps (right)
Interior lights, Cargo lamps
Backlighting, Puddle lamps
All wheel drive
Memory seat/mirror switches, Memory module
FEPS module
Analog clock
Climate control
Spare
All power lock motor feeds, Decklid release
Spare
Moon roof
OBDII connector
Fog lamps
Park lamps, License lamps
High beam headlamps
Horn relay
Demand lamps/Interior lamps
Instrument panel cluster
Adjustable pedal switch
Radio, Radio start signal
Instrument panel cluster
Overdrive cancel switch
Compass, Automatic dimming rear view mirror
Restraint control module
Spare
AWD module
35
10A
Steering rotation sensor, FEPS, Rear park assist, Heated seat modules
36
37
38
39
40
41
42
43
44
5A
10A
20A
20A
20A
15A
10A
10A
10A
PATS module
Climate control
Subwoofer (Audiophile radio)
Radio
Spare
Mic mirror, Moon roof, Front lock switches, Radio
Spare
Spare
Spare
45
5A
Relay coils: PDB, Auxiliary A/C, Front and rear wipers, Front blower motor
46
7.5A
Occupant Classification Sensor (OCS), Passenger Airbag Deactivation Indicator (PADI)
47
48
30A CB*
-
Power windows
Delayed accessory relay



* CB: Circuit Breaker
Read More..

Saturday, July 6, 2013

Morse Code Beacon Keyer

This circuit stores a single morse code message as bits in an EPROM chip, the message is sent to a relay which can key a CW transmitter. The keyer can output either a one-shot message such as "CQ DX DE CALLSIGN", or a continuous message. The continuous mode is useful for making low power (QRP) beacons. A One-shot message is controlled by the start/stop buttons, a continuous message is sent by turning on the free run switch. EPROMs other than the 2732 can be used if suitable changes are made to the circuit. For larger EPROMs, just ground the higher order address input lines on the EPROM chip, and wire the appropriate chip select pins for outputs enabled and chip selected.


It is also possible to store more than one message in different banks of a larger EPROM, for instance, if a 2764 part were used, the A12 address line could be used to select the upper or lower message.

Theory
CMOS Nor gates U1c and U1d form a gated astable clock oscillator, the frequency can be adjusted by potentiometer VR1. Gates U1a and U1b form the run/stop flip-flop. In one-shot mode, this is activated by pressing the start switch, and deactivated either by pressing the stop switch, or by the end of message signal that comes from the EPROM d1 line.

The clock oscilator causes U2, a binary counter, to step through some of an 11 bit binary count. This sequence is used to step through the addresses on EPROM U3. Morse code data is stored in the EPROM d0 bit, it is used to turn on and off Q1 and RL1, the keying relay. At the end of a one-shot message, a single 1 bit arrives on U3 pin d1, causing the run/stop flip-flop to turn off, and resetting the U2 counter to zero. D1, C2 and R4 cause U2 to reset when the power is applied. R5 is used to prevent the U3 d1 line from being shorted to +5v when the stop switch is pressed.

Programming the EPROM
I have written a C language program called cw2hex that is used to convert a sequence of ASCII characters into a hex data image that can used for programming the EPROM chip that is used in this circuit. The program takes text input and produces an Intel Hex format file as output. The hex file should be readable by most modern EPROM programmers.

The C source code and Unix Makefile are in the file cw2hex.tar.gz (tar.gzip). A DOS executable version of the code is available as cw2hex.exe. It should be possible to compile cw2hex.c on any machine with a C compiler. The C program source files are available if you want to look at the code from your web browser.
Read More..