Oscilliscopes have always caught my attention, but not having a real need for one there is little excuse for the price they cost. A while back I saw this USB board and some software that created a simple, yet useful oscilliscope.
It never really got since I wasn’t totally sure how to make it useful except to hook it up once and make sure it worked. This time I have a reason and it is for a PWM project. I have a Raspberry Pi with a HiFiBerry Amp2 running Volumio. I thought to myself I should figure out how it will best work. It is an excellent learning tool.
On a breadboard I laid out an Adafruit Metro Mini and a MCP4725 DAC breakout board. Using the setup to generate waves for the scope. The MCP is an I2C device, so the SDA and SCL (A4 and A5) on the Metro Mini. A ground is shared between devices.
I downloaded the Labrador software from the github site. I chose to use the Mac OS X version as I am running a MacBook Pro 13″ 2020 with 10.15.x. The software has worked without issue to date. On first run the software steps you through calibrating the board, it is quite a simple process.
After that it was doing a more reading on what some of the controls do and how to get to where I need to be.
The first was just the example code from the library generating square waves. In the second example I uploaded some code that caused an LED to fade in and out of brightness.
Next I am going to use it to check on my PWM board I made for fan control.
<insert info jpegs from pwm test>
© 2022, wrightmac. All rights reserved.