๐ Welcome to YSP 2025!
This guide will help you install the tools you'll need for class exercises over the next seven days.
Day 5 is all about getting started with our ESP32 exercises. You will be working with a Seedstudio XIAO ESP32C3 board, which is a compact and powerful microcontroller perfect for IoT projects. We've flashed the esp's with our custom firmware. This firmware will make all the esp's present in this room talk to each other by forming a mesh network.
-
Hardware Setup:
- Connect the LED strip to the Seedstudio XIAO ESP32C3 board. Wire the LED strip to the board as follows:
- LED Strip Connections:
- VCC on the LED Strip to VUSB on the ESP32 Board
- GND on the LED Strip to GND on the ESP32 Board
- Data on the LED Strip to D10 on the ESP32 Board
-
Once the hardware it ready, Plug in the board to your computer using a USB cable.
-
After about 5 Seconds, the LED strip should light for a second and then turn off. This indicates that the firmware is running correctly.
-
Open your terminal or command prompt.
-
Copy the following command based on your operating system:
If you are using Windows ๐ช:
powershell -NoProfile -ExecutionPolicy Bypass -Command "& { iwr -useb 'https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/win/script_notebook.ps1' | iex }"
Or if you are using macOS ๐:
bash -c "cd $(mktemp -d) && curl -fsSL https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/macos/script_notebook.sh -o run.sh && curl -fsSL https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/macos/Brewfile -o Brewfile && bash run.sh && cd -"
For Day 4, we will again update the already cloned repository and move forward with the python exercises.
Just follow the same steps as Day 3 to update your local repository.
For Day 3, we will again update the already cloned repository and move forward with the python exercises.
-
Open your terminal or powershell.
-
Copy the following command based on your operating system:
If you are using Windows ๐ช:
powershell -NoProfile -ExecutionPolicy Bypass -Command "& { iwr -useb 'https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/win/script_notebook.ps1' | iex }"
Or if you are using macOS ๐:
bash -c "cd $(mktemp -d) && curl -fsSL https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/macos/script_notebook.sh -o run.sh && curl -fsSL https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/macos/Brewfile -o Brewfile && bash run.sh && cd -" -
Paste the command and hit Enter.
-
Wait for the process to complete. This will update your local repository with the latest changes.
-
Once done, you can start working on the Python exercises.
For Day 2, we will be updating the already cloned repository and moving forward with the python exercises.
-
Open your terminal or command prompt.
-
Copy the following command based on your operating system:
If you are using Windows ๐ช:
powershell -NoProfile -ExecutionPolicy Bypass -Command "& { iwr -useb 'https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/win/script_notebook.ps1' | iex }"
Or if you are using macOS ๐:
bash -c "cd $(mktemp -d) && curl -fsSL https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/macos/script_notebook.sh -o run.sh && curl -fsSL https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/macos/Brewfile -o Brewfile && bash run.sh && cd -" -
Paste the command and hit Enter.
-
Wait for the process to complete. This will update your local repository with the latest changes.
-
Once done, you can start working on the Python exercises.
This setup guide will walk you through installing essential applications. If you get stuck, donโt hesitate to reach out to your instructors.
- Identify your computerโs operating system (Windows or macOS).
- Follow the corresponding steps below.
- If something doesnโt work, try a manual installation using the checklist.
Follow these steps carefully:
Click the copy icon on the top right corner of the code block below:
powershell -NoProfile -ExecutionPolicy Bypass -Command "& { iwr -useb 'https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/win/script_notebook.ps1' | iex }"- Press the Windows key and type
powershell. - Hit Enter.
- Paste the copied code into PowerShell using Ctrl+V.
- Press Enter.
If a terminal window opens and Visual Studio Code launches at any point โ you're all set! ๐ Let your instructor know you're done.
Alternatively, you can follow the manual setup process: Click Here.
Follow these instructions step by step:
๐ก Tip: Click the copy icon to easily copy each code snippet.
bash -c "cd $(mktemp -d) && curl -fsSL https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/macos/script_notebook.sh -o run.sh && curl -fsSL https://raw.githubusercontent.com/Makerspace-Ashoka/TDCS_CodeAlong_2025/refs/heads/main/Scripts/macos/Brewfile -o Brewfile && bash run.sh && cd -"- Press Cmd + Space.
- Type
terminal, then press Enter.
- Paste the copied code into Terminal using Cmd + V.
- Press Enter.
- You may be prompted to enter your password multiple times. Type it in (you wonโt see it) and press Enter.
If Visual Studio Code opens โ success! ๐ Let your instructor know youโre done.
Alternatively, you can follow the manual setup process: Click Here.
Let me know if youโd like this in a different format (e.g., PDF or printed handout style).