Search results

  1. G

    Battery Voltage Scaling

    Thanks a lot mikeyBoo I'll have a look at it and see thanks for helping.
  2. G

    Battery Voltage Scaling

    Thank you that's a lot more than what I actually expected I'll have a read through it but I'm sure it pretty much has everything I want
  3. G

    Battery Voltage Scaling

    it is just a 360 ohm resistor with a 2.7 V zener as a reference connected to one of the pins. all I want is a way to measure the battery voltage powering the pic with a fixed reference voltage that's all. so if it drops below 4 V that's 0% for me and 4.5 V is 100%. Do you have a better idea??!!
  4. G

    Battery Voltage Scaling

    Thanks for your help erco but I want a bigger precision than that. This gives 6 percent for each step I want at least 1% for each step!!
  5. G

    Battery Voltage Scaling

    Hello everyone I'm trying to scale an analogue input ranging from 153 to 168 where 153 corresponds to 100% and 168 corresponds to 0% but the point is when trying to scale them by the usual way you would encounter two of picaxe's major problems which are negative numbers and fractions. Did...
  6. G

    Retrieving data from table

    So the idea from my program is that I have two pics talking to each other. the control one is sending the relay index for the pos-gnd terminal and also the relay index for the neg-gnd terminal, then the slave pic sends back the relay number and the resistor value with it back to the master pic...
  7. G

    Retrieving data from table

    Thanks for your help Hippy but I still don't quite understand what have you done there why do you have b1=b0*4+28? and w11=b3*100+b4
  8. G

    Retrieving data from table

    Hi everyone Does anyone know an efficient way of retrieving data from a lookup table like that : Table 28, (1,1,"k") Table (2,5,"k") Table (3,10,"k") Table (4,50,"k") Table (5,100,"k") Table (6,500,"k") Table (7,1,"M") Table (8,5,"M") Table (9,10,"M") Table...
  9. G

    two PICs talking to each other

    Thanks all of you that was very helpful I have another question why is the timeout on the serin command doesn't work when you have a qualifier in the beginning of your message it just stops the whole program and waits indefinitely till the qualifier is received? does anyone have an answer to...
  10. G

    two PICs talking to each other

    Hi I'm new to picaxe and to microcontrollers and I was trying to make two 18m2 chips talk to each other. I have some questions: Do I have to connect my connection wires to only the serial in and serial out pins on the pics or does any general pin would do it? Would I need any resistors in the...
Top