This sketch is used by Exercise: Read Analog Accelerometer. Full Source Code The full code is all in one file ReadAccelerometer.ino. // ReadAccelerometer – read a 3-axis analog accelerometer and display the results to the serial port // // Copyright (c) 2016, Garth Zeglin. All rights reserved. Licensed under the // terms of the BSD 3-clause license […]
Projects
MicroBot V1
So this is my microbot V1 which is an ESP32 based robot which is powered by a Wemos d32 pro and controlled by Blynk. Its body is a 3D printed square surface that has mounting holes for the same size PCB which is mounted with this setup in the sandwich config to hold the battery […]
Midi Light Show using Arduino
For a class, my teammate and I decided to develop a MIDI based system that has a responsive light for each note played. For example, if you plug our little setup to a keyboard, pending on which note you press, you’ll get a specific color. You’ll need a list of several items, but the reward […]
Arduino Sketch ReadSwitchInput
This sketch is used by Exercise: Read Switch Input. Full Source Code The full code is all in one file ReadSwitchInput.ino. // ReadSwitchInput – read a digital input and report its value using the LED and serial monitor // // Copyright (c) 2016, Garth Zeglin. All rights reserved. Licensed under the // terms of the BSD 3-clause […]
Arduino Sketch SoftBlink2
This sketch is used by Exercise: Soft Blink. Full Source Code The full code is all in one file SoftBlink2.ino. // SoftBlink2 – fades the onboard LED on and off. // // Copyright (c) 2016, Garth Zeglin. All rights reserved. Licensed under the // terms of the BSD 3-clause license as included in LICENSE. // // This […]
Arduino Audio Sound Level Meter
This is add-on of the audio amplifier project result which is introduced in other instructable. (https://www.instructables.com/PC-Speaker-Amplifier/) Usually many types of sound level meters are directly connected with input (or rarely output) signal lines of amplifier. But personally I’m thinking any electrical connections with amplifier circuit may surely degrade music playback quality by inserting some noises […]
Piano Metronome
This project was conceived of after I examined the types and styles of various off-the-shelf Metronomes. I am currently learning to play the piano and having a Metronome in order to keep time was necessary. I felt sure that I could build one based on a standard Arduino Uno R3 board. The resultant Metronome has […]
Arduino Sketch SoftBlink1
This sketch is used by Exercise: Soft Blink. Full Source Code The full code is all in one file SoftBlink1.ino. // SoftBlink1 – fades the onboard LED on and off. // // Copyright (c) 2016, Garth Zeglin. All rights reserved. Licensed under the // terms of the BSD 3-clause license as included in LICENSE. // // The […]
Arduino Sketch Fade
This is a standard Arduino example sketch, copied here for reference. Full Source Code The full code is all in one file Fade.ino. /* Fade This example shows how to fade an LED on pin 9 using the analogWrite() function. This example code is in the public domain. */ int led = 9; // the pin […]
3D Printed Digital Camera
This is a 3D printed digital camera that you can build yourself. By making your own digital camera, it takes away some of the mystery around how such devices work, and are fabricated. Also, it allows you to fully customize the camera to your liking. You can expand the circuit to have new functionality, or […]