Synergic Posted December 17, 2003 Report Share Posted December 17, 2003 hi!i´m doing a midibox64,i have 2 ain modules,2 din modules and 1 dout module.the midibox64 latest firmware for pic18f452 is correctly loaded.all modules are powered to 5V(not the dout module).i put 63 ain inputs to ground and one conected to a 10k lineal pot,but the value of pot on the lcd only goes from 0 to 97 or 102.what is wrong? how can i solve this? pots value may goes from 0 to 127..not?please answer me!! i´m going crazy!! Thorsten help me please!!!is very important!! :'(thanks !! ;) Quote Link to comment Share on other sites More sharing options...
Guest pHaTb0y Posted December 17, 2003 Report Share Posted December 17, 2003 Maybe all thos pots connected between +5V and GND cause a current drain, so you're having less than 5V. Try measuring the voltage, then using a more powerfull transformer (I tested mine with an old AT PC power source, cause I'm having trouble powering it with a wall wart, rated 500 mA). I'm still working on this issue. Quote Link to comment Share on other sites More sharing options...
Synergic Posted December 18, 2003 Author Report Share Posted December 18, 2003 ok! i found the fault!i was using diferent power supplies,one of 12V for core and one of 5V for modules and pots!it seems that pic need to use the same power supply to get the right values.thanks for your help eh!!!! ;D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.