Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:16 08 Sep 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : "Drivers" for BNO055, MCP3208, and Maestro

Author Message
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 244
Posted: 07:31am 05 Sep 2025
Copy link to clipboard 
Print this post

Hi,

for my long-term project (a 6-legged MMBasic-driven robot), I wrote a few hardware "drivers" that I'd like to share.

`lib_bno055.bas` for the BNO055 9-DOF absolute orientation IMU fusion sensor (e.g., this one)
`lib_mcp3208.bas` for the MCP3208 chip, an 8-channel 12-bit A/D converter
`lib_maestro.bas` for servo control via the Pololu 18-channel Maestro board

The code is found in my GitHub repository.

Best
Thomas
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5217
Posted: 08:57am 05 Sep 2025
Copy link to clipboard 
Print this post

Thanks Thomas,

Did you implement the whole walking into the Maestro ? Impressive what you can do with it.

Volhout
PicomiteVGA PETSCII ROBOTS
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 244
Posted: 09:35am 05 Sep 2025
Copy link to clipboard 
Print this post

Hi Volhout,

  Volhout said  Did you implement the whole walking into the Maestro ? Impressive what you can do with it.

No, this is all done in MMBasic in a Pico 2. The sequencing features of the Maestro may be good for animatronics but IMHO not flexible enough to quickly change sequences e.g. based on sensor input. I used the Maestro as a convenient way of controlling 18 servos with a single serial command and not having to take care of power management.

Best
Thomas
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025