my battery guage jumps around and my lights dim when the brake is push and the battery gauge moves with signal

1994 ford ranger 2.3 i have replaced battery alternator terminals headlight switch and connecter with no luck. when truck is running the battery has something pulling power from it dash lights flash when i hit the brake. when i turn on the heater my oil pressure gauge and the coolant temp gauge moves all the past the H when i turn it off it goes back down. sometimes i will hit a bump the battery gauge goes back up and its fine untill i hit another bump. i believe its a short but can not find it.also when i turn the key off both gauges go way past the H oppisite of way of what they should do. the battery has never died though just runs with low voltage when it messes up.

Technorati Tags: , , , , , , , , , , , , ,

Audio controlled Christmas lights?

i would like to controll my christmas lights with music… i am well aware of what needs to be done. but i am trying to use the parts that i already have. what are some efficient and easily built circuits that i could use? i have already built a few variations i was just looking for something that is more responsive and could run/be turned on at a very low voltage(around 10 to 20 millivolts)

Technorati Tags: , , , , , ,

Airbag light + check engine. Diagnostic says 02 sensor?

I recently bought a used car with 80k miles, the check engine light has been on for a few weeks now, and recently the airbag light has been going on and off while i’m driving. I got a diagnostic done on the car and the computer only showed that i needed a tune-up and a O2 sensor-low voltage reading.

It said nothing concerning the airbag and i was wondering if anyone could tell me if it was possible that the O2 sensor is causing the airbag problem aswell?

Technorati Tags: , ,

Is a low voltage LED light a better and safer choice for an inground swimming pool?

Can a professional just swap out the higher voltage lamp with a low voltage model? It seems safer.

Technorati Tags:

light ballast / transformer?

I am an electrician.Sometimes I am tasked with putting a dimmer on an existing low voltage (with a ballast).There are dimmers for electronic ballasts, and there are dimmers for magnetic ballasts.In order to "get" the right type of dimmer I need to know how I would go about telling an electronic ballast from a magnetic ballast.

How would I go about telling one from the other?

Technorati Tags: , , , , , ,

Help with Microprocessor Programming in C?

Hi there,

I am trying to program a microprocessor in C to do a simple test for a sensor system. The chip takes in 3 values from three different pins and then measures them through the use of the A/D converter. These stored values are then compared to preset values and certain pins are turned high or low as a result. These high or low pins will light LEDs which ultimately are the output and tell the user what the reading is.

The specific model of the chip is the PIC16F684 and the specific pins layout (such as RA0) can be found online.This is a school project and is due in less than a week.

I am very new to programming and created this with the help of the book that came with the micon ("123 PIC microcontroller programs for the Evil Genius"), so peculiar expressions are not my idea. It compiles fine, however when we test it in modeled circuit it does nothing.

Can someone tell me what is wrong here or how I could do this another way??

The program is found below.

Thank you very much..

#include <pic.h>
/* APSC 230 program

*/

__CONFIG(INTIO & WDTDIS & PWRTEN & MCLRDIS & UNPROTECT & UNPROTECT & BORDIS & IESODIS & FCMDIS);

int ADCValue0 = 0;
int ADCValue1 = 0;
int ADCValue2 = 0;
int HIGHPH = 11010010; //4210 in binary = high voltage threshold for sensor
int LOWPH = 1000110; //70 in binary = low voltage threshold for sensor
int HIGHCl = 10010110; //150 in binary = high voltage threshold for FCL and TCL

