Introduction
This guide takes you through the steps to building your devices. In this stage we will show you how to:
- upload firmware to the ESPS32S board
- set up a network between two Yo-Yo devices
- assemble the hardware
Do take your time to go through each the steps. If you have any problems or need support you can visit our FAQs pages.
Once you have finished the assembly you can move to Stage 2 and build your own enclosures.
-
-
Download the USB driver so the ESP32S board can communicate with your computer. The Mac OS version can be found here.
-
Unzip the download and open the installer SiLabsUSBDriverDisk.dmg.
-
A new window will open. Click on Install CP210x VCP Driver to open the driver.
-
You might be asked for confirmation to open the Driver. To proceed click 'Open'.
-
-
-
Follow the onscreen instructions to install the USB driver.
-
The USB driver will let the ESP32S board communicate with your computer. You don't have to open the driver beyond this step, it will just do its thing in the background.
-
-
-
The Yo-Yo Firmware Uploader will enable you to upload the latest firmware to your ESP32S board. Download the latest release here.
-
Open the downloaded app. Note that your operating system may ask you to verify the app.
-
You will need to give permission to open the app in System Preferences > Security & Privacy when prompted.
-
-
-
Plug your ESP32S board into your computer with the USB cable. You should see a red light on the board, which means it is powered up.
-
-
-
Open the Yo-Yo Firmware Uploader and select the device in the drop down menu. You may need to press “refresh list” if you do not see it in your list.
-
Your board's serial port should appear as '/dev/cu.SLAB_USBtoUART'
-
Leave the 'Erase Wifi Details' box unticked.
-
-
-
Use the 'project' drop-down menu to select which device you are making.
-
-
-
When you're ready, click on Upload to upload the latest firmware.
-
When prompted, hold the BOOT button on your board to set it to "programming mode". You can let go of the button once you see the text "Writing" in the console text.
-
When the uploader finishes transferring the firmware to the device, it will say "Success!"
-
-
-
If you have another device to set up, you can repeat the previous step with the second ESP32S board.
-
Unplug the first device from your computer to make sure that you that you upload the firmware to the second device.
-
Select the device in the drop down menu of the Yo-Yo Firmware Uploader . You may need to press “refresh list” if you do not see it in your list.
-
-
-
Power up the first ESP32S (with uploaded firmware) using a USB port or USB power supply and wait 10 seconds.
-
If you are setting up two devices in the same space, turn on the second ESP32S at least 10 seconds after the first. If you are setting them up remotely, you do not need to synchronise in this way. You should still wait at least 10 seconds before proceeding so the ESP32Ss can establish a network.
-
With your mobile device or computer, connect to the newly created Wi-Fi network named “Yo-Yo-####” with the password “blinkblink”. If you are viewing these instruction online on our website, use another device to connect to the new network so you can keep the instruction open. This procedure is the same whichever method you are using.
-
-
-
A captive portal should open automatically.
-
-
-
Fill in the prompts with credentials for the Wi-Fi network that you want to connect to.
-
-
-
Copy the text under the heading “Your Yo-Yo Code”.
-
Send your Yo–Yo Code to your partner via SMS, email, etc., in exchange for the one from their device.
-
Enter the Yo-Yo Codes for the partner devices in the text field named “Remote Yo-Yo Code”. It should be in the same format as yours eg: “4289 423988”. Once the forms are complete, press “Save”.
-
-
-
Wait for the devices' blue LEDs to blink 3 times to confirm the local wifi details are correct. If these details have been inputted incorrectly, please reconnect to the Yo-Yo-#### network and try again.
-
Once both devices have confirmed they can connect to their respective wifi networks, the connection between the devices can be tested. This is done by pressing the “BOOT” button of one device to blink the on-board led of the other.
-
-
-
Gather your components and take a moment to identify them.
-
-
-
SIG = MOSFET signal
-
OUT = PIR sensor output
-
VDD = Supply voltage
-
GND = Ground
-
-
-
Place one side of the ESP32S onto the other side of the breadboard. The side used should be the same side as the button labelled EN.
-
-
-
Place the MOSFET module on the top left side of your breadboard.
-
Use 3 male to male jumper wires to plug the MOSFET module into the ESP32S as pictured.
-
-
-
Plug two male-to-male jumper wires into the MOSFET module's V+ and V- screw terminals
-
Plug the other ends of the jumper wires into the fan's white connector.
-
Connect the MOSFET module's VIN terminal to the ESP32S's VIN pin with another jumper wire.
-
-
-
Connect the PIR sensor's 5V pin to VIN on the ESP32S.
-
Connect the PIR sensor's output pin to pin D14 on the ESP32S.
-
Connect the PIR sensor's ground pin to GND on the ESP32S.
-
-
-
Plug in your USB micro cable.
-
Make another device using the same steps.
-
-
-
By default the fan will remain on for 10 seconds after the PIR detects motion, but this can also be changed to 1, 3 or 30 seconds.
-
To change the default time from 10 seconds to 1 second, add two jumper leads between pins 25 and 26, and GRD.
-
To change the default time from 10 seconds to 3 seconds, add a jumper lead between pin 26 and GRD.
-
To change the default time from 10 seconds to 30 seconds, add a jumper lead between pin 25 and GRD.
-
-
-
Wave your hand around one of the PIR sensors. You should be able to see fan spin on the other device.
-
Try this again on the other PIR sensor and make sure the other fan spins.
-
-
-
Now that your device is working you can now think about what kind of enclosure you want to encase it in.
-
We have a few different examples of enclosure design or feel free to invent your own!
-
Your electronics are ready for use in an enclosure!
Your electronics are ready for use in an enclosure!
Cancel: I did not complete this guide.
One other person completed this guide.