Difference between revisions of "Microduino ENC Network (9)——Send a bigger image"

From Microduino Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
|
 
|
 
==Objective==
 
==Objective==
This tutorail will show how to references to images hosted by other websites in your HTML page and control a bulb by your smartphone.
+
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==
 
==Equipment==
Line 31: Line 31:
 
==Debug==
 
==Debug==
  
Step 1:Download the EtherCard library and copy to your libraries fold of IDE, then restart IDE.
+
Step 1: Download the EtherCard library and copy to your libraries fold of IDE, then restart IDE.
 
https://github.com/jcw/ethercard
 
https://github.com/jcw/ethercard
  
Step 2:Connect the bulb, as follows:
+
Step 2: Connect the bulb, as follows:
 
[[File:MicroduinoENC9连接图.jpg|600px|center|thumb]]
 
[[File:MicroduinoENC9连接图.jpg|600px|center|thumb]]
  
Step 3:Compile the code and download the it.
+
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.
+
Step 4: Use the mobile phone to access Microduino's IP address, click the button, observe the bulb's state.
  
 
==Result==
 
==Result==

Latest revision as of 09:48, 12 September 2016

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