Abstract
Vscode IOT Utility is an open-source Internet of Things (IoT) project. IoT Utility for Visual Studio Code: Arduino, Espressif, Raspberry Pi, mbed and more. Integrate PlatformIO into Visual Studio Code on top of PlatformIO Core. Cross-platform Build System without external dependencies to the OS software: 550+ embedded boards, 25+ development platforms, 15+ frameworks. It is built using TypeScript, Arduino, Raspberry Pi, ESP8266. Key capabilities include: Build PlatformIO project specified in Project Configuration File platformio.ini; Upload firmware to devices specified in Project Configuration File platformio.ini; Open Serial Monitor. The complete source code is publicly available on GitHub under the MIT License, making it a useful reference for students building an Internet of Things (IoT) mini project or final-year project.
1. Introduction
Integrate PlatformIO into Visual Studio Code on top of PlatformIO Core. Cross-platform Build System without external dependencies to the OS software: 550+ embedded boards, 25+ development platforms, 15+ frameworks. Arduino and ARM mbed compatible.
2. Objective
IoT Utility for Visual Studio Code: Arduino, Espressif, Raspberry Pi, mbed and more
This project demonstrates how TypeScript, Arduino, Raspberry Pi can be applied to a real-world Internet of Things (IoT) problem.
3. Key Features / Modules
- Build PlatformIO project specified in Project Configuration File platformio.ini
- Upload firmware to devices specified in Project Configuration File platformio.ini
- Open Serial Monitor
- Set baud rate for Serial Monitor
- Search for library in PlatformIO Library Registry
- Install library from PlatformIO Library Registry
- Quick way to open PlatformIO Terminal
- Automatically or manually add Include Path to c_cpp_properties.json for C/C++ extension
- Combined Build, Upload and Open Serial Monitor with one command
- Discover devices connected via Ethernet, Wi-Fi and USB
4. Technology Stack
5. System Requirements
General requirements for this technology stack — check the README for exact versions.
- Node.js (LTS) and npm / yarn / pnpm
- VS Code or any code editor
- Git (to clone the repository)
6. Installation & Setup
git clone https://github.com/formulahendry/vscode-iot-utility.git
cd vscode-iot-utility- Use existing project
- Create new project
- Build PlatformIO project: Use shortcut Ctrl+Alt+B, or press F1 and then select/type PlatformIO: Build, or right click the Text Editor and then click PlatformIO: Build in context menu
- Upload firmware to devices: Use shortcut Ctrl+Alt+U, or press F1 and then select/type PlatformIO: Upload, or right click the Text Editor and then click PlatformIO: Upload in context menu
- Open Serial Monitor: Use shortcut Ctrl+Alt+S, or press F1 and then select/type PlatformIO: Open Serial Monitor, or right click the Text Editor and then click PlatformIO: Open Serial Monitor in context menu
- Quick way to open PlatformIO Terminal: Click the Terminal icon in the Status Bar at the bottom, or press F1 and then select/type PlatformIO: Open Terminal
- Discover devices connected via Ethernet, Wi-Fi and USB: Press F1 and then select/type IoT Utility: Discover Device. (Make sure you have installed device-discovery-cli)
IP Address MAC Address Type Host Name
10.172.14.69 08:00:27:d7:27:ef raspberrypi (Raspberry Pi) raspberrypi
10.172.15.84 00:15:5d:0f:9d:01 tessel (Tessel 2) tessel2
10.172.14.219 00:0c:29:35:fa:9f huzzah (Adafruit HUZZAH ESP8266)
10.172.15.98 78:2b:cb:b5:1c:9c ?Full setup instructions are in the project README.
7. Future Enhancements
Suggested extensions you can add to make this your own project.
- Add a mobile dashboard using Blynk or Firebase
- Store readings in a cloud database for history charts
- Add alerts via SMS / Telegram when thresholds are crossed
8. Viva / Review Questions
Common questions examiners ask for projects in this domain.
- Which microcontroller / board and sensors are used and why?
- How does the device send data (Wi-Fi, MQTT, HTTP, Bluetooth)?
- Where is the sensor data stored and visualised?
- How is power consumption managed?
- How would you secure the device and its communication?
9. Source Code & License
This project is developed by formulahendry and published on GitHub under the MIT License. Please follow the license terms and credit the original author when you use or modify this code.
Want to build this as your internship project?
Work on an Internet of Things (IoT) project like this with mentor guidance, weekly reviews and an internship certificate from Training Trains, Erode — online or offline.
Apply for Internet of Things (IoT) Internship