Microduino ENC Network (9)——Send a bigger image

From Microduino Wiki
Jump to: navigation, search
Language: English  • 中文

Objective

This tutorial will show how to references to images hosted by other websites in your HTML page and control a bulb by your smartphone.

Equipment

  • Other equipment
    • USB cable

Schematic

  • Microduino-ENC28J60
  • Microduino-RJ45
  • Microduino-Core
  • Microduino-FT232R

Stack all modules and then connect the ethernet cable, as follows:

MicroduinoENC9原理图.jpg

Program

https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_ENC/ENCnetworknine

Debug

Step 1: Download the EtherCard library and copy to your libraries fold of IDE, then restart IDE. https://github.com/jcw/ethercard

Step 2: Connect the bulb, as follows:

MicroduinoENC9连接图.jpg

Step 3: Compile the code and download the it.

Step 4: Use the mobile phone to access Microduino's IP address, click the button, observe the bulb's state.

Result

Use the mobile phone to access Microduino's IP address, then you can use the mobile to control the bulb.

Video