Fork me on GitHub

Project Notes

#268 ChainBlocks

Testing some “Chain Blocks” and demonstrate an XY Plotter block (with an MCP42010 digital potentiometer) by drawing the PrexLab logo on an Oscilloscope.

Build

Notes

My neighbour is developing a prototyping system called Chain Blocks by PrexLab, and passed me some to try out. Disclaimer: at no charge.

Chain Blocks?

Chain Blocks sit somewhere on the continuum of ideas that are trying to make electronics more approachable especially for novices:

  • the “building block” approach, perhaps exemplified by littlebits. These require no electronics or coding backgound.
  • the standard Shield/Cape/Hat approach and a miscellany or modules that can be directly wired to the microcontroller development board. These are moderately approachable by beginners but require some electronics to be learned along the way, and you must be ready to code
  • kit-assisted breadboard prototyping, like shrimping.it
  • and beyond that we get into standard protoboard/breadboarding techniques for those willing to dive head-first into electronics as a hobby

I started with a “Chain Nano block with one application block”. I turned the application block into an “XY Plotter Block”.

ChainBlocks_pair

The XY Plotter Block

For a test, I decided to make an XY plotter block, based on the LEAP#265 XYplotter project.

It uses an MCP42010 dual digital potentiometer to draw images on an oscilloscope.

XYBlock_upper

XYBlock_lower

Test Sketch

ChainBlocks.ino is a test sketch that draws “PrexLab” on a scope.

The Python script make_data.py is used to interpolate plotting points over the fundamental text structure. It generates the data.h used by the ChainBlocks.ino sketch:

python make_data.py > data.h

The sketch produces the image below. I’m using a Hantek MSO5074FG oscilloscope, and the image was captured with the following settings:

  • XY plot mode
  • 0.2s persistence
  • display as vectors
  • average over 4 samples
  • CH1/X and CH2/Y offset to position the image

scope_text

The time-domain plot for the generated output is like this:

scope_text_xt

Construction

Breadboard

Schematic

Build

Credits and References

About LEAP#268 Arduino

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader