Sailboat autopilot with Teensy

Status
Not open for further replies.

Tobbera

Member
I want to show my sailboat autopilot that is based on Teensy 3.1. Former it was built on Arduino Nano (Atmega 328) but it bottomed out due to pretty heavy floating point calculations of wind and compass data.

I basically ported the code straight from Nano to Teensy. Had to change port numbers, some serial commands and libraries. But nothing that wasn't done in a few hours. One challenge was the limit of 3.3v ADC in Teensy. The wind vane outputs 5v. So this is shifted down to 3.3v with a 2:1 voltage divider.

The pictures shows the latest enclosure, which is probably gonna be revised til next summer. Its a bit too small, and the aluminum cast is corroding.

Video (of Nano version, but same code and function): https://youtu.be/bEQQ-wsNISU


 
Status
Not open for further replies.
Back
Top