/azure-sphere-iot-bubble-machine

An Internet Connected Bubble Machine. How awesome is that?

Primary LanguageCOtherNOASSERTION

azure-sphere-iot-bubble-machine

An Internet Connected Bubble Machine. How awesome is that? This project was started for Hackathon 2020 (Microsoft's Employee Hackathon).

Bubble Machine Parts

Wiring

Here is how to hook up your sphere to the motors:

From To Notes
5v Motor Supply 5v Rail
5v Rail Pin 1 TM56612FNG Breakout VM (V-Motor)
Sphere H3.3 3v3 Rail 3v3 Rail Source
3v3 Rail Pin 2 TM56612FNG Breakout VCC
Ground Rail GND H1.2 Gnd Rail for both
Ground Rail PIN 3 TM56612 FNG Breakout GND
Ground Rail PIN 8 TM56612 FNG Breakout GND
Ground Rail PIN 16 TM56612 FNG Breakout GND
Pin 4 TM56612FNG Breakout Motor A + A1
Pin 5 TM56612FNG Breakout Motor A - A2
Pin 6 TM56612FNG Breakout Motor B - B2
Pin 7 TM56612FNG Breakout Motor B + B1
GPIO0 H1.4 Pin 9 TM56612 FNG Breakout PWMA
GPIO5 H2.4 Pin 10 TM56612 FNG Breakout AIN2
GPIO4 H1.12 Pin 11 TM56612 FNG Breakout AIN1
3v3 Rail (via Pullup?) Pin 12 TM56612 FNG Breakout STBY
GPIO6 H2.6 Pin 13 TM56612 FNG Breakout BIN1
GPIO7 H2.8 Pin 14 TM56612 FNG Breakout BIN2
GPIO1 H1.6 Pin 15 TM56612 FNG Breakout PWMB

Nota Bene

This project uses C++ but Microsoft DOES NOT support C++ as a development language for Azure Sphere. Azure Sphere is an example of embedded development and is fairly "bare metal". Even though we are using C++ the C++ library (i.e. STL) and much of the CRT (i.e. fopen) are not present in the tool-chain. Beware!