i have a project in which i have to take control of a device, the device has a pot built in which is used to control a timer (i think). what i need to do is duplicate the pot using the arduino and i have no idea how to go about that. i was wondering if the PWM with a low-pass filter is the right way to go
The pot can control a timer in different ways, so without knowing how your timer circuit works its not possible to say how you can reproduce its function with an arduino.
Can you post the details/schematic of your timer ?
well im not the one developing the timer im taking control of a device which has a built in timer. i will attach a picture of the device circuit which i want to take control of there is a on switch. which i used a transistor to turn on and off from the arduino and thats fine. now i want to take control of the pot using the arduino
It looks like you are trying to hack in to a microwave /oven of sorts ?
As to how its timer is controlled, impossible to say from a picture like that.
You need to work out the circuit by examining the board to see how the pot controls the timer, only then can you work out how / if the arduino can control it.
It may well be better to use the arduino to act as the timer ..?
What you need to be very carefull with is that any part of that devices circuitry might well be at mains voltage that could easily feed back to the Ardunio and blow everything, including yourself !
For that reason I will not offer anything further.
Without more information it's impossible to say. Is the pot controlling a 5v signal? Then maybe, but I'm betting no. One way that would work is to get a digital pot. That can be controlled by the Arduino just make sure it is rated to carry the current.
on the circuit board of the device i am controlling there are two led's, the led's are Bi-Coloured Red-Green 3mm LED with a common Anode (+) and i want to know if the arduino could read the pins of the cathode (-) to tell me which color is activated, if so how would i be able to go around it.
i used this to read values from my phone, however i took the code from an example and was wondering how i could change the code so the incoming values and out going values are stored in a variable so i can preform an if statement