Skip to main content
Project Based Engineering Instrumentation
High Level Coding and Microcontrollers
Carlos Montalvo, Marine Feron Leabeater, Lisa Schibelius
Contents
Search Book
close
Search Results:
No results.
Dark Mode
Prev
Up
Next
\(\newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\R}{\mathbb R} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \definecolor{fillinmathshade}{gray}{0.9} \newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}} \)
Front Matter
1
Current Edition
2
Manuscript Changes
3
Changes Needed and Future Project Ideas
Colophon
1
Introduction
2
Course Description
3
Project Based Engineering
3.1
Project Schedule
3.2
Specific Final Project Requirements
3.3
Project Examples
3.4
Pitot Probe Example
3.4.1
Diagrams
3.4.2
Electrical Subsystem
3.4.3
Software Subsystem
3.4.4
Mechanical Subsystem
3.4.5
Preliminary Diagrams
3.4.6
Detailed Design
3.4.7
Critical Design Review (CDR)
3.4.8
Subsystem Testing
3.4.9
Test Readiness Review (TRR) and Systems Verification Review (SVR)
3.5
Extra Help
4
Purchase Equipment
4.1
CircuitPython Kit
4.2
Arduino Kit
4.3
Extra Help
4.4
Assignment
5
Plotting
5.1
Python IDEs
5.1.1
Thonny
5.1.2
Spyder
5.1.3
Setting up the IDE
5.1.4
Scripting
5.2
Other Plotting Tools
5.2.1
Google Colab
5.2.2
Octave
5.2.3
Google Sheets
5.3
Extra Help
5.3.1
Built-In Help Function and dir()
5.4
Assignment
6
Setting up your Microcontroller
6.1
Setting up the CPX/CPB
6.2
TL;DR / Extra Help for the CPX/CPB
6.3
Setting up an Arduino
6.4
Assignment
7
Help
7.1
Updating your Bootloader
7.2
Installing Modules
7.3
Reformatting your CPX/CPB
7.4
Using an I2C Scanner
7.5
Common Mishaps
7.6
Extra Help
8
External LEDs and Push Buttons
8.1
LED with no Code
8.2
LED with a push button
8.3
LED with code
8.4
LED with CPX button
8.5
Extra Help
8.6
Assignment
9
Logging Data
9.1
Initial Setup
9.2
Method 1 - Copying Serial Monitor Data
9.3
Method 2 - Automatically Populate a Spreadsheet
9.4
Method 3 - Logging Data Directly to on board memory
9.5
Method 4 - Logging Data on a Cell Phone using Bluetooth (CPB Only)
9.6
Method 5 - Logging Data to an SD Card
9.7
Method 6 - Logging Data via Serial
9.8
Plotting Logged Data
9.9
Extra Help
9.10
Assignment
10
Bluetooth Logging - Method 4
10.1
Setup
10.2
Extra Help
10.3
Assignment
11
SD Card Logging - Method 5
11.1
Setting up the CPX/CPB
11.2
Setting up the Arduino
11.3
Assignment
12
Logging with Serial - Method 6
12.1
Serial Setup
12.2
Extra Help
12.3
Assignment
13
Potentiometer
13.1
Setup
13.2
Extra Help
13.3
Assignment
14
Pitot Probe
14.1
Setup
14.2
Extra Help
14.3
Assignment
15
Built-In Sensors
15.1
Low Level Control
15.1.1
Light
15.1.2
Sound
15.1.3
Temperature
15.1.4
Accelerometer
15.2
High Level Control
15.3
Extra Help
15.4
Assignment
16
Integrating Acceleration
16.1
Setup
16.2
Extra Help
16.3
Assignment
17
Pedometer
17.1
Gathering Accelerometer Data
17.2
Computing Number of Steps: Post-Processing
17.3
Computing Number of Steps: Online
17.4
Assignment
18
Statistics using Photocells
18.1
Taking Data
18.2
Statistics of your Data
18.3
Extra Help
18.4
Assignment
19
Servo Control
19.1
Moving the Servo
19.2
Servo Calibration
19.3
Feedback Control
19.3.1
Example Feedback Control System
19.3.2
Second Order Pitch Dynamics
19.3.3
First Order Velocity Dynamics
19.4
Extra Help
19.5
Assignment
19.5.1
Part 1
19.5.2
Part 2
20
Time Constant of a Thermistor
20.1
Initial Setup
20.2
Estimating the Time Constant
20.3
Assignment
21
Second Order Systems and Aliasing
21.1
Setup Pendulum Example
21.2
Estimating Parameters
21.3
Aliasing
21.4
Extra Help
21.5
Assignment
22
Inertial Measurement Unit
22.1
CPX/CPB Wiring and Software
22.2
Arduino Wiring and Software
22.3
Assignment
23
Barometers
23.1
LPS Setup
23.2
CPB Wiring and Software
23.3
Arduino Wiring and Software
23.4
Converting Pressure to Altitude
23.5
Data from a Rocket Launch
23.6
Extra Help
23.7
Assignment
24
Global Positioning System (GPS)
24.1
GPS Setup
24.2
CPB Wiring and Software
24.3
Arduino Wiring and Software
24.4
GPS Receiver and Sentence Explanation
24.5
Results from an aircraft flight
24.6
Extra Help
24.7
Assignment
25
Load Cells
25.1
Load Cell Setup
25.2
CPX/CPB Wiring and Software
25.3
Arduino Wiring and Software
25.4
Assignment
26
Results and Discussion
26.1
Data Collection and Analysis
26.2
Results
26.3
Discussion
26.4
Limitations of Findings
27
Conclusions
28
Acknowledgements
Back Matter
References
Section
7.6
Extra Help
I have a youtube video where I
update the bootloader on a CPB
[50]
That may help you if youโre having trouble following the bootloader tutorial above.
๐
๐