8 | Control a brushless motor with a Teensy
ฝัง
- เผยแพร่เมื่อ 1 ส.ค. 2022
- This video explains how you can program your Teensy 4.0 microcontroller to control a brushless motor. The FS-IA6B receiver is used to give instructions to the Teensy, which will be in turn transformed to a PWM signal that is fed to the Electronic Speed Controller (ESC).
The purpose of this video series is to learn the basics behind a quadcopter drone and enable you to build one yourself, by dividing this challenging project in several easy-to-understand parts. You use the capable Teensy 4.0 microcontroller together with the easy-to-use Arduino language.
Full code available on GitHub: github.com/CarbonAeronautics - วิทยาศาสตร์และเทคโนโลยี
Great series and very well explained. Thanks for taking the time to produce these video,
so clean so neat
Magnifico trabajo. Gracciasss
Hi, first thanks for this awesome project.
Now a questiion. If the standard PWM signal of ESCs is 1-2ms, shouldn't the period be 2ms = 500Hz? I don't get why you are chosing 250Hz. Thanks in advance.
The engine does not start, what is the reason?
What esc are you used sir?
I fried my teensy doing the same wiring, do you know why it could have happened? Is It ok to plug the Rx signal(5v) directly into the teensy 3.3v pins ?
No. The teensy pins are not 5v tolerant.
Hi um i have a request the code that i çopied from your link on github 19th line analogWriteFrequency dont work on mine it says analogWriteFrequency was not declared in this scope how do i fix that im new to this so i dont know what to do ive been searching for possible problems on why it dosent work but i couldn't find anything
i am also getting the same error
@@hung4505 right? Like how do i fix it
Thats ESC are so expensive for such simple tasks. I use simple MOSFET transistor and DAC to regulate speeds
For those who are building a drone for educational purposes, experience with ESCs is very useful.