Hello i hope i am in the right topic and you can help me. i have deagostini robot from paralax. i need your help to design the circuit and programm it. the goal is when i apply a certain value of resistance then activate a relay or something similar. thanks
i am from greece to brother
i am from greece toο brother . i have steering wheel controls so i have 2 wires at the end of the stereo. and depending the key i press diferent value is applied at those 2 ends. so i need to set a specific value to activate a specific port. any idea how to do this?
my steering wheel has a
my steering wheel has a board with buttons each button has its own resistance. so at the end of the board i have 2 wires. and depending the button i press the resistance between those 2 wires changes. i need to programma the board so as when it detects a resistance of 240k ohms to activate releay number 1 for example.
ok i read it and did my
ok i read it and did my first experiment. fix the circuit set a target time for timer. if timer is at certain value the led lights on. thats ok. but when i change the value i apply the led remains open. if i reload the programm the led corectly stays off. altgough my code is in do loop the programm doesnt recognise the change of the value constantly.
Main: DO FOR
Main:
DO
FOR MyCounter = 0 TO 10
LOW 2
HIGH 15
RCTIME 15, 1, Time
DEBUG DEC Time
IF ( Time>10 )THEN first
IF (Time<=10 ) THEN second
PAUSE 10
LOOP
END
i noticed that when i print something under rctime line it wont print
thanks for your fast
thanks for your fast replies. i changed my code and runs fine now. i came up to onother problem. i connect my steering wheel to the board and i read in live time the time it takes to chrage the capacitor. but the buttons that have lower resistance than others the rctime returns a value of " l ’ . the buttons that have higher resistance work fine. i guess it has something to do with the capacitor. but do i need a smaller one or a bigger one. i use 0.1μF