Transfer data (WiFi credentials) from your smartphone to an ESP8266 by Pulsing your Smartphone Screen
To setup your WiFi Credentials put your ESP12F over a Smartphone screen, and let the Black and White Oscillation transmit the information. Note: You need to cover the LDR, in a way no light can enter. The LDR should not touch the screen, it needs stay some millimeters far from the screen.
- ESP-12F (and all the basic componentes to make it work) - Resistor 300k - LDR 50K-50M Omhs (GL5539) - Unzip the library ESP8266-screenSetWifi-master (attached in this projet) into your Arduino Library Folder
PS: You can try other variations of resistor values and LDR types. Just make sure the max resistive value of LDR is greater than the pull-down resistor.