Magnetic Sensor Test Rig
Rather than try and combine the electronics and metal work into one setup I thought I’d build a test rig for the magnetic sensor board that I soldered up the other week. This will allow me to prove the circuitry and write the software before committing to making something that will fix to the rotary table.
I built the rig out of wood and plastic toilet seat fittings. The magnet and PCB we fixed in place using Sugru.
The magnet can be adjusted up and down on the screw thread and of course rotated. It can also be swung out of the way so that the circuit can be accessed. The circuit sits on a plywood board that can be adjusted to ensure that the magnet is centred on the chip.
The wiring of the circuit was pretty straightforward, just a couple of capacitors, one across the 5v supply and one to stabilise the unused 3.3v pin. The rest of the wiring consisted of tying the test pins to ground and also the two I2C address select pins. The I2C bus also required a couple of pull up resistors but I’ll put those on the other end of the bus wires.
I might look into the price of getting a board made up and use surface mounted components once the sensor is properly working, I’ve another couple of AS5048B chips to work with or could always buy new if I mess them up.
Magnets from First 4 magnets
Sensor chip from AMS
[…] a few other unfinished projects to sort out. My magnetic rotary sensor needs re-soldering after I destroyed the last chip. I will likely put that on another breakout […]