Skip to main content

web page controlled LEDs using ESP8266 and multiple MCP23017

In this project you will create a webpage controlled LEDs using ESP8266. Two mcp23017 are also integrated in this project to enhance the input and output pins from where you can control extra 32 devices using 32 I/O ports of  two mcp23017.




Component used in this project.

  • Wemos D1 mini-lite
  • Two- mcp23017
  • LEDs and resistors
  • Jumper wires
  • Breadboard




For this project you need to download the ESPwifi library and mcp23017 library.
  •  download the ESPwifi library
  • download mcp23017 library
As, we are going to use two I2C modules i.e. mcp23017 which has a default address 0*20. So, we need to change the address of one mcp23017 by varying the address pins. click here to know more about interfacing the multiple mcp23017 with arduino.


Connect the SCL and SDA pin of mcp23017 to the SCL and SDA pin of arduino respectively. Connect the VCC and GND pins of mcp23017 to 5V and GND of arduino.Also connect the one led on one mcp23017 and one on another.


video



Popular posts from this blog

SMPS of computer

                                            fig:- working principle of SMPS       fig :- SMPS of computer From the above figure, we came to know that the function of SMPS in computer which is to convert  the high 220V-AC to 0-12V DC.SMPS contain several color of wires which carry the different voltage to the different parts of the computer.The following table shows the different color cables and its carrying voltage.      

warm clothes distribution program

‘ Small step can make a big difference ’ Rural Women Development Centre from morang,Nepal distributed the warm clothes to the needy people. They manage it possible by collecting fund from working staffs and management committe. Here is the video link of the distribution program. https://youtu.be/AxaHbivcQUM

Multiple mcp23017 interfacing with Arduino

MCP23017 is the I/O port extender that runs on 12C. It is 16-bit I/O expender.in this tutorial we are going to interface the single and multiple  mcp23017 with arduino.  fig:- mcp32017 module IT has 16 I/O ports from PA0 to PA7 and PB0 to PB7. first of all we are going to interface the single mcp23017 with Arduino. For this  connect the circuit as shown on figure. Download the library for mcp23017  from  sketch-- include library -- manage libraries.