Sunday, March 20, 2022

Nexgen AHRS Arduino Library

Our latest article on "How to write your own Flight Controller Software" is available on Medium. This article covers the Attitude and Heading Reference System (AHRS), IMU Filters and Sensor Fusion. We have released the open source Nexgen AHRS Arduino library to demonstrate these techniques on the Nano 33 BLE.

Friday, February 11, 2022

NexgenTimer Arduino Library

 LiPo batteries are great for drones but you don't want to over discharge them. To allow our Flight Controller to monitor battery capacity we used a non blocking scheduler and packaged our requirements up as an Arduino Library, NexgenTimer.

Our library is an amalgamation of the MillisTimer and ElapsedTimer libraries with some application specific examples and an extra Timeout class. It only uses functions from the Arduino core API and hence should work on all Arduino boards.

It can be downloaded using the Arduino Library Manager and you can read all about it in our latest article on Medium -

Sunday, January 2, 2022

Write your own Flight Controller Software - Part 5

There are a number of libraries that make working with the LSM9DS1 IMU (Inertial Measurement Unit) easy. In Part 5 of our series on writing your own flight controller software we will focus on the IMU and in particular explain the best ways to convert the gyro rate and accelerometer force data to a roll and pitch angle. The yaw angle is then calculated using the pitch and roll and magnetometer data. This discussion, is in the context of building a drone flight controller based on the Arduino Nano 33 BLE.

Thursday, August 12, 2021

Debugging the Arduino Motor Shield

 Our L293 based motor shield had some problems! How do we diagnose what the problems are and create a better design? This final tutorial, will explain how we went about troubleshooting the issues and creating a better circuit to be used in version 2 of our design. #arduino #uno #motor #shield #debugging

Saturday, August 7, 2021

How to write your own Arduino Library

 Following our article on how to design your own Arduino motor shield, we have written a companion piece that explains how to create your own Arduino library. Our explanation focuses on all the things that the beginner tutorials don't cover. #Arduino #UNO #STEM #nexgencodecamp

Wednesday, July 28, 2021

How to Create your own Arduino Motor Shield

The Nexgen Rover is an Arduino based robot designed wholly by Nexgen Codecamp. It is used in our technology related STEM courses aimed at high schools. The robot is based on Arduino technology and runs an Arduino UNO with a motor controller shield on top. This article explains how we designed and manufactured our own motor shield to suit the requirements of the rover. #arduino #stemeducation #uno #motor #shield #nexgen