Search found 14 matches

by Strik3r
Fri Dec 06, 2019 4:54 pm
Forum: ESP8266 boards
Topic: Reading PWM signal using ESP8266? Generating 30 KHz PWM signal? (Updated)
Replies: 10
Views: 994

Re: Reading PWM signal using ESP8266?

I haven't tested this myself, but depending on the width of the pulses, you might be able to use the approach I suggested in https://forum.micropython.org/viewtopic.php?f=2&t=7067&p=40229 (machine.time_pulse_us) Also, make sure you level shift the 5V signal with a voltage divider. Thanks you for an...
by Strik3r
Wed Dec 04, 2019 11:20 pm
Forum: ESP8266 boards
Topic: Reading PWM signal using ESP8266? Generating 30 KHz PWM signal? (Updated)
Replies: 10
Views: 994

Reading PWM signal using ESP8266? Generating 30 KHz PWM signal? (Updated)

Is where any way to read 5v pwm signal (of PWM fan control)? Where i can read about it?

And how can i generate 30 Khz pwm signal with ESP8266? Is there any modules in the sale for this? What ways exists?

For example, to make PWM-regulation of PC fan - i need 30+ KHz PWM.
by Strik3r
Fri Nov 29, 2019 2:48 pm
Forum: ESP8266 boards
Topic: How can i use machine.UART?
Replies: 4
Views: 642

Re: How can i use machine.UART?

Using the ESP8266 UART is difficult because the chip has only one fully functional UART which is used for the USB interface. I'm dont understand that problem. If uart can recieve and sent messages, why cant i use it? import uos uos.dupterm(None, 1) # disable REPL on UART(0) thanks! Now it works as ...
by Strik3r
Thu Nov 28, 2019 7:49 pm
Forum: ESP8266 boards
Topic: How can i use machine.UART?
Replies: 4
Views: 642

How can i use machine.UART?

Hello! I want to use my NodeMCU esp8266 board to drive some relays in my PC, and i want it to recieve signals frought uart interface. I started to learn how i can do this, and find machine.uart method. But i have faced a problem: esp8266 is starting to recieve UART messages already after 'uart = mac...