├── ESP8266.jpg ├── ESP8266Tiny.jpg ├── Schematics ├── ESP8266Tiny │ ├── ESP8266Tiny.jpg │ ├── ESP8266Tiny.zip │ └── readme.txt └── ESP8266Shield │ ├── ESP8266Shield.jpg │ ├── ESP8266Shield.zip │ └── readme.txt ├── ESP8266UDP ├── Android │ └── ESP8266_UDP │ │ ├── bin │ │ ├── classes.dex │ │ ├── resources.ap_ │ │ ├── ESP8266_UDP.apk │ │ ├── classes │ │ │ ├── com │ │ │ │ └── esp8266_udp │ │ │ │ │ ├── R.class │ │ │ │ │ ├── R$id.class │ │ │ │ │ ├── R$anim.class │ │ │ │ │ ├── R$attr.class │ │ │ │ │ ├── R$bool.class │ │ │ │ │ ├── R$color.class │ │ │ │ │ ├── R$dimen.class │ │ │ │ │ ├── R$layout.class │ │ │ │ │ ├── R$menu.class │ │ │ │ │ ├── R$string.class │ │ │ │ │ ├── R$style.class │ │ │ │ │ ├── R$drawable.class │ │ │ │ │ ├── R$integer.class │ │ │ │ │ ├── BuildConfig.class │ │ │ │ │ ├── MainActivity.class │ │ │ │ │ ├── R$styleable.class │ │ │ │ │ ├── MainActivity$1.class │ │ │ │ │ ├── MainActivity$2.class │ │ │ │ │ ├── MainActivity$3.class │ │ │ │ │ ├── MainActivity$4.class │ │ │ │ │ ├── MainActivity$5.class │ │ │ │ │ └── MainActivity$MyDatagramReceiver.class │ │ │ └── android │ │ │ │ └── support │ │ │ │ └── v7 │ │ │ │ └── appcompat │ │ │ │ ├── R.class │ │ │ │ ├── R$id.class │ │ │ │ ├── R$anim.class │ │ │ │ ├── R$attr.class │ │ │ │ ├── R$bool.class │ │ │ │ ├── R$color.class │ │ │ │ ├── R$dimen.class │ │ │ │ ├── R$style.class │ │ │ │ ├── R$drawable.class │ │ │ │ ├── R$integer.class │ │ │ │ ├── R$layout.class │ │ │ │ ├── R$string.class │ │ │ │ └── R$styleable.class │ │ ├── res │ │ │ └── crunch │ │ │ │ ├── drawable-hdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable-mdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ └── drawable-xxhdpi │ │ │ │ └── ic_launcher.png │ │ ├── dexedLibs │ │ │ ├── appcompat_v7-cf1ef3571a6117d84c40eaf3f41ee83d.jar │ │ │ ├── android-support-v4-5339952610969b6c7436ecfe09bf32cf.jar │ │ │ └── android-support-v7-appcompat-0b86d1cd15e81e2f2b7b0d6de42503d0.jar │ │ ├── jarlist.cache │ │ ├── AndroidManifest.xml │ │ └── R.txt │ │ ├── ic_launcher-web.png │ │ ├── libs │ │ └── android-support-v4.jar │ │ ├── res │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── values │ │ │ ├── dimens.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ ├── values-v11 │ │ │ └── styles.xml │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ ├── values-v14 │ │ │ └── styles.xml │ │ ├── menu │ │ │ └── main.xml │ │ └── layout │ │ │ └── activity_main.xml │ │ ├── gen │ │ ├── com │ │ │ └── esp8266_udp │ │ │ │ └── BuildConfig.java │ │ └── android │ │ │ └── support │ │ │ └── v7 │ │ │ └── appcompat │ │ │ └── R.java │ │ ├── .settings │ │ └── org.eclipse.jdt.core.prefs │ │ ├── .classpath │ │ ├── project.properties │ │ ├── proguard-project.txt │ │ ├── .project │ │ ├── AndroidManifest.xml │ │ └── src │ │ └── com │ │ └── esp8266_udp │ │ └── MainActivity.java ├── DebugUtilities.h ├── DebugUtilities.cpp ├── PSTRStrings1.h ├── udpServer.py ├── ESP8266UDP.ino └── PSTRStrings1.cpp ├── ESP8266UDP_PWM ├── DebugUtilities.h ├── DebugUtilities.cpp ├── PSTRStrings1.h ├── udpServer.py ├── ESP8266UDP_PWM.ino └── PSTRStrings1.cpp ├── ESP8266UDP_CommCheck ├── DebugUtilities.h ├── DebugUtilities.cpp ├── PSTRStrings1.h ├── udpServer.py ├── PSTRStrings1.cpp └── ESP8266UDP_CommCheck.ino ├── .gitattributes ├── .gitignore ├── README.md └── ESP8266.ino /ESP8266.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266.jpg -------------------------------------------------------------------------------- /ESP8266Tiny.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266Tiny.jpg -------------------------------------------------------------------------------- /Schematics/ESP8266Tiny/ESP8266Tiny.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/Schematics/ESP8266Tiny/ESP8266Tiny.jpg -------------------------------------------------------------------------------- /Schematics/ESP8266Tiny/ESP8266Tiny.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/Schematics/ESP8266Tiny/ESP8266Tiny.zip -------------------------------------------------------------------------------- /Schematics/ESP8266Shield/ESP8266Shield.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/Schematics/ESP8266Shield/ESP8266Shield.jpg -------------------------------------------------------------------------------- /Schematics/ESP8266Shield/ESP8266Shield.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/Schematics/ESP8266Shield/ESP8266Shield.zip -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes.dex -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/resources.ap_ -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/ESP8266_UDP.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/ESP8266_UDP.apk -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/ic_launcher-web.png -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/libs/android-support-v4.jar -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$id.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$anim.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$anim.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$attr.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$bool.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$bool.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$color.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$color.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$dimen.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$layout.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$menu.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$string.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$style.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$drawable.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$integer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$integer.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/BuildConfig.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$styleable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/R$styleable.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$1.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$2.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$3.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$4.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$5.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$id.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$anim.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$anim.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$attr.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$bool.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$bool.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$color.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$color.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$dimen.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$style.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$drawable.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$integer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$integer.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$layout.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$string.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$styleable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/android/support/v7/appcompat/R$styleable.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/dexedLibs/appcompat_v7-cf1ef3571a6117d84c40eaf3f41ee83d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/dexedLibs/appcompat_v7-cf1ef3571a6117d84c40eaf3f41ee83d.jar -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$MyDatagramReceiver.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/classes/com/esp8266_udp/MainActivity$MyDatagramReceiver.class -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/gen/com/esp8266_udp/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.esp8266_udp; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/dexedLibs/android-support-v4-5339952610969b6c7436ecfe09bf32cf.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/dexedLibs/android-support-v4-5339952610969b6c7436ecfe09bf32cf.jar -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/dexedLibs/android-support-v7-appcompat-0b86d1cd15e81e2f2b7b0d6de42503d0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulware/ESP8266/HEAD/ESP8266UDP/Android/ESP8266_UDP/bin/dexedLibs/android-support-v7-appcompat-0b86d1cd15e81e2f2b7b0d6de42503d0.jar -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /Schematics/ESP8266Shield/readme.txt: -------------------------------------------------------------------------------- 1 | 10/23/2014 2 | Created ready for ordering 3 | 11/10/2014 4 | D0 was driving ESPTX incorrectly. This was corrected not ordered yet. 5 | 1/7/2014 6 | D12 is now soft-serial receive and D11 is now soft-serial tx 7 | Have not ordered or verified yet. 8 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ESP8266_UDP 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /ESP8266UDP/DebugUtilities.h: -------------------------------------------------------------------------------- 1 | #ifndef DEBUGUTILITIES_H 2 | #define DEBUGUTILITIES_H 3 | #include 4 | class DebugUtilities 5 | { 6 | public: 7 | // Constructor 8 | DebugUtilities(); 9 | bool debugging (); 10 | void showNumber ( PGM_P s, int number ); 11 | void printPSTR ( PGM_P s ); 12 | 13 | // private: 14 | }; 15 | #endif 16 | 17 | 18 | -------------------------------------------------------------------------------- /ESP8266UDP_PWM/DebugUtilities.h: -------------------------------------------------------------------------------- 1 | #ifndef DEBUGUTILITIES_H 2 | #define DEBUGUTILITIES_H 3 | #include 4 | class DebugUtilities 5 | { 6 | public: 7 | // Constructor 8 | DebugUtilities(); 9 | bool debugging (); 10 | void showNumber ( PGM_P s, int number ); 11 | void printPSTR ( PGM_P s ); 12 | 13 | // private: 14 | }; 15 | #endif 16 | 17 | 18 | -------------------------------------------------------------------------------- /ESP8266UDP_CommCheck/DebugUtilities.h: -------------------------------------------------------------------------------- 1 | #ifndef DEBUGUTILITIES_H 2 | #define DEBUGUTILITIES_H 3 | #include 4 | class DebugUtilities 5 | { 6 | public: 7 | // Constructor 8 | DebugUtilities(); 9 | bool debugging (); 10 | void showNumber ( PGM_P s, int number ); 11 | void printPSTR ( PGM_P s ); 12 | 13 | // private: 14 | }; 15 | #endif 16 | 17 | 18 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | 1414003734281 758727 efec67655f6db90757faa37201efcee2a9ec3507 C:\adt-bundle-windows-x86_64-20140702\adt-bundle-windows-x86_64-20140702\Android\ESP8266_UDP\libs\android-support-v4.jar 5 | 1403569040000 758727 efec67655f6db90757faa37201efcee2a9ec3507 C:\adt-bundle-windows-x86_64-20140702\adt-bundle-windows-x86_64-20140702\Android\appcompat_v7\libs\android-support-v4.jar 6 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | android.library.reference.1=../appcompat_v7 16 | -------------------------------------------------------------------------------- /ESP8266UDP/DebugUtilities.cpp: -------------------------------------------------------------------------------- 1 | // Comment out next line to remove debugging 2 | // Note: Debugging can significantly increase the project response time 3 | #define DEBUGIT 4 | #include "DebugUtilities.h" 5 | 6 | DebugUtilities::DebugUtilities () 7 | { 8 | } 9 | // Print a string from program memory 10 | void DebugUtilities::printPSTR ( PGM_P s) 11 | { 12 | #ifdef DEBUGIT 13 | char c; 14 | while ((c=pgm_read_byte(s++)) != 0) 15 | Serial.print (c); 16 | #endif 17 | } 18 | 19 | void DebugUtilities::showNumber ( PGM_P s, int number ) 20 | { 21 | #ifdef DEBUGIT 22 | printPSTR ( s ); 23 | Serial.println ( number ); 24 | #endif 25 | } 26 | 27 | bool DebugUtilities::debugging () 28 | { 29 | #ifdef DEBUGIT 30 | return true; 31 | #else 32 | return false; 33 | #endif 34 | } 35 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # ========================= 18 | # Operating System Files 19 | # ========================= 20 | 21 | # OSX 22 | # ========================= 23 | 24 | .DS_Store 25 | .AppleDouble 26 | .LSOverride 27 | 28 | # Icon must end with two \r 29 | Icon 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear on external disk 35 | .Spotlight-V100 36 | .Trashes 37 | 38 | # Directories potentially created on remote AFP share 39 | .AppleDB 40 | .AppleDesktop 41 | Network Trash Folder 42 | Temporary Items 43 | .apdisk 44 | -------------------------------------------------------------------------------- /ESP8266UDP_PWM/DebugUtilities.cpp: -------------------------------------------------------------------------------- 1 | // Comment out next line to remove debugging 2 | // Note: Debugging can significantly increase the project response time 3 | #define DEBUGIT 4 | #include "DebugUtilities.h" 5 | 6 | DebugUtilities::DebugUtilities () 7 | { 8 | } 9 | // Print a string from program memory 10 | void DebugUtilities::printPSTR ( PGM_P s) 11 | { 12 | #ifdef DEBUGIT 13 | char c; 14 | while ((c=pgm_read_byte(s++)) != 0) 15 | Serial.print (c); 16 | #endif 17 | } 18 | 19 | void DebugUtilities::showNumber ( PGM_P s, int number ) 20 | { 21 | #ifdef DEBUGIT 22 | printPSTR ( s ); 23 | Serial.println ( number ); 24 | #endif 25 | } 26 | 27 | bool DebugUtilities::debugging () 28 | { 29 | #ifdef DEBUGIT 30 | return true; 31 | #else 32 | return false; 33 | #endif 34 | } 35 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /ESP8266UDP_CommCheck/DebugUtilities.cpp: -------------------------------------------------------------------------------- 1 | // Comment out next line to remove debugging 2 | // Note: Debugging can significantly increase the project response time 3 | #define DEBUGIT 4 | #include "DebugUtilities.h" 5 | 6 | DebugUtilities::DebugUtilities () 7 | { 8 | } 9 | // Print a string from program memory 10 | void DebugUtilities::printPSTR ( PGM_P s) 11 | { 12 | #ifdef DEBUGIT 13 | char c; 14 | while ((c=pgm_read_byte(s++)) != 0) 15 | Serial.print (c); 16 | #endif 17 | } 18 | 19 | void DebugUtilities::showNumber ( PGM_P s, int number ) 20 | { 21 | #ifdef DEBUGIT 22 | printPSTR ( s ); 23 | Serial.println ( number ); 24 | #endif 25 | } 26 | 27 | bool DebugUtilities::debugging () 28 | { 29 | #ifdef DEBUGIT 30 | return true; 31 | #else 32 | return false; 33 | #endif 34 | } 35 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ESP8266_UDP 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /ESP8266UDP/PSTRStrings1.h: -------------------------------------------------------------------------------- 1 | #ifndef PSTRSTRINGS1_H 2 | #define PSTRSTRINGS1_H 3 | 4 | #include 5 | #include "DebugUtilities.h" 6 | 7 | struct CommandStringType 8 | { 9 | int index; 10 | int len; 11 | prog_char * ptr; 12 | int matched; 13 | }; 14 | 15 | class PSTRStrings1 16 | { 17 | public: 18 | // Constructor 19 | PSTRStrings1(int _numberOfStrings); 20 | int matchString ( char ch, bool doDebug); 21 | void printString ( int which ); 22 | void addString (const prog_char * s); 23 | void show ( int startValue, int stopValue ); 24 | void showAll (); 25 | int matchCharPointer ( char * ch ); 26 | int numberOfStrings; 27 | char charAt ( int i, int j); 28 | void showMatches(); 29 | void clearMatches(); 30 | void clearIndexes(); 31 | int stringLen( int which); 32 | int intersect ( PSTRStrings1 * targetList, int index ); 33 | bool checkMatch (int which); 34 | 35 | int numStrings; 36 | 37 | private: 38 | CommandStringType * strings; 39 | DebugUtilities debugUtils; 40 | }; 41 | #endif 42 | -------------------------------------------------------------------------------- /ESP8266UDP_PWM/PSTRStrings1.h: -------------------------------------------------------------------------------- 1 | #ifndef PSTRSTRINGS1_H 2 | #define PSTRSTRINGS1_H 3 | 4 | #include 5 | #include "DebugUtilities.h" 6 | 7 | struct CommandStringType 8 | { 9 | int index; 10 | int len; 11 | prog_char * ptr; 12 | int matched; 13 | }; 14 | 15 | class PSTRStrings1 16 | { 17 | public: 18 | // Constructor 19 | PSTRStrings1(int _numberOfStrings); 20 | int matchString ( char ch, bool doDebug); 21 | void printString ( int which ); 22 | void addString (const prog_char * s); 23 | void show ( int startValue, int stopValue ); 24 | void showAll (); 25 | int matchCharPointer ( char * ch ); 26 | int numberOfStrings; 27 | char charAt ( int i, int j); 28 | void showMatches(); 29 | void clearMatches(); 30 | void clearIndexes(); 31 | int stringLen( int which); 32 | int intersect ( PSTRStrings1 * targetList, int index ); 33 | bool checkMatch (int which); 34 | 35 | int numStrings; 36 | 37 | private: 38 | CommandStringType * strings; 39 | DebugUtilities debugUtils; 40 | }; 41 | #endif 42 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 18 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ESP8266UDP_CommCheck/PSTRStrings1.h: -------------------------------------------------------------------------------- 1 | #ifndef PSTRSTRINGS1_H 2 | #define PSTRSTRINGS1_H 3 | 4 | #include 5 | #include "DebugUtilities.h" 6 | 7 | struct CommandStringType 8 | { 9 | int index; 10 | int len; 11 | prog_char * ptr; 12 | int matched; 13 | }; 14 | 15 | class PSTRStrings1 16 | { 17 | public: 18 | // Constructor 19 | PSTRStrings1(int _numberOfStrings); 20 | int matchString ( char ch, bool doDebug); 21 | void printString ( int which ); 22 | void addString (const prog_char * s); 23 | void show ( int startValue, int stopValue ); 24 | void showAll (); 25 | int matchCharPointer ( char * ch ); 26 | int numberOfStrings; 27 | char charAt ( int i, int j); 28 | void showMatches(); 29 | void clearMatches(); 30 | void clearIndexes(); 31 | int stringLen( int which); 32 | int intersect ( PSTRStrings1 * targetList, int index ); 33 | bool checkMatch (int which); 34 | void showStrings (); 35 | int numStrings; 36 | 37 | private: 38 | CommandStringType * strings; 39 | DebugUtilities debugUtils; 40 | }; 41 | #endif 42 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 18 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ESP8266UDP/udpServer.py: -------------------------------------------------------------------------------- 1 | import socket 2 | import msvcrt 3 | import select 4 | 5 | # windows only 6 | def getKeyboard(): 7 | char = '' 8 | if msvcrt.kbhit(): 9 | char = msvcrt.getch() 10 | return char 11 | 12 | 13 | clientIp = '192.168.0.255' 14 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 15 | sock.sendto('findkey', (clientIp, 3333)) 16 | print 'Press any keys (1..3) to send commands, q to quit' 17 | while True: 18 | msg = getKeyboard () 19 | if msg != '': 20 | if msg == 'q': 21 | break 22 | else: 23 | sock.sendto('cmd' + msg, (clientIp,3333)) 24 | 25 | data = '' 26 | addr = '' 27 | i,o,e = select.select ([sock],[],[],0.0001) 28 | for s in i: 29 | if s == sock: 30 | data, addr = sock.recvfrom(1024) 31 | if clientIp == '192.168.0.255': 32 | clientIp = str(addr[0]) # I now know the actual ip address of the device. 33 | print 'Client discovered at: ' + clientIp 34 | 35 | print "received message:" + data + ' from: ' + str(addr[0]) 36 | break 37 | sock.close() -------------------------------------------------------------------------------- /ESP8266UDP_PWM/udpServer.py: -------------------------------------------------------------------------------- 1 | import socket 2 | import msvcrt 3 | import select 4 | 5 | # windows only 6 | def getKeyboard(): 7 | char = '' 8 | if msvcrt.kbhit(): 9 | char = msvcrt.getch() 10 | return char 11 | 12 | 13 | clientIp = '192.168.0.255' 14 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 15 | sock.sendto('findkey', (clientIp, 3333)) 16 | print 'Press any keys (1..3) to send commands, q to quit' 17 | while True: 18 | msg = getKeyboard () 19 | if msg != '': 20 | if msg == 'q': 21 | break 22 | else: 23 | sock.sendto('cmd' + msg, (clientIp,3333)) 24 | 25 | data = '' 26 | addr = '' 27 | i,o,e = select.select ([sock],[],[],0.0001) 28 | for s in i: 29 | if s == sock: 30 | data, addr = sock.recvfrom(1024) 31 | if clientIp == '192.168.0.255': 32 | clientIp = str(addr[0]) # I now know the actual ip address of the device. 33 | print 'Client discovered at: ' + clientIp 34 | 35 | print "received message:" + data + ' from: ' + str(addr[0]) 36 | break 37 | sock.close() -------------------------------------------------------------------------------- /ESP8266UDP_CommCheck/udpServer.py: -------------------------------------------------------------------------------- 1 | import socket 2 | import msvcrt 3 | import select 4 | 5 | # windows only 6 | def getKeyboard(): 7 | char = '' 8 | if msvcrt.kbhit(): 9 | char = msvcrt.getch() 10 | return char 11 | 12 | 13 | clientIp = '192.168.0.255' 14 | sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 15 | sock.sendto('findkey', (clientIp, 3333)) 16 | print 'Press any keys (1..3) to send commands, q to quit' 17 | while True: 18 | msg = getKeyboard () 19 | if msg != '': 20 | if msg == 'q': 21 | break 22 | else: 23 | sock.sendto('cmd' + msg, (clientIp,3333)) 24 | 25 | data = '' 26 | addr = '' 27 | i,o,e = select.select ([sock],[],[],0.0001) 28 | for s in i: 29 | if s == sock: 30 | data, addr = sock.recvfrom(1024) 31 | if clientIp == '192.168.0.255': 32 | clientIp = str(addr[0]) # I now know the actual ip address of the device. 33 | print 'Client discovered at: ' + clientIp 34 | 35 | print "received message:" + data + ' from: ' + str(addr[0]) 36 | break 37 | sock.close() -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ESP8266 2 | ======= 3 | 4 | All things related to ESP8266 low cost device 5 | 6 | ESP8266.ino is a mega sketch to show basic server capability. 7 | 8 | Basic theory of UDP operation: 9 | ============================== 10 | Android device sends out a UDP broadcast to local network (i.e. 192.168.0.255). The message is "findkey" where key is a unique name of the device (i.e. garageDoor). 11 | 12 | All units will receive this message but only the unit with the matching key will respond. The matching unit will respond: "CTS" (clear to send). 13 | 14 | When the android device receives this message it now also has the ip address of the device. All further communication will be directly from the android device to the specific ip address of the desired unit. 15 | 16 | The unit will now respond to commands, like "open" or "readTemp". 17 | 18 | Useful files/directories: 19 | ========================= 20 | Schematics/ESP8266Tiny: An Eagle schematic to create a small pcb that holds an atmega328 and ESP8266 connected to D11/D12
21 | The ESP8266 should be running at baud rate 9600. 22 | ssid and password are stored in EEPROM on the atmega328 23 | A serial based menu allows the user to set ssid/password/and unique key which identifies the ESP8266 on the local network 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Videos
smart car video
31 | 32 | -------------------------------------------------------------------------------- /Schematics/ESP8266Tiny/readme.txt: -------------------------------------------------------------------------------- 1 | 10/19/2014 2 | Created 3 | Not sure whether the LM 3.3V voltage regulator can provide enough for the ESP8266 4 | Added a 3.3V Pinout so that an external 3.3V Power source can be provided. 5 | Will order after testing out the ESP8266 Rx/Tx lines are connected to Arduino 6 | Rx/Tx so ESP8266 module should be removed will programming. 7 | Could be a useful module for an I2C component. 8 | 9 | 10/21/2014 10 | Confirmed LM 3.3V regulator does indeed provide enough power for this device. 11 | Transistors were added so that the 5V arduino can communicate with the 3.3V device 12 | The ESP8266 will need the RX/TX lines, so an I2C component may be necessary 13 | Go ahead an order the pcb 14 | 15 | 10/22/2014 16 | PCB ordered from iteadstudio 17 | 18 | 10/23/2014 19 | Transistor to amplify power to infra-red led with supporting resistors should be 20 | placed on the main board. Board ready. Wait until first board is returned for 21 | evaluation before ordering another. 22 | 23 | 11/10/2014 24 | D0 was driving ESPTX. (backwards). Reordering 25 | 26 | 11/18/2014 27 | AT+CIOBAUD=19200 sets the baud rate to 19200. This will allow me to communicate with the 28 | ESP8266 using soft serial. Normal Arduino Serial can be used for debugging (better). 29 | Reordered pcb. D11 and D12 are now connected to ESP8266 30 | 31 | 12/12/2014 32 | Redid the .zip file, but this was unnecessary as the last change has not arrived for evaluation yet. 33 | 34 | 12/31/2014 35 | Last change arrived (some problem in transportation). 36 | pcb checks out ok. Some standoffs would be nice. 37 | -------------------------------------------------------------------------------- /ESP8266.ino: -------------------------------------------------------------------------------- 1 | boolean initialized = false; 2 | 3 | void setup() { 4 | Serial.begin (115200); 5 | Serial.println ( "Ready2" ); 6 | Serial2.begin (115200); 7 | sendCommand ( "AT" ); 8 | sendCommand ( "AT+RST" ); 9 | delay (4000); 10 | sendCommand ( "AT+CWLAP" ); 11 | sendCommand ( "AT+CWJAP=\"SSID\",\"Password\"" ); 12 | sendCommand ( "AT+CIPMUX=0" ); 13 | sendCommand ( "AT+CIFSR" ); 14 | sendCommand ( "AT+CIPMUX=1" ); 15 | sendCommand ( "AT+CIPSERVER=1,80" ); 16 | initialized = true; 17 | } 18 | 19 | void getResponse () { 20 | unsigned long startTime; 21 | char ch; 22 | char lastCh; 23 | 24 | startTime = millis(); 25 | lastCh = ' '; 26 | while (millis() < (startTime + 3000)) 27 | if (Serial2.available() ) 28 | { 29 | ch = Serial2.read(); 30 | Serial.print (ch); 31 | if ((lastCh == 'O') && (ch == 'K')) 32 | break; 33 | lastCh = ch; 34 | } 35 | } 36 | 37 | void sendCommand ( char * cmd ) { 38 | Serial2.println ( cmd ); 39 | getResponse(); 40 | } 41 | 42 | void httpOutput (char * msg) { 43 | int len = strlen (msg); 44 | Serial2.print ( "AT+CIPSEND=0,"); 45 | Serial2.println ( len+2 ); 46 | delay (50); 47 | Serial2.println ( msg ); 48 | Serial2.println (); 49 | delay (50); 50 | Serial.println ( msg ); 51 | } 52 | 53 | void webserver() { 54 | char ch; 55 | httpOutput ( "ESP8266 Server" ); 56 | httpOutput ( "

Welcome to the ESP8266 Server


"); 57 | httpOutput ( "Here is a list:
  • item 1
  • Item 2
" ); 58 | delay (100); 59 | Serial2.println ( "AT+CIPCLOSE=0"); 60 | while (Serial2.available() ) // Flush the input buffer 61 | { 62 | ch = Serial2.read(); 63 | Serial.print (ch); 64 | } 65 | } 66 | 67 | void loop () { 68 | char ch; 69 | if (initialized) 70 | { 71 | if (Serial.available() ) 72 | { 73 | ch = Serial.read(); 74 | Serial2.print (ch); 75 | } 76 | 77 | if (Serial2.available() ) 78 | { 79 | ch = Serial2.read(); 80 | Serial.print (ch); 81 | if (ch == 71) 82 | webserver(); 83 | } 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /ESP8266UDP/Android/ESP8266_UDP/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 19 | 20 | 28 | 29 |