Ok so I decided to start mocking up a circuit for the dash that I posted about in the other thread. Again I apologise if this is an obvious question but I'm new to this so bear with me please.
The first step was to reduce a 12v feed to 5v power the Picaxe (18M2 at the moment), so I wrote a simple program that just sent out a constant high signal on pin 18 to check if Picaxe was working properly. On the dev boad this worked fine (using a battery pack).
So on a breadboard I started working on the design and used an LM2940T-5 rectifier to drop the voltage. However I am finding that pin 18 is not giving a constant +5v (or thereabouts) out. Instead it is switching between about 4.9v and 3v. If I wire a 330ohm resistor and LED to pin 18, the LED flashes for a bit before sitching off constantly. The 5v feed to the Picaxe from the rectifier seems constant.
This is teh setup.
Where have I gone wrong?
The first step was to reduce a 12v feed to 5v power the Picaxe (18M2 at the moment), so I wrote a simple program that just sent out a constant high signal on pin 18 to check if Picaxe was working properly. On the dev boad this worked fine (using a battery pack).
So on a breadboard I started working on the design and used an LM2940T-5 rectifier to drop the voltage. However I am finding that pin 18 is not giving a constant +5v (or thereabouts) out. Instead it is switching between about 4.9v and 3v. If I wire a 330ohm resistor and LED to pin 18, the LED flashes for a bit before sitching off constantly. The 5v feed to the Picaxe from the rectifier seems constant.
This is teh setup.
Where have I gone wrong?