Replies: 1 comment 2 replies
|
BMI160 is not supported (yet). If you find a nice Arduino library for the BMI160, you could consider adding a madflight gizmo for it. The sensor page on the website lists sensor boards in general, some of which are supported by madflight. I'll add this notice on that page, thanks for the heads-up. For brushed motors you have use something like: ’bool success = out.setupMotors(4, motor_idxs, motor_pins, 5000, 0, 200); // Brushed motors: 5000Hz PWM frequency, 0-200 us duty cycle (i.e. 0-100% duty cycle at 5000Hz)` |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I was trying to setup a basic board with ESP32S3 with BMI160 on I2C. This is a brushed motor micro quadcopter.
I am however facing issue with IMU not able to initialize.
Could you please guide me how to setup madflight with BMI160 on I2C? If needed I can also rewire to SPI, but there is no library for BMI160 included in the madflight code.
Please also guide what parameters to use for setting up brushed motors. I an driving them through SI2302 FETs
All reactions