Wednesday November 14 2018


Video demo:


Quick Links:

BoxBug Arduino Code

Link to 3d Capacitive Sensor construction


To make this, all you need is the following:

  • Arduino UNO (preferably R3)
  • 4 IR LEDs (or 3 IR + 1 Other)
  • An Inchworm that you will control
  • A 3D Capacitive Interface
    • There are a few of these online, but here is a link to the one that I copied : LINK
    • Basically it’s just 3x(cardboard sheet ~1 sq ft, somewhat covered in tinfoil, 10K resistor, 220K resistor, alligator clip to connect to the foil).
    • Note that you only need the box-related hardware from that post (I derived my own RC time measurement algorithms, the box may be a cool idea, but the code he supplied was nonsense IMHO [well I guess the processing code was fine]).
    • Still, mad-kudos for the idea of 3 Capacitive Sensors arranged like the Cartesian planes.  And much thanks for the basic setup (resistor values etc.); although I think the values need tuning, you may want to add in some potentiometers in your implementation (in series with the 220K, the 10K is just a place through-which current may flow when clearing the charge).
  • Wire+connectors


Final Assembly:

Yep, this one is that simple, we can just jump to final assembly
(project if effectively all-in-the-code).

Assuming you have your 3D Capacitive Sensor built, all you have to do is:

  • plug the 3D Capacitive Sensor (and IR LEDs) into the Arduino as seen in the picture below:

    (Note that by ‘related’ I mean after the 10K resistor [just as the guy’s post says, but different pins]).
  • upload this sketch: BoxBug Arduino Code
  • enjoy


Here are some more pics of my implementation for your reference
(and as always, feel free to email me any questions).