Hey, i have possibly a bit dumb question. I am using PWM to supply my circuit for measuring voltage and current in it. But i need to make this circuit controllable through web server and for that i am using ESP8266-01, well, not yet but i intend on using it. I'm a bit unsure about supplying this ESP with 3.3V and circuit with PWM separately, but from one arduino? can that be a problem in any way?
Please restate what you want to do and re-ask your question.
A ESP8266 cannot generate PWM?
The ESP8266 is a 3.3V device, Send the 5V Arduino signals through a level shifter to the ESP8266.
I am not looking to generate PWM with ESP, i already know how to do that, i want to use ESP for sending those measured data to web server, but i cannot use the same supply i am generating PWM with. I'll try to explain again.
What i want is to have connected a circuit that uses PWM, and at the same time connect ESP to 3.3V to handle values collected from circuit with PWM and send that to a web server.
And nothing I wrote in my first replay address #2?
I did a thing where one ESP32 generating PWM signals that are converted to PPM signals, easier to convert to a PPM to a frequency, then the frequency was transmitted to another ESP32. Where the frequency was then converted back to a PWM signal and used to torque a servo. It was a just for fun see if I can do it kind of thing.
I started with a search using the words "convert pwm to ppm" and went from there.
Yes, Of course different voltages did you get the thing in #1 about using level shifters?
i don't think so, i want to use ESP purely for making arduino communicate with web-server, not for generating pwm. Or maybe, i didn't understand your point really well, since i am not native speaker.
Imagine.
Sitting on your left is an Uno that speaks 5 and sitting on your right is a ESP that speaks 3.3. For a good number of reasons 3.3 cannot talk directly to 5. They need a go between or an interpreter to translate 3.3 to 5 and 5 to 3.3. That interpreter, that allows 3.3V and 5V to communicate is called a level shifter.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.