Got a few questions for a few problems I have, some of them may be quite silly but I'm getting nowhere fast
Essentially, i've written and tested some code for a basic PID controller, which works fine when tested on a matrix multimedia v2 development board, using the onboard lcd to give me visual feedback to make sure the values are what im expecting. Everything was good, 4k7 pots gave me the right voltage sweep and since the sensor I will be using for feedback gives a voltage range of 0-5v I wanted to use a pot which could output the same range, so the setpoint and feedback voltages would share pretty much exactly the same voltages for the same values (i.e the voltage output of the variable resistor would be the voltage the controller would try to get as feedback). Plumbing in a 4k7 resistor as mentioned earlier worked rather well, lcd gave me 255 at full rotation and zero when turned down.
Anyway, first problem with developing a stripboard version of the circuit - the pic's are giving out a lot heat and burning out (they wont program afterwards). I checked for shorts, couldn't find any (yet), buttt.....the 7805 voltage regulator seems to be giving out 7 volts according to my multimeter...something that shouts that somethings not right. The input is pretty much dead on 12v. Is this toast?
And secondly, my pot isn't giving the right voltage sweep either, gives between 5-7v depending on rotation. I assume this could be related to the 7805 problem, or, not to disrespect myself but I could just be plain ignorant regarding what values I should be using. The pot is linear, before you ask! (and i've used the same pot succesfully on my development board, using a screw terminal).
Maybe it needs an inline resistor?
anyway, sorry about the rather silly questions, just wondered if there's any suggestions?
cheers