Skip to content
Snippets Groups Projects
Select Git revision
  • 6-magnetometer-board-fixes
  • magnetometer-investigation
  • main default protected
  • bad-osh-park-order
4 results

magnetomelty

  • Clone with SSH
  • Clone with HTTPS
  • MagnetoMelty

    This repository contains all of the hardware and software files associated with team Mind Melt's magnetometer based custom electronics.

    It also contains written documentation describing requirements and implementation details. While you can find duplicate information to this documentation on Spencer's blog, the blog is intended to tell a story rather than be a concise technical document. So the documentation in this repository supercedes any statements made in the blog.

    Hardware

    The hardware is designed in KiCad v6.0. There are boards for three robots:

    • Hit 'N Spin, 1lb
    • Halo, 3lb
    • Bat out of Hell, 30lb

    Custom user libraries are used in this design; they are included from a different repo via a submodule. Use git submodule update --init to pull them in.

    Software

    The software is designed to be interchangeable between the three robots, with robot specific code managed in the precompiler via a param header. The software targets a RP2040 MCU, by the Raspberry Pi Foundation. The easiest development environment is directly on a Raspberry Pi 4, with Visual Studio as the IDE and direct GPIO connections to the ARM SWD interface. One gotcha with this is that hot-plugging the robot boards into the RPi's 3.3V line will almost certainly restart the RPi, so it is recommended to provide a separate 3.3V supply.