Upload software to the Arduino, and run the Python software on the PC. The Python software requires 4 libraries: serial, keyboard, time and os, you may need to install these first using pip (or conda if using the Anaconda distribution of Python). The...
For this tutorial, we have decided to use the M5Stack Ecosystem because it enables building such a system without prototyping specific tools, such as a soldering iron or prototyping cables. The brain of this project is the M5Core2, an IoT development...
To demonstrate that the calibration was successful, we recorded a video and collected photoresistor readings while arbitrarily extending, retracting, and twisting the telescoping pole. The plot shares the output from the two photoresistors over time....
Connect the Mini RFID Reader/Writer Unit to PORT A of the M5Core2 (the red port near the USB-C connector) using the Grove cable. This unit uses the I2C protocol to send data to the M5Core2.Take out the CORE2 plate on the back to expose the pins.The Finger...
Next, open another window of Arduino IDE, make sure to choose your Ameba development board in the IDE: “Tools” -> “Board”Then open the “Master Writer” example in “File” -> “Examples”...
Turn on the Arduino recording and output, and collect the readings of interest from the strain gauges. In this example, we pressed the tip of the telescoping pole against a pumpkin on a chair to demonstrate the sensing principle. The force and direction...
The wind sensors, Arduino and EMT conduit telescoping mounting pole took measurements outdoors for about 90 seconds. The raw data, and processed wind speed and wind direction data are presented below. The method for converting from the raw Arduino readings...
In this example, we use Ameba as the I2C master writer, and use Arduino as the I2C slave receiver.When the I2C slave receives string sent from I2C master, it prints the received string. Setting up Arduino Uno to be I2C Slave First, select Arduino in...
This proof of concept demonstrates that it's possible to track and log a soccer ball's landing position on a sports rebounder without using a webcam - instead, you can feed the output of several accelerometers into a trained recurrent neural network...
This is the quick hack of another code sample "Register writer" to play a warm up sound. The hardware is based on the schematic linked in the code. Works with Arduino Uno R3 aka: 328 compatible boards. https://pastebin.com/raw/FehmVLQS /*******************************************************************...
Not hardware, but essential with any temperature/humidity sensors, easier to have it here than to find some earlier sketch with DP calculation. Dew point resembles absolute humidity pretty well, air pressure does affect it but causes only like +/- 0.5°...
Besides a special build of PowerStrip (for Windows) available upon request only,some rare EDID-writing code is still archived online but never made it into mainline due to the serious risk of picking the wrong EEPROM:If you wipe the one on a DVIADD card,...
I'm going to be using two USB sticks for the install process: the first is the pfSense installer and the second is the boot drive onto which pfSense will be installed. But before that, you'll need to decompress the image you downloaded. The following...
Let’s get to it! Install Arduino IDE, the esp32 board and the Fixed Libraries. To install the ESP32 board in your Arduino IDE, follow these next instructions: 1) Open the preferences window from the Arduino IDE. Go to File> Preferences 2) Enter https://dl.espressif.com/dl/package_esp32_index.json into...
I used micropython, because I haven't used it for a project yet and I was shocked how well it worked for this. There are many tutorials on how to use Thonny with an ESP32, and I found it to be much quicker than doing this in Arduino/ C++. The main files...