main()
{

PORTC = 0;
CMCON0 = 7; //Comparators off
ANSEL = 0b00001111;// enable RA0 RA1 RA2 and RA3 analogue inputs

ADCON0 = 0b000000001; //Turn on the ADC
// bit 7 – left justified sample
// bit 6 – Use VDD
// bit 4:2- Channel 0, i.e. pin RA0
// bit 1 – Do not Start
// bit 0 – Turn on ADC, see pg 94..
ADCON1 = 0b001110000; // Select the internal RC Clock

ADCON0 = ADCON0 | (1 << 1); // Could also be "GODONE = 1;"

while(!GODONE)// wait for ADC to complete

ADCValue0 = ADRESH; //Save sample value after operation

while (1 == 1)
{
if (ADCValue0 > HIGHPH)
{
RA5 = 1;
RC5 = 0;
RA4 = 0;//High pH LED turned on
}
else if (ADCValue1 < LOWPH)
{
RA5 = 0;
RC5 = 1;
RA4 = 0;
// Low pH LED turned on
}
else
{
RA5 = 1;
RC5 = 0;
RA4 = 1; // Safe pH LED Turned on
}

}

ADCON0 = 0b000001001; //Turn on the ADC
// bit 7 – left justified sample
// bit 6 – Use VDD <<<<<<<< or could i use RA1 as vref???? if so use bit 6 = 1 for RA1 as vref
// bit 4:2- Channel 1, i.e. pin RA2
// bit 1 – Do not Start
// bit 0 – Turn on ADC, see pg 94..
ADCON1 = 0b001110000; // Select the internal RC Clock

ADCON0 = ADCON0 | (1 << 1); // Could also be "GODONE = 1;"

while(!GODONE)// wait for ADC to complete

ADCValue1 = ADRESH; //Save sample value after operation

while (1 == 1)
{
if ((ADCValue1 > HIGHCl) )
{
RC0 = 1;//High FCl LED turned on
RC1 = 0;
}
else
{
RC0 = 0;
RC1 = 1; // Safe pH LED Turned on
}
}

ADCON0 = 0b000010001; //Turn on the ADC
// bit 7 – left justified sample
// bit 6 – Use VDD
// bit 4:2- Channel 2, i.e. pin RA3
// bit 1 – Do not Start
// bit 0 – Turn on ADC, see pg 94..
ADCON1 = 0b001110000; // Select the internal RC Clock

ADCON0 = ADCON0 | (1 << 1); // Could also be "GODONE = 1;"

while(!GODONE)// wait for ADC to complete

ADCValue2 = ADRESH; //Save sample value after operation

while (1 == 1)
{
if ((ADCValue2 > HIGHCl) )
{
RC4 = 1;
RC3 = 0;//High TCl LED turned on
}
else
{
RC4 = 0;
RC3 = 1; // Safe TCl LED turned on
}
}

}

Technorati Tags: , , , , , , , , , , , , , , , , , , ,

I have a 2000 Ford Taurus Wagon, check engine light on,?

I have a 2000 Ford Taurus Wagon with a 3.0 liter engine, I am getting this code and I don’t know what this means, tell me what this is and how to fix it.

P1413 Sec Air Injection System circuit low voltage
I found problem, bad fuse in engine fuse block.

Technorati Tags: , , , , , ,

pc power supply to power 12 volt outdoor led lights?

I have a parts pc that I’m not using. I recently was given some low voltage outdoor l.e.d. lights. From what i’ve read the lights need a transformer to power them. With these lights being l.e.d.s, the wattage of the bulbs is only 0.375 each x 8 lights for a total wattage requirement of 3 watts. They are also 12 volt. The power supply in the old pc says 12 volt @13 amps. Will this work? or will the amperage be too much? The wiring will be roughly 50 feet long and 14-16 gauge strand copper.

Technorati Tags: , , , , , , , , ,

have an 02 cav, is not get fuel to no. 3 cycl.?

have checked the inj. is ok the wires going to the inj. have voltage on them .one lights the test light up bright the other is showing low voltage
have checked the fire is getting fire to the plug.have checked for a burnt valve.have checked the injector by changing out with another injector.the injector is good. have checked the wires with test light .one lights it up bright and the other is deam.
have checked the fire is getting fire to the plug.have checked for a burnt valve.have checked the injector by changing out with another injector.the injector is good.
have checked the fire is ok,valves are ok.have checked the inj.by replacing it with another is ok.

Technorati Tags: , ,

How do I install under cabinet linear lighting?

I am installing under cabinet linear lighting under my kitchen cabinets (power supply is 150W and I am using 12, 10W bulbs. The issue is the low voltage wire is not supposed to go in the walls. My cabinets split at a window and I would like to avoid seeing the wire going around the window on the outside. I bought connectors which change high voltage to the low voltage wire. The store where I bought the product refused to go into specifics about how to install (probably shouldn’t have bought it there, but it sounded easy enough). I planned on putting the transformer in the basement and running three high voltage wires to the three areas under the cabinets and using the high to low voltage connectors under the cabinet. I opened the transformer and found two terminals, one for the power in and one for the low voltage wire out. Do I use regular romex to connect to the low voltage side (power out) so I can run it through the floor and through the walls then convert to low voltage wire at the cabinet? Also, the low voltage wire says 10 AWG does this mean that I need to use 10 gauge wire and a 30AMP fuse? That seems like overkill. Any help is appreciated.

Technorati Tags: , , , , , , , , , , , , ,

Next Page »