EspScopeA0

所属分类:音频处理
开发工具:Others
文件大小:0KB
下载次数:0
上传日期:2016-09-29 19:42:33
上 传 者sh-1993
说明:  使用web套接字的web浏览器中ESP8266 s A0的在线波形,
(On-line wave-forms of ESP8266 s A0 in a web browser using web sockets,)

文件列表:
.travis.yml (1403, 2016-09-29)
Alfa/ (0, 2016-09-29)
Alfa/EspScopeA0-Alfa/ (0, 2016-09-29)
Alfa/EspScopeA0-Alfa/EspScopeA0-Alfa.ino (5608, 2016-09-29)
Bravo/ (0, 2016-09-29)
Bravo/EspScopeA0-Bravo/ (0, 2016-09-29)
Bravo/EspScopeA0-Bravo/EspScopeA0-Bravo.ino (7150, 2016-09-29)
Bravo/matlab/ (0, 2016-09-29)
Bravo/matlab/average-time-connected-contour-300s.mlx (2702, 2016-09-29)
Bravo/matlab/average-time-connected-surface-300s.mlx (3160, 2016-09-29)
Bravo/matlab/connection-loss-ratio-300s.mlx (2623, 2016-09-29)
Bravo/pictures/ (0, 2016-09-29)
Bravo/pictures/average-time-connected-contour-300s.png (15756, 2016-09-29)
Bravo/pictures/average-time-connected-surface-300s.png (27286, 2016-09-29)
Bravo/pictures/connection-loss-ratio-300s.png (13087, 2016-09-29)
Bravo/pictures/parameter-visualization.png (40661, 2016-09-29)
Bravo/pictures/thingspeak-channel-configuration.png (14315, 2016-09-29)
Charlie/ (0, 2016-09-29)
Charlie/EspScopeA0-Charlie/ (0, 2016-09-29)
Charlie/EspScopeA0-Charlie/EspScopeA0-Charlie.ino (7305, 2016-09-29)
Charlie/EspScopeA0-Charlie/html/ (0, 2016-09-29)
Charlie/EspScopeA0-Charlie/html/canvasjs.min.js (243877, 2016-09-29)
Charlie/EspScopeA0-Charlie/html/favicon.ico (1150, 2016-09-29)
Charlie/EspScopeA0-Charlie/html/index.htm (6649, 2016-09-29)
Charlie/EspScopeA0-Charlie/html/license.txt (772, 2016-09-29)
Charlie/EspScopeA0-Charlie/html/style.css (400, 2016-09-29)
Delta/ (0, 2016-09-29)
Delta/EspScopeA0-Delta/ (0, 2016-09-29)
Delta/EspScopeA0-Delta/EspScopeA0-Delta.ino (6382, 2016-09-29)
Delta/EspScopeA0-Delta/data/ (0, 2016-09-29)
Delta/EspScopeA0-Delta/data/canvasjs.min.js.gz (55089, 2016-09-29)
Delta/EspScopeA0-Delta/data/favicon.ico (1150, 2016-09-29)
Delta/EspScopeA0-Delta/data/index.htm (8902, 2016-09-29)
Delta/EspScopeA0-Delta/data/license.txt (772, 2016-09-29)
Delta/EspScopeA0-Delta/data/style.css (360, 2016-09-29)
Delta/pictures/ (0, 2016-09-29)
... ...

