Search found 7 matches

by macrimarco001
Sun Mar 21, 2021 8:26 pm
Forum: Programs, Libraries and Tools
Topic: [Solved] Multiple potentiometers problem (ESP32)
Replies: 9
Views: 3805

Re: Multiple potentiometers problem (ESP32)

Hello guys, my father found the solution to the problem... and to tell dthe truth i am a bit embarassed by the mistake i made. it turned out that, since there are two ground pins on the board, i connected my ground to the wrong pin... now both potentiometers work well. Thank you guys anyway for the ...
by macrimarco001
Sat Mar 20, 2021 11:31 am
Forum: Programs, Libraries and Tools
Topic: [Solved] Multiple potentiometers problem (ESP32)
Replies: 9
Views: 3805

Re: Multiple potentiometers problem (ESP32)

If you refer to this document, you can improve reading by adding 0.1µF capacitor and / or sampling the ADC reading. A code to sample the ADC reading. from machine import Pin from machine import ADC def read_adc(adc_pin, sample=24): cumul = 0 for _ in range(sample): cumul += acd_pin.read() return cu...
by macrimarco001
Fri Mar 19, 2021 11:17 pm
Forum: Programs, Libraries and Tools
Topic: [Solved] Multiple potentiometers problem (ESP32)
Replies: 9
Views: 3805

Re: Multiple potentiometers problem (ESP32)

Pin ADC1_CH6 34 IP, no pull-up ADC1_CH7 35 IP, no pull-up ADC1_CH4 32 ADC1_CH5 33 Check to see if there is a channel parameter that you need to call. Looks like pin 32 and 35 are both on ADC1 I do not understand... what should I check? They are separate pins and channels. Could you explain a little...
by macrimarco001
Fri Mar 19, 2021 10:52 pm
Forum: Programs, Libraries and Tools
Topic: [Solved] Multiple potentiometers problem (ESP32)
Replies: 9
Views: 3805

[Solved] Multiple potentiometers problem (ESP32)

Hello Guys, this is the second topic i post... i have to say that i think this is a very helpful and productive community since i found someone so kind who helped me unstuck from another problem. Unfortunately for me i need once again your help. I tried connecting two potentiometers to the ESP32 boa...
by macrimarco001
Fri Mar 19, 2021 7:30 pm
Forum: Programs, Libraries and Tools
Topic: [Solved for now] Stepper motor control in micropython
Replies: 4
Views: 2545

Re: Stepper motor control in micropython

While I was waiting for an answer I started some experiments and came up with the motor moving thank to you. Thank you, thank you, thank you. I'll write if I'll need further help. Love your availability to help people. To tell the truth I have another problem but i think I have to write a new post b...
by macrimarco001
Fri Mar 19, 2021 8:26 am
Forum: Programs, Libraries and Tools
Topic: [Solved for now] Stepper motor control in micropython
Replies: 4
Views: 2545

Re: Stepper motor control in micropython

Thanks, is there a guide? Or an example code?
by macrimarco001
Thu Mar 18, 2021 10:31 pm
Forum: Programs, Libraries and Tools
Topic: [Solved for now] Stepper motor control in micropython
Replies: 4
Views: 2545

[Solved for now] Stepper motor control in micropython

Hello guys, i am a new member of this forum. I recently bought an esp32 board and installed on it micropython. Since i know some of the basics of python i was thinking about making diy projects witsh this fantastic language and platform. I have benn all day long trying to figure out how to drive a s...