SSTuino II Knowledge Base
website·Indexed 32 days ago
https://knowledge.fourier.industriesDocumentation and tutorials for the SSTuino II and SSTuino Innovator's Kit v2. Includes guides on programming with the Arduino IDE, using sensors (TMP36, PIR, Ultrasonic), working with actuators, and implementing IoT projects using MQTT, Ubidots, and Thunkable.
What's inside SSTuino
- The SSTuino II Essentials Track is an introductory curriculum designed for Secondary 1 students. It provides a foundational overview of electronics, Arduino programming, and the fundamentals of the Internet of Things (IoT). The track progresses from basic hardware setup and electronic theory to text-based coding and cloud connectivity via MQTT and Ubidots.
Overview of SSTuino II Advanced Actuators Track
The Advanced Actuators Track for SSTuino II provides guidance on expanding hardware capabilities beyond basic setup. Available tutorials cover detaching the Explorer Board, controlling the onboard RGB LED, integrating WS2812B smart RGB LED strips, and setting up mini OLED/LCD displays.Understand MQTT concepts for IoT communication
MQTT (Message Queuing Telemetry Transport) is a lightweight, fault-tolerant messaging protocol used by the SSTuino to communicate with IoT servers. It relies on three core concepts:
- Topics: Act as addresses to specify a device and its resources (e.g.,
sstuino-ii/temperaturetargets the 'temperature' variable of the 'sstuino-ii' device). - Publish: The act of transmitting data from a device to the server under a specific topic.
- Subscribe: The act of receiving data from the server to a device when new data is pushed to a subscribed topic.
- Topics: Act as addresses to specify a device and its resources (e.g.,
Get started with Thunkable for mobile app development
Thunkable is a block-based, 'code-lite' mobile app creator that allows developers to build apps without writing text-based code. Apps created in Thunkable can be uploaded to a mobile device for testing or published to app stores. To test apps in real-time on a mobile device, users should download the 'Thunkable Live' app from the Apple App Store or Google Play Store.SSTuino II RGB LED Hardware Architecture
The onboard RGB LED is physically connected to the ESP32 Wi-Fi chip. The ESP32 communicates with the main ATmega4809 microcontroller via SPI pins. No external wiring is required to use the onboard LED, and the SSTuino II can operate independently of the Explorer board.Understand SSTuino II hardware specifications
The SSTuino II is a compact microcontroller board designed for easier integration than the SSTuino Classic. It features a dual-microcontroller architecture to balance compatibility with modern connectivity:
- Atmel 8-bit AVR ATmega4809: Used for compatibility with 5V Arduino accessories. It provides 3x the RAM and 1.5x the program storage compared to the ATmega328P.
- Espressif 32-bit ESP32: Serves as a Wi-Fi coprocessor for IoT capabilities.
Understand basic electrical circuit components
A basic electrical circuit consists of three primary elements: a Power Source (such as a battery or wall plug), Wires/Conductors to transport energy, and a Consumer (such as an LED, speaker, or servo) that uses the energy. To protect consumers from excessive energy and potential damage, resistors are used to limit the flow of electricity.Understand the basic structure of an Arduino sketch
Arduino programs (sketches) for the SSTuino typically consist of three main sections:
- Declaration: Used to define libraries and variables globally before the main logic begins.
- Setup: A function that runs once when the microcontroller powers up or resets. It is used for initialization, such as starting serial communication with
Serial.begin(9600);. - Loop: A function that repeats indefinitely as long as the device has power, containing the primary logic of the program.
Install the SSTuino II Out of the Box (OOTB) test program
The OOTB (Out of the Box) Arduino sketch is used to verify the SSTuino II functionality during the smoke test. This program can be downloaded as a zip file and uploaded to the device via the Arduino IDE.Download link: https://knowledge.fourier.industries/media/files/OOTB.zipInstall Arduino IDE for SSTuino II
To upload code to the SSTuino II, you must first install the Arduino IDE on your computer. Ensure the SSTuino II and its components are NOT plugged into any power source during the initial software installation process.Build a basic LED circuit on SSTuino
Create a simple circuit using an Arduino Uno (or SSTuino), a breadboard, one resistor, and one LED. Connect the Positive(+) rail to 5V and the Negative(-) rail to GND. Ensure a resistor is included in the circuit to prevent excessive current from damaging the components.Perform a smoke test for SSTuino II
To perform a smoke test on the SSTuino II, connect the device to your Learning Device using the provided USB-C cable. If LEDs light up unexpectedly, move the device to a more insulated surface, such as a plastic table or the top of the Kit's box, as the Explorer board components are sensitive to conductive surfaces.