Remote Labs Kit developed by Cymbeline Innovation, using Wemos D1 Mini ESP8266 Web Server & arduino Web Sockets. The kit is designed for 3 inputs and has 5 outputs.
Before trying any uploads or any changes to the code, please download and go through the step-by-step PPT and ensure all libraries and device drivers are perfectly installed. Most possible errors occur because your libraries aren't included.
Inputs | Pins |
---|---|
a | D3 |
b | D2 |
c | D1 |
Gates | Pins |
---|---|
NAND | D0 |
OR | D5 |
XOR | D6 |
AND | D7 |
FaS | D8 |
- Rig up the circuit as per the schematic below.
- Copy the code in this link
- Modify these lines of the code
static const char ssid[] = "......";
static const char password[] = "........";
as per your Wifi SSID and its password, for the D1 Mini to successfully connect to a hotspot.
- Fire up Arduino IDE and verify the code after modifications.
- On successful compilation, upload the sketch onto the Wemos D1 Mini board.
- Connect your device to the same Wifi network, open up your browser and type the URL http://192.168.1.207.
- Use the remote lab through the web page.
- To be able to access this kit from anywhere in the world, what has to be done is port forwarding.
- Go here to get your global ip address. Copy it.
- Access that ip address on your browser.
- When prompted for user name and password, type admin for both.
- Every router web page is different, so to configure this, go to something in the lines of "NAT" or "Virtual server".
- Paste the global IP in field that might have "Remote IP" and your local IP at the field called "Local IP".
- Enter your port number that you have configured in the code. It can be anything apart from default port numbers. For example, 5004.
- Apply changes.
- Type in your global ip followed by port number (Ex- 117.215.112.102:5004) on any browser connected to any network and control your remote lab completely remotely.