Code Samples

Includes actual programming examples

Vehicle to Cloud: Building a Real-Time Fuel Level Dashboard

Exploring automotive SOA through hands-on coding: Building a Vehicle-to-Cloud system that connects car sensor data to a cloud dashboard.

From Sensor Into On-Board Service via Signal-to-Service APIs

Exploring automotive SOA through hands-on coding: building a simulated fuel monitoring system to understand how vehicle data flows from sensors to services.

Remote Motor Control: Raspberry Pi and MQTT via Browser

How to control motors connected to a Raspberry Pi from a web browser using MQTT over WebSockets. Code (C++ & Javascript) included.

DC & Servo Motor Control in C++ with Raspberry Pi

How to control a DC and a servo motor with a TB6612FNG motor driver and a Raspberry Pi. Code (C++) and circuit diagram included.

Arduino IoT RC Car: 4 MCUs, Wi-Fi Control and AWS Integration

Build an Arduino IoT RC Car with Wi-Fi Control, 4 MCUs, and AWS Integration. Overcome power, SoftwareSerial, and motor driver challenges.

SPI Example with Arduino Uno and MKR WiFi 1010

An example of communicating between an Arduino Uno and an Arduino MKR WiFi 1010 using the SPI protocol.

Simple UART Project Using pyboard and Arduino Uno

How to communicate between an Arduino Uno and a pyboard to start/stop playing music using the UART protocol

I2C Communication Between Arduino Uno and Feather 32u4

An example of how to communicate between an Arduino Uno and an Adafruit Feather 32u4 using the I2C protocol.

Motor Speed Control using an Arduino Uno

How to control the speed of your motor with an H-Bridge motor driver & Arduino Uno. Code and circuit diagram included.

Building a Wi-Fi-Controlled Arduino Car

This project uses the MKR WiFi 1010, an H-Bridge and a servo motor to control a car through a regular browser (e.g. Chrome, Firefox).