Popular posts from this blog
MicroPython #3: PWM, LED Fade
MicroPython Pulse Width Modulation & Duty Cycles At the end of this, you will be able to implement PWM technique and see it on inbuilt LED in Pin2 of ESP 8266 and also by attaching external LED's. The whole process will be done by MicroPython programming. So, Let's begin with ! Note: You must have your MicroPython firmware pre-flashed onto your board before beginning with this. If not, follow up these before getting back here. MicroPython #1: Introduction and Gearing U p MicroPython #2: Triggering I/O's Introduction to PWM & its concepts Pulse Width Modulation(PWM) is a technique for getting analog results with digital means. Digital control is used to create a square wave, a signal switched between on and off. This on-off pattern can simulate voltages in between full-on (5 Volts) and off (0 Volts) by changing the portion of the time the signal spends on versus the time that the signal spends off. The duration of "on tim...
MicroPython #2: Triggering I/O's
MicroPython Triggering Input / Output Ports At the end of this, you will be able to trigger High and Low voltages to your I/O ports and see it on inbuilt LED in Pin2 of ESP 8266 and also by attaching external LED's. The whole process will be done by MicroPython programming. So, Let's begin with ! Note : You must have your MicroPython firmware pre-flashed onto your board before begining with this. If not, follow up MicroPython #1: Introduction and Gearing Up before getting back here. >> Initial IDE Setup >> Connect the board to your computer via USB cable (Check if it has data transfer too) Here, I am using ESP 8266 NodeMCU - V.3 board to run MicroPython. >> Open your Thonny IDE and do initial setup as follows: >> Go to Tools >> Options in the top window. The above dialog box appears and in Interpreter window, select MicroPython (Generic) language for intrepreting. ...
Comments
Post a Comment