|
www.elektronik.si Forum o elektrotehniki in računalništvu
|
Poglej prejšnjo temo :: Poglej naslednjo temo |
Avtor |
Sporočilo |
rashoba Neznanec
Pridružen-a: Sre 09 Jun 2021 8:08 Prispevkov: 3 Aktiv.: 0.09 Kraj: Zvornik
|
Objavljeno: Sob Jun 12, 2021 10:20 pm Naslov sporočila: Convert Arduino PWM 5V to analog output 0-10V |
|
|
Hi,
I want to convert the Arduino PWM output that is in the range of 0 - 5V to an analog output in the range of 0-10V.
Circuit can be divided in two parts:
1) An RC filter to get an analog output from the PWM signal that Arduino outputs. I have read some information about this kind of filters and it's seems that there is a rule that establish the relation between the time constant of the RC filter and the period of the PWM signal: the RC time contant should be greater than the period. In my case the time constant is 100 times greater.
2) An operational amplifier with a gain of 2 to obtain the output in the range of 0-10V.
Thanks in advance. _________________ Bez potpisa
Nazadnje urejal/a rashoba Ned Jun 13, 2021 10:15 pm; skupaj popravljeno 2 krat |
|
Nazaj na vrh |
|
|
rplink3r Član
Pridružen-a: Tor 06 Feb 2007 20:02 Prispevkov: 480 Aktiv.: 2.29 Kraj: Levec
|
|
Nazaj na vrh |
|
|
mucek Član
Pridružen-a: Tor 01 Avg 2006 10:47 Prispevkov: 5334 Aktiv.: 24.73 Kraj: Domzale
|
Objavljeno: Ned Jun 13, 2021 2:37 pm Naslov sporočila: |
|
|
If using opamp, a rail-to-rail opamp MUST be used to get whole 0-10 V range (if you use only single power supply), otherwise you won't get whole range up to 0 V. _________________ ...lahko pa se tudi motim ... |
|
Nazaj na vrh |
|
|
rashoba Neznanec
Pridružen-a: Sre 09 Jun 2021 8:08 Prispevkov: 3 Aktiv.: 0.09 Kraj: Zvornik
|
Objavljeno: Pet Jul 09, 2021 9:35 pm Naslov sporočila: |
|
|
Hvala vam _________________ Bez potpisa |
|
Nazaj na vrh |
|
|
rashoba Neznanec
Pridružen-a: Sre 09 Jun 2021 8:08 Prispevkov: 3 Aktiv.: 0.09 Kraj: Zvornik
|
Objavljeno: Sob Avg 14, 2021 9:50 pm Naslov sporočila: |
|
|
Hvala _________________ Bez potpisa |
|
Nazaj na vrh |
|
|
|
|
Ne, ne moreš dodajati novih tem v tem forumu Ne, ne moreš odgovarjati na teme v tem forumu Ne, ne moreš urejati svojih prispevkov v tem forumu Ne, ne moreš brisati svojih prispevkov v tem forumu Ne ne moreš glasovati v anketi v tem forumu Ne, ne moreš pripeti datotek v tem forumu Ne, ne moreš povleči datotek v tem forumu
|
Uptime: 70 dni
Powered by phpBB © 2001, 2005 phpBB Group
|