SlideShare a Scribd company logo
BASIC INTRODUCTION TO CLEANFLIGHT
V1.9.0
By: Zach Scally (zscally@gmail.com)
Presented: to FPV Race League.
What is Cleanflight?
• Cleanflight is a open source flight controller software used
by 32bit processors.
• Cleanflight can be used on multirotor aircraft and fixed-
wing aircraft, it supports a variety for shapes and motor
counts, not limited to quadcopters, hexacopters,
octocopters, tricopters and planes.
Supported 32bit Flight Controllers
• Naze32 (most popular)
• AlienWii32
• CC3D
• CJMCU
• ChebuzzF3 F3 board (new upcoming technology)
• Olimexino
• Paris Air Hero
• SPRacingF3 F3 board (new upcoming technology)
• Sparky F3 board (new upcoming technology)
• Flip32
• RMRC DODO F3 board (new upcoming technology)
The Basics (whatwe’regoingtoneed)
• Some sort of cleanflight enabled board.
• Some boards require you to solder header pins on.
• A computer with cleanflight installed. (http://tinyurl.com/mdek2lq )
• Sometimes a SMT32 driver is required (out of scope).
• A USB Cable (to plug up the flight controller)
• RC receiver and Transmitter
• Battery (optional)
Flashing
• Updates newest version of cleanflight to the flight
controller
• Improves performance and add new features
• Internet connection makes things easier but not required.
Start of Basic Setup
Cleanflight is broken up in tabs
• Setup (general overall view of what's going on)
• Ports (Ic2 and UART communication pipes)
• Configuration (General Configuration)
• PID Tuning (PID controllers and RC Rate)
• Receiver (Receiver Monitor and Configuration)
• Modes (Flight modes and other features)
• Adjustments (Custom mixes)
• Servos
• GPS
• Motors
• LED Strip
• Sensors
• Logging
• DataFlash
• CLI (Command line Interface)
Ports
• Ability to setup GPS module
• Ability to setup PPM receiver
• Ability to setup blackbox logging
• I will briefly speak about PPM receivers but I Will not go in
depth, I’ve experienced a lot of issues with certain types
of PPM receiver modules and the one’s I find to work the
best are the Lemon RX PPM satellite receivers found
here
http://tinyurl.com/n8ljzds
Configuration
PID Tuning
PID Tuning Continued
• Good resource for tuning your PIDS
• https://www.youtube.com/watch?v=30Au6sEv6-o
Receiver
Modes
Motors
CLI (CommandLineInterface)
CLI Commands
• Set looptime = 1600 (press enter) NOTE: May very from ESC to ESC.
• Set Acc_lpf_factor = 100 (press enter)
• Set emf_avoidance = 1 (press enter)
• acc_hardware (press enter) - WARNING: ONLY DO THIS IF YOU CHOOSE NOT TO
RUN AUTO LEVEL
• Save (press enter)
looptime
This is the main loop time (in us). Changing this affects PID
effect with some PID controllers (see PID section for
details). Default of 3500us/285Hz should work for
everyone. Setting it to zero does not limit loop time, so it
will go as fast as possible.
So basically the communication speed to your ESC’s
Acc_lpf_factor
This setting controls the Low Pass Filter factor for ACC.
Increasing this value reduces ACC noise (visible in GUI),
but would increase ACC lag time. Zero = no filter
Smooth's out Accelerometer noise!!
emf_avoidance
Default value is 0 for 72MHz processor speed. Setting this
to 1 increases the processor speed, to move the 6th
harmonic away from 432MHz.
Again another setting to smooth out communication speed
to your processor.
acc_hardware
WARNING:ONLYDOTHISIFYOUCHOOSENOTTORUNAUTOLEVEL
This is used to suggest which accelerometer driver should
load, or to force no accelerometer in case gyro-only flight is
needed. Default (0) will attempt to auto-detect among
enabled drivers. Otherwise, to force a particular device, set
it to 2 for ADXL345, 3 for MPU6050 integrated
accelerometer, 4 for MMA8452, 5 for BMA280, 6 for
LSM303DLHC, 7 for SPI_MPU6000, 8 for SPI_MPU6500
or 1 to disable accelerometer altogether - resulting in gyro-
only operation.
Another setting to improve performance of your 32bit
processor.
Setup
That’s a Wrap
Something's to note.
• All flight controllers are a little different but all should
function the same.
• Setting loop time is based of the speed of your ESC
• Always remember to take off your props when working in
cleanflight.
• And this picture

More Related Content

What's hot

Arduino
ArduinoArduino
Arduino
SHIMI S L
 
Using Timers in PIC18F Microcontrollers
Using Timers in PIC18F MicrocontrollersUsing Timers in PIC18F Microcontrollers
Using Timers in PIC18F MicrocontrollersCorrado Santoro
 
44CON 2013 - Controlling a PC using Arduino
44CON 2013 - Controlling a PC using Arduino44CON 2013 - Controlling a PC using Arduino
44CON 2013 - Controlling a PC using Arduino
Michael Boman
 
Micro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and PeripheralsMicro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and Peripherals
Amit Kumer Podder
 
伺服馬達控制
伺服馬達控制伺服馬達控制
伺服馬達控制
艾鍗科技
 
St 5832 sw-specification-www.ttbvs.com
St 5832 sw-specification-www.ttbvs.comSt 5832 sw-specification-www.ttbvs.com
St 5832 sw-specification-www.ttbvs.com
TTBVS
 
Using Timer2 in Microchip MCUs
Using Timer2 in Microchip MCUsUsing Timer2 in Microchip MCUs
Using Timer2 in Microchip MCUs
Corrado Santoro
 
Audio led bargraph equalizer
Audio led bargraph equalizerAudio led bargraph equalizer
Audio led bargraph equalizerdouglaslyon
 
How to configure EIGRP on a Cisco router
How to configure EIGRP on a Cisco routerHow to configure EIGRP on a Cisco router
How to configure EIGRP on a Cisco routertcpipguru
 
St5832m w specification-www.ttbvs.com
St5832m w specification-www.ttbvs.comSt5832m w specification-www.ttbvs.com
St5832m w specification-www.ttbvs.com
TTBVS
 
Hexapod ppt
Hexapod pptHexapod ppt
Hexapod ppt
shiv kumar rai
 
HWg-Juno 404 - Datasheet
HWg-Juno 404 - DatasheetHWg-Juno 404 - Datasheet
HWg-Juno 404 - Datasheet
Siemens
 
8-bit Emulator Programming with Go
8-bit Emulator Programming with Go8-bit Emulator Programming with Go
8-bit Emulator Programming with Go
Ignacio Sánchez Ginés
 
PWM based motor speed control using LPC 1768
PWM based motor speed control using LPC 1768PWM based motor speed control using LPC 1768
PWM based motor speed control using LPC 1768
Omkar Rane
 
Handling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUsHandling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUs
Corrado Santoro
 
Using ARM Dev.Board in physical experimental instruments
Using ARM Dev.Board in physical experimental instrumentsUsing ARM Dev.Board in physical experimental instruments
Using ARM Dev.Board in physical experimental instruments
a_n0v
 

What's hot (20)

Arduino
ArduinoArduino
Arduino
 
Using Timers in PIC18F Microcontrollers
Using Timers in PIC18F MicrocontrollersUsing Timers in PIC18F Microcontrollers
Using Timers in PIC18F Microcontrollers
 
44CON 2013 - Controlling a PC using Arduino
44CON 2013 - Controlling a PC using Arduino44CON 2013 - Controlling a PC using Arduino
44CON 2013 - Controlling a PC using Arduino
 
TSync_Timing_Boards_revA
TSync_Timing_Boards_revATSync_Timing_Boards_revA
TSync_Timing_Boards_revA
 
Micro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and PeripheralsMicro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and Peripherals
 
伺服馬達控制
伺服馬達控制伺服馬達控制
伺服馬達控制
 
St 5832 sw-specification-www.ttbvs.com
St 5832 sw-specification-www.ttbvs.comSt 5832 sw-specification-www.ttbvs.com
St 5832 sw-specification-www.ttbvs.com
 
Using Timer2 in Microchip MCUs
Using Timer2 in Microchip MCUsUsing Timer2 in Microchip MCUs
Using Timer2 in Microchip MCUs
 
Audio led bargraph equalizer
Audio led bargraph equalizerAudio led bargraph equalizer
Audio led bargraph equalizer
 
hardware_design_RAFS
hardware_design_RAFShardware_design_RAFS
hardware_design_RAFS
 
How to configure EIGRP on a Cisco router
How to configure EIGRP on a Cisco routerHow to configure EIGRP on a Cisco router
How to configure EIGRP on a Cisco router
 
St5832m w specification-www.ttbvs.com
St5832m w specification-www.ttbvs.comSt5832m w specification-www.ttbvs.com
St5832m w specification-www.ttbvs.com
 
Hexapod ppt
Hexapod pptHexapod ppt
Hexapod ppt
 
HWg-Juno 404 - Datasheet
HWg-Juno 404 - DatasheetHWg-Juno 404 - Datasheet
HWg-Juno 404 - Datasheet
 
Avr timers
Avr timersAvr timers
Avr timers
 
8-bit Emulator Programming with Go
8-bit Emulator Programming with Go8-bit Emulator Programming with Go
8-bit Emulator Programming with Go
 
PWM based motor speed control using LPC 1768
PWM based motor speed control using LPC 1768PWM based motor speed control using LPC 1768
PWM based motor speed control using LPC 1768
 
Handling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUsHandling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUs
 
Traffic light control
Traffic light controlTraffic light control
Traffic light control
 
Using ARM Dev.Board in physical experimental instruments
Using ARM Dev.Board in physical experimental instrumentsUsing ARM Dev.Board in physical experimental instruments
Using ARM Dev.Board in physical experimental instruments
 

Similar to Introduction to-cleanflight

Trash Robotic Router Platform - David Melendez - Codemotion Rome 2015
Trash Robotic Router Platform - David Melendez - Codemotion Rome 2015Trash Robotic Router Platform - David Melendez - Codemotion Rome 2015
Trash Robotic Router Platform - David Melendez - Codemotion Rome 2015
Codemotion
 
Debugging 2013- Jesper Brouer
Debugging 2013- Jesper BrouerDebugging 2013- Jesper Brouer
Debugging 2013- Jesper Brouer
Mediehuset Ingeniøren Live
 
2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg 2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg
Aland Bravo Vecorena
 
Arm architecture overview
Arm architecture overviewArm architecture overview
Arm architecture overview
Sathish Arumugasamy
 
Quadcopter Presentation
Quadcopter PresentationQuadcopter Presentation
Quadcopter Presentation
Mohammed Mushtaha
 
한컴MDS_Virtual Target Debugging with TRACE32
한컴MDS_Virtual Target Debugging with TRACE32한컴MDS_Virtual Target Debugging with TRACE32
한컴MDS_Virtual Target Debugging with TRACE32
HANCOM MDS
 
TMS320C5x
TMS320C5xTMS320C5x
Amp bluac5 specsheet
Amp bluac5 specsheetAmp bluac5 specsheet
Amp bluac5 specsheet
Electromate
 
SoC Idling for unconf COSCUP 2016
SoC Idling for unconf COSCUP 2016SoC Idling for unconf COSCUP 2016
SoC Idling for unconf COSCUP 2016
Koan-Sin Tan
 
Arm architecture
Arm architectureArm architecture
Nvidia tegra K1 Presentation
Nvidia tegra K1 PresentationNvidia tegra K1 Presentation
Nvidia tegra K1 Presentation
ANURAG SEKHSARIA
 
Embedded system - Introduction to interfacing with peripherals
Embedded system - Introduction to interfacing with peripheralsEmbedded system - Introduction to interfacing with peripherals
Embedded system - Introduction to interfacing with peripherals
Vibrant Technologies & Computers
 
Embedded Recipes 2019 - Introduction to JTAG debugging
Embedded Recipes 2019 - Introduction to JTAG debuggingEmbedded Recipes 2019 - Introduction to JTAG debugging
Embedded Recipes 2019 - Introduction to JTAG debugging
Anne Nicolas
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
Imran Sheikh
 
JS Fest 2018. Володимир Шиманський. Запуск двіжка JS на мікроконтролері
JS Fest 2018. Володимир Шиманський. Запуск двіжка JS на мікроконтролеріJS Fest 2018. Володимир Шиманський. Запуск двіжка JS на мікроконтролері
JS Fest 2018. Володимир Шиманський. Запуск двіжка JS на мікроконтролері
JSFestUA
 
HKG18-TR14 - Postmortem Debugging with Coresight
HKG18-TR14 - Postmortem Debugging with CoresightHKG18-TR14 - Postmortem Debugging with Coresight
HKG18-TR14 - Postmortem Debugging with Coresight
Linaro
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUs
Premier Farnell
 
project_NathanWendt
project_NathanWendtproject_NathanWendt
project_NathanWendtNathan Wendt
 

Similar to Introduction to-cleanflight (20)

Trash Robotic Router Platform - David Melendez - Codemotion Rome 2015
Trash Robotic Router Platform - David Melendez - Codemotion Rome 2015Trash Robotic Router Platform - David Melendez - Codemotion Rome 2015
Trash Robotic Router Platform - David Melendez - Codemotion Rome 2015
 
Debugging 2013- Jesper Brouer
Debugging 2013- Jesper BrouerDebugging 2013- Jesper Brouer
Debugging 2013- Jesper Brouer
 
2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg 2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg
 
Arm architecture overview
Arm architecture overviewArm architecture overview
Arm architecture overview
 
Quadcopter Presentation
Quadcopter PresentationQuadcopter Presentation
Quadcopter Presentation
 
한컴MDS_Virtual Target Debugging with TRACE32
한컴MDS_Virtual Target Debugging with TRACE32한컴MDS_Virtual Target Debugging with TRACE32
한컴MDS_Virtual Target Debugging with TRACE32
 
TMS320C5x
TMS320C5xTMS320C5x
TMS320C5x
 
Amp bluac5 specsheet
Amp bluac5 specsheetAmp bluac5 specsheet
Amp bluac5 specsheet
 
SoC Idling for unconf COSCUP 2016
SoC Idling for unconf COSCUP 2016SoC Idling for unconf COSCUP 2016
SoC Idling for unconf COSCUP 2016
 
Arm architecture
Arm architectureArm architecture
Arm architecture
 
Introduction to Blackfin BF532 DSP
Introduction to Blackfin BF532 DSPIntroduction to Blackfin BF532 DSP
Introduction to Blackfin BF532 DSP
 
Nvidia tegra K1 Presentation
Nvidia tegra K1 PresentationNvidia tegra K1 Presentation
Nvidia tegra K1 Presentation
 
Embedded system - Introduction to interfacing with peripherals
Embedded system - Introduction to interfacing with peripheralsEmbedded system - Introduction to interfacing with peripherals
Embedded system - Introduction to interfacing with peripherals
 
Embedded Recipes 2019 - Introduction to JTAG debugging
Embedded Recipes 2019 - Introduction to JTAG debuggingEmbedded Recipes 2019 - Introduction to JTAG debugging
Embedded Recipes 2019 - Introduction to JTAG debugging
 
Dsp on an-avr
Dsp on an-avrDsp on an-avr
Dsp on an-avr
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
JS Fest 2018. Володимир Шиманський. Запуск двіжка JS на мікроконтролері
JS Fest 2018. Володимир Шиманський. Запуск двіжка JS на мікроконтролеріJS Fest 2018. Володимир Шиманський. Запуск двіжка JS на мікроконтролері
JS Fest 2018. Володимир Шиманський. Запуск двіжка JS на мікроконтролері
 
HKG18-TR14 - Postmortem Debugging with Coresight
HKG18-TR14 - Postmortem Debugging with CoresightHKG18-TR14 - Postmortem Debugging with Coresight
HKG18-TR14 - Postmortem Debugging with Coresight
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUs
 
project_NathanWendt
project_NathanWendtproject_NathanWendt
project_NathanWendt
 

Recently uploaded

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 

Recently uploaded (20)

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 

Introduction to-cleanflight

  • 1. BASIC INTRODUCTION TO CLEANFLIGHT V1.9.0 By: Zach Scally (zscally@gmail.com) Presented: to FPV Race League.
  • 2. What is Cleanflight? • Cleanflight is a open source flight controller software used by 32bit processors. • Cleanflight can be used on multirotor aircraft and fixed- wing aircraft, it supports a variety for shapes and motor counts, not limited to quadcopters, hexacopters, octocopters, tricopters and planes.
  • 3. Supported 32bit Flight Controllers • Naze32 (most popular) • AlienWii32 • CC3D • CJMCU • ChebuzzF3 F3 board (new upcoming technology) • Olimexino • Paris Air Hero • SPRacingF3 F3 board (new upcoming technology) • Sparky F3 board (new upcoming technology) • Flip32 • RMRC DODO F3 board (new upcoming technology)
  • 4. The Basics (whatwe’regoingtoneed) • Some sort of cleanflight enabled board. • Some boards require you to solder header pins on. • A computer with cleanflight installed. (http://tinyurl.com/mdek2lq ) • Sometimes a SMT32 driver is required (out of scope). • A USB Cable (to plug up the flight controller) • RC receiver and Transmitter • Battery (optional)
  • 5. Flashing • Updates newest version of cleanflight to the flight controller • Improves performance and add new features • Internet connection makes things easier but not required.
  • 6.
  • 7. Start of Basic Setup Cleanflight is broken up in tabs • Setup (general overall view of what's going on) • Ports (Ic2 and UART communication pipes) • Configuration (General Configuration) • PID Tuning (PID controllers and RC Rate) • Receiver (Receiver Monitor and Configuration) • Modes (Flight modes and other features) • Adjustments (Custom mixes) • Servos • GPS • Motors • LED Strip • Sensors • Logging • DataFlash • CLI (Command line Interface)
  • 8. Ports • Ability to setup GPS module • Ability to setup PPM receiver • Ability to setup blackbox logging • I will briefly speak about PPM receivers but I Will not go in depth, I’ve experienced a lot of issues with certain types of PPM receiver modules and the one’s I find to work the best are the Lemon RX PPM satellite receivers found here http://tinyurl.com/n8ljzds
  • 11. PID Tuning Continued • Good resource for tuning your PIDS • https://www.youtube.com/watch?v=30Au6sEv6-o
  • 13. Modes
  • 16. CLI Commands • Set looptime = 1600 (press enter) NOTE: May very from ESC to ESC. • Set Acc_lpf_factor = 100 (press enter) • Set emf_avoidance = 1 (press enter) • acc_hardware (press enter) - WARNING: ONLY DO THIS IF YOU CHOOSE NOT TO RUN AUTO LEVEL • Save (press enter)
  • 17. looptime This is the main loop time (in us). Changing this affects PID effect with some PID controllers (see PID section for details). Default of 3500us/285Hz should work for everyone. Setting it to zero does not limit loop time, so it will go as fast as possible. So basically the communication speed to your ESC’s
  • 18. Acc_lpf_factor This setting controls the Low Pass Filter factor for ACC. Increasing this value reduces ACC noise (visible in GUI), but would increase ACC lag time. Zero = no filter Smooth's out Accelerometer noise!!
  • 19. emf_avoidance Default value is 0 for 72MHz processor speed. Setting this to 1 increases the processor speed, to move the 6th harmonic away from 432MHz. Again another setting to smooth out communication speed to your processor.
  • 20. acc_hardware WARNING:ONLYDOTHISIFYOUCHOOSENOTTORUNAUTOLEVEL This is used to suggest which accelerometer driver should load, or to force no accelerometer in case gyro-only flight is needed. Default (0) will attempt to auto-detect among enabled drivers. Otherwise, to force a particular device, set it to 2 for ADXL345, 3 for MPU6050 integrated accelerometer, 4 for MMA8452, 5 for BMA280, 6 for LSM303DLHC, 7 for SPI_MPU6000, 8 for SPI_MPU6500 or 1 to disable accelerometer altogether - resulting in gyro- only operation. Another setting to improve performance of your 32bit processor.
  • 21. Setup
  • 22. That’s a Wrap Something's to note. • All flight controllers are a little different but all should function the same. • Setting loop time is based of the speed of your ESC • Always remember to take off your props when working in cleanflight. • And this picture

Editor's Notes

  1. ----- Meeting Notes (8/26/15 23:07) ----- battery