Some of the exercise packages include several utility and test programs. These are all standalone scripts using Python 3 and a few additional packages as described in Python 3 Installation. The following scripts may be browsed in the Python MIDI tools directory on the course site. list_MIDI_ports.py Command-line test program for identifying available MIDI ports by printing a […]
Projects
Arduino MQTT Plotter (PyQt5)
This utility GUI application is a tool for visualizing the content of multiple data streams passed as short numeric messages back and forth across the network via a MQTT server. It supports opening an authenticated connection to the server, subscribing to a class of messages in order to receive them, viewing message traffic, and plotting […]
Gas Detector
Let’s create a simple Gas Detector connectable to WiFi. The gadget would offer: web UI including gauges for LPG, CO, Smoke simple data handler returning values in JSON capable of regularly sending data to ThingSpeak server and obviously triggering laud alarm if threshold of dangerous concentrations exceeded. We would need following components: NodeMCU with ESP8266 […]
Arduino MQTT Monitor (PyQt5)
This utility GUI application is a tool for debugging programs using a remote MQTT server. It can show messages on multiple topics and publish text-based messages on a single topic. The application is provided all in one file and can be be directly downloaded from qt_mqtt_monitor.py. The following sections have both documentation and the full code. […]
Synchronized 2-Axis Motion With Variable Speed (Arduino + LEDs + 28BYJ-48)
This tutorial shows how to move two stepper motors so they will synchronously arrive at defined destination point. There are many sophisticated solutions for doing this such as GRBL or Marlin. Using an Arduino, there are also dedicated “Multi Stepper” libraries that can support you. However, we will use a more basic approach here making it as easy as possible […]
Farkle! Handheld PCB Game Console
In this Instructable I will show you how I made my PCB Farkle Game! Farkle, also known as 10000, Zilch, 6 Dice, and Ten Thousand, is a fun and challenging dice game with multiple variations and scoring options. I first got the inspiration from my twin brother, Sunyecz06’s Liar’s Dice PCB game in which he utilized a […]
Arduino-MQTT Bridge (PyQt5)
This PyQt5-Enabled Arduino MQTT GUI connects an Arduino sketch to a remote MQTT server over the network. It communicates with the Arduino using the serial port, relaying lines of text to and from the MQTT server. This can be used as a platform for remote Arduino to Arduino collaboration. The application is provided all in […]
SMARTWALKER D4E1
The smartwalker is being developed for a project called “design for everyone” at Howest university college of Applied Sciences (Belgium). We are a group of design and occupational therapy students. This project is specifically made for an individual person: Peter. Peter can’t see nor hear. When he goes to the train station he relies on his […]
Arduino Lecture Sample Code
This collection of short Arduino sketches introduces a variety of programming concepts. The comments are minimal as these are intended to be starting points for explanation. blink // 1. blink the onboard Arduino LED on pin 13. // 2. demonstrate setup(), loop() // 3. demonstrate pinMode(), digitalWrite(), delay() void setup() { pinMode(13, OUTPUT); } void […]
End of Days Clock
The days got shorter here in Alaska until it felt like the murky light was only a short interruption of a long sleep so I built a clock to display the seasonal diminishment (and expansion) of time. It also displays when it snows and how the tide is doing out there in the inky ice-choked […]
