We were able to communicate with the ESP8266 via a computer! We used the serial monitor on the Arduino environment to see if the chip would respond. The first command that we sent was AT? (which checks to see if you have communication), and the chip responded OK. Next, we were able to connect it to the internet using AT commands. One possible problem is that we are only going to be able to connect it to BereaGuest and not BereaSecure, because BereaSecure requires a username and a password, and there is no way to add both when connecting to the internet.

Our setup looked like this:


Sidenote: I am going to have to re-download the Arduino IDE because my computer refuses to connect.

The next thing that we tried was using the software serial library to connect:

#include “SoftwareSerial.h”
String ssid =”BereaGuest”;

String password=””;

SoftwareSerial esp(9, 10);// RX, TX

void connectWifi() {

String cmd = “AT+CWJAP=\”” +ssid+”\”,\”” + password + “\””;



if(esp.find(“OK”)) {



else {


Serial.println(“Cannot connect to wifi”); }


This allowed us to connect the chip to WiFi through our code. It was a really exciting moment. The Software Serial library is using the esp.println() function to actually send the AT commands to the chip. It then checks for the chips response with the esp.find() function.

The part that we are now stuck at is where to send our data. We are no longer using dweepy, and we need a place to send it. We talked to Dr. Jadud and he tried to explain to us that we want to send our data inside the URL:


This way, the dashboard group just unpacks the URL to receive our data. The next step is going to be to set up the flask app to actually send that data to.