Hi, if I were to program a rain sensor using Python, a breadboard and an arduino uno board, should I connect AO on the module to A1 or AO on the Analog Input of the arduino uno board?
PWM is not analog output. That should have been much better clarified. Pulse Width Modulation is still square waves, unlike the true analog output graphs or diagrams shown
Can i use both potentiometers and buttons to take the values into pc? Just to read values and print them at serial monitor! I want to use them in maxmsp
Hi, if I were to program a rain sensor using Python, a breadboard and an arduino uno board, should I connect AO on the module to A1 or AO on the Analog Input of the arduino uno board? And how should I call the Pin assignment on the Python program? What is the Pin number for AO or A1? I can't seem to call it using 14 or 15. Sorry, I know this is an old video, but I will appreciate it if anyone could help me out. This is a great video by the way!
Hi, nice video but I have a question. I did the exact same thing and the analogRead return 65535: and I don't know why. I made some research and it looks like it could be about the resolution. Do you have an idea how I could resolve my problem?
How would you write the code to use an analog input to control a digital/logic output when the analog value is in between two set values? I.E. On from 0ohm to 2k ohm, off between 2k ohm and 8k, on from 8kohm to 10k? Or light an led when temperature sensor reads between 20-50 Celsius?
Here you go: int temp_pin = A1; //temperature sensor analog pin int temp_value = 0; //stores temperature value int led = 13; //led digital pin void setup() { //setting the led pin as output pinMode(led, OUTPUT); } void loop() { //the way you read the temperature varies upon your temperature sensor, this will be different in your code. temp_value = analogRead(temp_pin); if(temp_value >= 20 && temp_value
Hey you! Thanks for watching, feel free to comment any question you have, I would LOVE to help you out! :)
Hi, if I were to program a rain sensor using Python, a breadboard and an arduino uno board, should I connect AO on the module to A1 or AO on the Analog Input of the arduino uno board?
And how should I call the Pin assignment on the Python program? What is the Pin number for AO or A1? I can't seem to call it using 14 or 15.
Sorry, I know this is an old video, but I will appreciate it if anyone could help me out.
Good video btw
Great video mate
you should make more of these
cool video, can you do multiple analogWrite's in one void loop() section to different pins? I'm having trouble with doing that
PWM is not analog output. That should have been much better clarified. Pulse Width Modulation is still square waves, unlike the true analog output graphs or diagrams shown
Afaik PWM is not analog but its far more granular than just a button. Cool video!
U deserve a sub
Can i use both potentiometers and buttons to take the values into pc? Just to read values and print them at serial monitor! I want to use them in maxmsp
Hi, if I were to program a rain sensor using Python, a breadboard and an arduino uno board, should I connect AO on the module to A1 or AO on the Analog Input of the arduino uno board?
And how should I call the Pin assignment on the Python program? What is the Pin number for AO or A1? I can't seem to call it using 14 or 15.
Sorry, I know this is an old video, but I will appreciate it if anyone could help me out.
This is a great video by the way!
Hi, nice video but I have a question. I did the exact same thing and the analogRead return 65535: and I don't know why. I made some research and it looks like it could be about the resolution. Do you have an idea how I could resolve my problem?
Leave your code in your own comment :) then we can have a look!
Great vid!
How would you write the code to use an analog input to control a digital/logic output when the analog value is in between two set values? I.E. On from 0ohm to 2k ohm, off between 2k ohm and 8k, on from 8kohm to 10k? Or light an led when temperature sensor reads between 20-50 Celsius?
Here you go:
int temp_pin = A1; //temperature sensor analog pin
int temp_value = 0; //stores temperature value
int led = 13; //led digital pin
void setup() {
//setting the led pin as output
pinMode(led, OUTPUT);
}
void loop() {
//the way you read the temperature varies upon your temperature sensor, this will be different in your code.
temp_value = analogRead(temp_pin);
if(temp_value >= 20 && temp_value
amazing video
I AM TOTALY UNDERSTANDING THIS CODE 😅
good video.
thank yoy
In this why you can't take brightness variable as a integer
Arduino -- Netherlands , Duch
/4''px UI' chrimed dach tn < frch ston mol wn < mechian vk~tmp mrk/
/ba molchz wn < 2''px UI' kol xls < hlvz floch < rol HUD cnnon/
/< > 10v ir kol vtDrRpx < thrmch Vw(vtd LN'' + rayz)/
/cnt: 2 ench tk mol < vrchz t''sfr ba horx orb < rol chrw wfrx xls chemRx i.e. ~tmp mrch/
can you please tell about the arduino rees52 i'm getting trouble in connecting the arduino ide actually it's not detecting ...🥲