Difference between revisions of "radino WiFi software"

From InCircuit
Jump to: navigation, search
Line 6: Line 6:
 
in a small form-factor EMC-compliant enclosure.
 
in a small form-factor EMC-compliant enclosure.
  
WiFi connectivity is provided by the Espressif ESP8266EX chip.
+
* WiFi connectivity is provided by the Espressif ESP8266EX chip.
User sketches run on the ATmega microcontroller.
+
* User sketches run on the ATmega microcontroller.
Both chips are connected via a SPI-UART bridge.
+
* Sketches can be written, compiled and uploaded to the module using the Arduino IDE.
A SC16IS750 chip provides this bridge.
+
* Both chips are connected via a SPI-UART bridge provided by a SC16IS750 chip.
  
==HTTP Server==
 
  
A small HTTP server is running inside the ESP8266EX chip.
+
==Main Functionality==
The website is stored as a single HTML page inside the flash of the ESP8266EX chip.
+
The HTML page is displayed in your browser when you connect to the radino WiFi.
+
Details on how to update the HTML page can be found in the documentation about the [[IC_ESP|IC_ESP library]].
+
  
Requests to the HTTP server (for details see [[ESP8266EX HTTPD]]) can result in events to be handled by the ATmega microcontroller.
+
===WiFi===
The [[IC_ESP|IC_ESP library]] provides a simple interface to handle these requests.
+
Act as access point with freely configurable properties or join existing networks by just setting ssid and password.
  
=Libraries=  
+
 
 +
===HTTP Server===
 +
A small HTTP server is running inside the ESP8266EX chip on freely configurable ports.
 +
The website is stored as a single HTML page inside the flash of the ESP8266EX chip which can be updated anytime.
 +
The HTML page is deliverd by the ESP on its own and some dynamic content features can be utilized.
 +
* Embedding values which are requested from the ATmega
 +
* Sending data to the ATmega
 +
* Possibility to hide parts of the website until a valid password is given
 +
* Getting raw values from the ATmega e.g. to process them in a client side application
 +
Details on how to update the HTML page and utilize these functions using the Arduino IDE can be found in the documentation about the [[IC_ESP|IC_ESP library]].
 +
Details about how to compose the html webpage can be found at the [[ESP8266EX HTTPD]] documentation.
 +
 
 +
 
 +
===Telnet Server===
 +
The module can run a simple telnet server with freely configurable ports and an additional udp interface.
 +
Multiple simultaneous connections are possible.
 +
Data can be sent to all connected clients at once as well as to specific clients only.
 +
Please refer to the [[IC_ESP|IC_ESP library]] docomentation about the usage within the Ardino IDE.
 +
 
 +
 
 +
===TCP Server===
 +
 
 +
 
 +
===HTTP Client===
 +
A http request can be initialized by simply giving the targets ip, port and url.
 +
Different request methods can be selected e.g. to only get relevant data or the complete http response including all headers.
 +
 
 +
 
 +
===TCP Client===
 +
Multiple TCP sockets can be opened at once allowing the distribution of data e.g. sensor measurements to different hosts with low effort.
 +
 
 +
 
 +
===UDP Client===
 +
Simple interface to compose and send UDP packets.
 +
 
 +
 
 +
==Libraries==
  
 
[[IC_ESP|IC_ESP: user interface to use the radino Wi-Fi]]
 
[[IC_ESP|IC_ESP: user interface to use the radino Wi-Fi]]

Revision as of 18:17, 5 March 2015

This page is currently under construction and is daily updated with new information.

Contents

Overview

The In-Circuit radino WiFi combines an Arduino Micro with WiFi connectivity, integrating the entire TCP/IP stack in a small form-factor EMC-compliant enclosure.

  • WiFi connectivity is provided by the Espressif ESP8266EX chip.
  • User sketches run on the ATmega microcontroller.
  • Sketches can be written, compiled and uploaded to the module using the Arduino IDE.
  • Both chips are connected via a SPI-UART bridge provided by a SC16IS750 chip.


Main Functionality

WiFi

Act as access point with freely configurable properties or join existing networks by just setting ssid and password.


HTTP Server

A small HTTP server is running inside the ESP8266EX chip on freely configurable ports. The website is stored as a single HTML page inside the flash of the ESP8266EX chip which can be updated anytime. The HTML page is deliverd by the ESP on its own and some dynamic content features can be utilized.

  • Embedding values which are requested from the ATmega
  • Sending data to the ATmega
  • Possibility to hide parts of the website until a valid password is given
  • Getting raw values from the ATmega e.g. to process them in a client side application

Details on how to update the HTML page and utilize these functions using the Arduino IDE can be found in the documentation about the IC_ESP library. Details about how to compose the html webpage can be found at the ESP8266EX HTTPD documentation.


Telnet Server

The module can run a simple telnet server with freely configurable ports and an additional udp interface. Multiple simultaneous connections are possible. Data can be sent to all connected clients at once as well as to specific clients only. Please refer to the IC_ESP library docomentation about the usage within the Ardino IDE.


TCP Server

HTTP Client

A http request can be initialized by simply giving the targets ip, port and url. Different request methods can be selected e.g. to only get relevant data or the complete http response including all headers.


TCP Client

Multiple TCP sockets can be opened at once allowing the distribution of data e.g. sensor measurements to different hosts with low effort.


UDP Client

Simple interface to compose and send UDP packets.


Libraries

IC_ESP: user interface to use the radino Wi-Fi

IC ESP8266EX interface: low level interface to communicate with the ESP chip

ESP8266EX HTTPD

Personal tools