Fab Academy 2016 Week15
Week15: networking and communications (May 11)
Assignments
design and build a wired &/or wireless network connecting at least two processors
My work
Wifi connection
I used "ESP-WROOM-02".
This page is specification.
Materials
I got it with adaptor from Akiduki in japan
ESP-WROOM-02 x1 600jpy
Adaptor x1 100jpy
Regarding size of capacitor and regurator, refer below.
Capacitor 1uF x1 //put on input from regurator
Capacitor 10uF x1 //put on output from regurator
Regurator 3.3V x1 //recomended Ampere size is over 800mA
Schematic is this.
I made some board... But all boards were not work.
Then I used breadboard.
Complete photo is below.
This interface is Serial adaptor.
It is FT232RL USB serial conversion module.
Configuration
I connected the USB from to complete it.
so I used Arduino IDE.
Detail setting is this picture.
I checked the working of ESP-WROOM-02 by AT command with serial monitor.
AT //connection check
AT+GMR //check version
AT+CWMODE_CUR=1 //change to cliant mode
AT+CWJAP="SSID","PASS" //connect to wifi
I tried to connect to wifi sometime.
This connection with wifi were faild.
I checked some items. voltage, design of circuit, anntena....
Fabacademy2016 member Kondo used same wifi antena.
I borrowed his AC power unit.
As a result, it worked.
This problem is low ampare.
"ESP-WROOM-02" cosumes over 600mA.
I guess it is need aroud 800mA/3.3V.
PC USB bus power is not enough.
Recommned power unit are battery or AC power.
Successed command is below
Integration
I used Blynk of iPhone App.
And ESP-WROOM-02 was connected with RGB LED.
Blynk_site
Below data is program for ESP-WROOM-02
It is for connection with iPhone.
First time, Generate ID of "AuthToken" on your Blynk app in your iPhone or Android.
You write the generated ID to "YourAuthToken" in below attached program.
Regarding working. See below link.
Back to home