# EspScopeA0 This application is sampling analog input A0 of ESP8266, so it then can be displayed on-line in a web browser. Ref: https://github.com/esp8266/Arduino/issues/1634#issuecomment-192366219 ![Scope version Delta in Internet Explorer](https://github.com/krzychb/EspScopeA0/blob/master/Delta/pictures/web-browser-ie-scope-delta.png) ## Introduction The repository provides seven versions of EspScopeA0 application. It is intended to walk you through development, starting from basic functionality, and ending in fully featured application optimized to display wave-forms in real-time in a web browser. The following features are discussed and added step by step in each application version: 1. State machine to handle data sampling 2. Web server to visualize data on-line 3. Web sockets to provide fast data transfer between ESP module and web browser 4. Java Script charting library to use ready, proven and fast solution to display wave-forms 5. Implementation of additional charts to visualize data transfer performance on-line 6. OTA updates to make firmware updates quick and easier without serial interface 7. Binary versus text data encoding to further speed up data transfer with web sockets ## Versions I was thinking how to name each version to avoid boring numbers or letters. I liked to have them clearly identify themselves to immediately know which one is first, second, third and so on. Software versions (at least preliminary) are often called Alfa, Beta, etc. So here it comes [phonetic alphabet](https://github.com/krzychb/EspScopeA0/blob/master/ https://en.wikipedia.org/wiki/NATO_phonetic_alphabet). I hope it will not sound to militaristic to you :smile:. If this is the case, then stay tuned to my next project where I am planning to use some other variation of this naming convention. A brief description of each version is provided below. ### Alfa Initial version of application providing basic functionality of sampling analog input with adjustable rate. It allows to check how sampling rate may affect Wi-Fi stability if connection. [Description](https://github.com/krzychb/EspScopeA0/blob/master/Alfa) | [Sketch](https://github.com/krzychb/EspScopeA0/blob/master/Alfa/EspScopeA0-Alfa/EspScopeA0-Alfa.ino) ### Bravo Originally I intended to name it Beta, but then decided to stick to phonetic alphabet, so here it goes Bravo. This is essentially Alfa version that automatically changes sampling rate at predefined steps. It monitors if Wi-Fi connection is not lost and saves results to [ThingSpeak](https://github.com/krzychb/EspScopeA0/blob/master/https://thingspeak.com/). [Description](https://github.com/krzychb/EspScopeA0/blob/master/Bravo) | [Sketch](https://github.com/krzychb/EspScopeA0/blob/master/Bravo/EspScopeA0-Bravo/EspScopeA0-Bravo.ino) ### Charlie This is extension of [Alfa](https://github.com/krzychb/EspScopeA0/blob/master/#alfa) that is displaying collected samples in a web browser. Data are transferred from ESP to browser using web sockets. Description :construction: | [Sketch](https://github.com/krzychb/EspScopeA0/blob/master/Bravo/EspScopeA0-Bravo/EspScopeA0-Charlie.ino) ### Delta In order to make it easier for the user, Delta is first self-contained application. All the web pages are served by ESP. In previous version the pages were separate, saved and opened directly from a PC. [Description](https://github.com/krzychb/EspScopeA0/blob/master/Delta) | [Sketch](https://github.com/krzychb/EspScopeA0/blob/master/Delta/EspScopeA0-Delta/EspScopeA0-Delta.ino) ### Echo :construction: This versions provides adjustable period between individual samples. So far sampling was done at maximum speed allowed by ESP hardware. ### Foxtrot :construction: I was curious what are the factors affecting performance of EspScopeA0. For instance bigger number of samples will take longer time to transmit over Wi-Fi and process by the web browser. Also higher CPU speed of ESP8266 (you may select either 80 or 160MHz) may help to process all the data quicker. In order to measure performance I have introduced additional chart to show performance data in graphical format as opposed to numbers that may get boring. ### Golf :construction: The last version is supposed to take advantage of binary data transfer by web sockets. Less data to transfer should improve performance. This version is also adding OTA functionality to provide firmware updates faster and in more convenient manner that using a serial port. ## Contribute Feel free to contribute to the project in any way you like! If you find any issues with code or descriptions please report them using *Issues* tab above. ## Credits Software for this project has been prepared thanks to great work of the following teams and individuals: * Arduino team that develops and maintains versatile [Arduino IDE](https://github.com/krzychb/EspScopeA0/blob/master/https://www.arduino.cc/) * esp8266/Arduino team lead by [Ivan Grokhotkov](https://github.com/krzychb/EspScopeA0/blob/master/https://twitter.com/i_grr) that brought to us excellent [ESP8266 core for Arduino](https://github.com/krzychb/EspScopeA0/blob/master/https://github.com/esp8266/Arduino) * [Links2004](https://github.com/krzychb/EspScopeA0/blob/master/https://twitter.com/links2004) who developed great and very reliable [arduinoWebSockets](https://github.com/krzychb/EspScopeA0/blob/master/https://github.com/Links2004/arduinoWebSockets). * [CanvasJS](https://github.com/krzychb/EspScopeA0/blob/master/https://twitter.com/canvasjs), developer of amazing [HTML5 JavaScript Charts](https://github.com/krzychb/EspScopeA0/blob/master/http://canvasjs.com/) ## Build Status [![Build Status](https://github.com/krzychb/EspScopeA0/blob/master/https://travis-ci.org/krzychb/EspScopeA0.svg?branch=master)](https://github.com/krzychb/EspScopeA0/blob/master/https://travis-ci.org/krzychb/EspScopeA0) ## License [GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999](https://github.com/krzychb/EspScopeA0/blob/master/LICENSE)

近期下载者

相关文件


收藏者