With the rise of affordable 3D printers, we just don’t see the projects in Tic Tac boxes that we used to. That’s kind of a shame. Not only are you upcycling existing plastic when you use one, they’re decently sized component vessels for pocket builds such as [rgco]’s portable magnetometer, especially if you can get the 100-count box. Best of all, they’re see-through!
Sure, you could get a magnetometer app for your phone to test out the strength of your Buckyballs, but this is more fun, and you can use it in more places. This build doesn’t take much — an Arduino Nano reads from a Hall effect sensor and outputs the magnetic flux density in militeslas (mT) on an OLED. Fortifying the sensor by mounting it inside the body of an old (also see-through!) ballpoint pen body is a nice touch.
In order to calibrate it, [rgco] made a solenoid by wrapping a length of PVC with magnet wire. The code for this very portable and low-cost magnetometer measures the magnetic field 2000 times in under three-tenths of a second, and outputs both the mean and the standard deviation of these measurements.
Magnetometers can ID all kinds of things from submarines to Suburbans. Here’s an ESP8266 magnetometer that opens a driveway gate when it detects the car.


After contemplating a few solutions, he opted for one which wouldn’t offend the coffee gods. The machines use a high current to produce their heat, so he adapted some old remote control power sockets for the machines to plug into which would now monitor the current. A high current means the coffee is brewing and he knew that brewing takes one minute per cup, so the duration of the high current tells him the number of cups.



