This demonstration is meant to serve as a simple, low-cost way to learn about IMU, servo, and LCD control as well as programming and debugging. Please change and upgrade the code and components as necessary for your specific design requirements. This setup is not meant to be flown without necessary modifications. Use at your own risk.
If it is unclear why this setup should not be used in a real situation, more advanced control theory such as a PID controller is necessary to properly control the canard fins. You should change and upgrade the code components as necessary for your specific design requirements. Double-sided tape should not be used to attach your canard fin to your servo. Your servo should not be fixed in place using double-sided tape. An LCD may not be a necessary inclusion inside your rocket. You will need more than one servo and one canard. Your design may benefit from a more advanced microcontroller than the $3 NANO V3.
This is a learning demonstration. Please treat it as such and perform outside research to develop your design properly before launch.
Code here:
https://github.com/NULaunchVehicle/Canard-Demo
This demonstration utilizes:
A leftover carbon fiber fin from Northwestern’s 2018-2019 Foundation launch vehicle - https://www.reddit.com/r/rocketry/comments/g41zdm/northwesterns_20182019_foundation_launch_vehicle/
Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout (BNO055) from Adafruit - https://www.adafruit.com/product/2472
The NANO V3 ATmega328, USB-TTL CH340G from RobotDyn - https://robotdyn.com/nano-v3-atmega-328-usb-ttl-ch340g-micro-usb-with-cable-soldered.html
The stock rotation HS-322HD Servo from Hitec - https://www.servocity.com/hs-322hd-servo#259=25
A standard 16 x 2 1620a LCD with 10k potentiometer like this one - https://www.adafruit.com/product/181
Double sided carpet tape to stick the servo to the breadboards and the fin to the servo horn - https://www.amazon.com/gp/product/B07H88SWCM/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Two full size breadboards like the ones in this kit - https://www.amazon.com/Breadboards-Solderless-Breadboard-Distribution-Connecting/dp/B07DL13RZH/ref=sr_1_5?dchild=1&keywords=electronics+breadboard&qid=1589076616&sr=8-5
Wiring diagrams necessary for assembly:
Hitec servo wire color code - https://rckavalaacroteam.com/wp-content/uploads/2017/01/%CE%A7%CF%89%CF%81%CE%AF%CF%82-%CF%84%CE%AF%CF%84%CE%BB%CE%BF-117.png
LCD wiring tutorial - https://www.arduino.cc/en/Tutorial/LiquidCrystalDisplay
BNOO55 IMU wiring - https://learn.adafruit.com/adafruit-bno055-absolute-orientation-sensor/arduino-code
Links to products below. The shelf is complete hermit crab safe, it’s all bamboo, except for the legs which are metal. I lined them in 2 sided carpet tape (link below) and pieced on segments of that terrarium carpet liner. The crabs love it cause they can climb up the legs as well. You can also line the top of the bamboo shelves with the carpet liner, like I did, so they can grip on it and walk easily. The two sided tape made it a very simple project.