Arduino - Analogue Outputs

  Рет қаралды 11,085

The Machine Shop

The Machine Shop

Күн бұрын

Пікірлер: 16
@boazburnett4102
@boazburnett4102 Жыл бұрын
10k ohm and 100 uf worked well for me
@jcsalazar65
@jcsalazar65 3 жыл бұрын
Thanks for your video, it is helping me to setup the analog outputs 0-5V on my Arduino Mega 2560, one question, what will be the typical resistor and capacitor specifications for an interface with a typical PLC 0-5VDC input channel?
@rajkumaraj6848
@rajkumaraj6848 2 жыл бұрын
What is the resistance and capacitance value used here?
@ivanpopovic9403
@ivanpopovic9403 2 жыл бұрын
Did u find out what values were used?
@sandorkurilla5146
@sandorkurilla5146 2 жыл бұрын
@@ivanpopovic9403 1KOhm and 100uF
@CuriousCaine
@CuriousCaine Жыл бұрын
This has been very helpful to me as I was struggling to understand how to get a "simple" analog level out of my Arduino. I understand the notion of an RC time constant. But as many comments here ask, can you please provide some insight as to how to choose the RC Values? I assume it would be related to the PWM frequency, but also to how quickly the analog out is turned on and off. For example, I am interested in operating an individual electromagnet in a motor (not the motor itself) and might need to switch the electromagnet on and of at a rate of 48 KHz. I know enough electronics to know the R and C values will affect this performance but don't understand how to select those values or what the trade-offs will be.
@ivanpopovic9403
@ivanpopovic9403 2 жыл бұрын
Can you specify resistance and capacitance used in the video please? I need it for my final work for high school. It would be greatly appreciated!
@TheMachineShopUK
@TheMachineShopUK 2 жыл бұрын
Hi Ivan, thank you for the comment, the values of the resistance and capacitance would depend on what you are connecting to the Arduino and the frequency you are using. You should do your research, look up RC Time Constant
@ivanpopovic9403
@ivanpopovic9403 2 жыл бұрын
@@TheMachineShopUK Thank you for reply, your video really helped me a lot.
@novygaming5713
@novygaming5713 Жыл бұрын
Is it possible to create a synth using this technique? I expect the attack and decay to be too high for an audible frequency to play.
@Hoptronics
@Hoptronics Жыл бұрын
Yes but it won't be very good. It will be 8bit square waves. It'd be better to use something like an esp32 that supports I2S and a DAC module.
@milankruskovic74
@milankruskovic74 2 жыл бұрын
Excellent explanation, thanks!
@musicproductionlogs368
@musicproductionlogs368 2 жыл бұрын
Question. If I use a capacitor with less capacitance will the signal get more accurate?
@TheMachineShopUK
@TheMachineShopUK 2 жыл бұрын
I wouldn’t say more accurate but it would be faster to respond and decay, if you want a steady output then this would introduce more ripple
@musicproductionlogs368
@musicproductionlogs368 2 жыл бұрын
@@TheMachineShopUK ok thanks
@HappyHermitt
@HappyHermitt 2 жыл бұрын
Thank you.
Arduino - Digital Inputs
12:30
The Machine Shop
Рет қаралды 13 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
3 engineers race to design a PCB in 2 hours | Design Battle
11:50
Predictable Designs
Рет қаралды 516 М.
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,4 МЛН
How connect multiple switches to one pin, Arduino?
17:26
MEC DER
Рет қаралды 18 М.
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 1 МЛН
Arduino - Analogue Inputs
12:56
The Machine Shop
Рет қаралды 1,9 М.
Arduino Workshop - Chapter Two - Using Analogue Pins
20:19
Core Electronics
Рет қаралды 66 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН