RC Car Hack Jam Feb 2017 Temecula Murrieta Software Developers Meetup

Slides:



Advertisements
Similar presentations
Lesson Just like a movie is a constantly moving figure, it can be broken into individual frames. I may not be able to find the area of this figure.
Advertisements

Acceleration Acceleration Velocity-time graph Questions.
Aim: How can we calculate average velocity when distance is unknown? Do Now: What is the average velocity between A and B? Velocity (m/s) Time (s)
Turn in your homework in the front. Begin: Journal 9/03 1. Write the equation for distance using time and velocity. 2. Write the equation for velocity.
PARAMETRIC EQUATIONS Section 6.3. Parameter  A third variable “t” that is related to both x & y Ex) The ant is LOCATED at a point (x, y) Its location.
L-4 Free fall & constant acceleration Galileo: In the absence of air resistance, all objects, regardless of their mass, fall to earth with the same acceleration.
Particle Straight Line Kinematics: Ex Prob 2 This is an a = f(t) problem. I call it a “total distance” problem. Variations: v = f(t), s = f(t)…. A particle.
Sec 3.7: Rates of Change in the Natural and Social Sciences
Derivation of Kinematic Equations. Aim: How do we solve word problems of motion? 2-5 Due Wednesday: Read textbook pages On page 111 answer questions.
Acceleration. MEANING FORMULA = A = Acceleration V f = V i = t=
3.3 –Differentiation Rules REVIEW: Use the Limit Definition to find the derivative of the given function.
Motion 4.1 Speed and Velocity.
3.4 Velocity and Rates of Change
Linear Motion. Moving things have two different kinds of motion Linear Motion Harmonic Motion Motion is a change in position in a certain amount of time.
Motion in One Dimension Average Versus Instantaneous.
AP Physics Monday Standards: 1)a. Students should understand the general relationships between position velocity & acceleration for a particle.
Motion An object is in motion when it changes it position relative to to reference point.
Velocity and Acceleration. Velocity and Speed Velocity and speed are both how fast you are going, but velocity implies a direction (N, S, E, W) as well.
A car stops at a set of traffic lights, then moves away by the formula: d=3t 2 Draw a table of time and distance for the six seconds after the car moves.
In the original lesson we learned that a robot should move forward a specific distance for each rotation. That distance traveled is equivalent to the.
Figure 2.1. Iclicker Question #1 What is the average velocity as the car moves from point C to E? A)4 m/s B)80 m C)-80 m D)-4 m/s E)It depends on the.
ICP 1/14/13 Acceleration Intro. Warmup Draw the speed triangle, and write the three formulas that come from it.
Distance, Displacement, and Acceleration for Linear Motion Lesson 10-2.
Section 2 Acceleration.  Students will learned about  Describing acceleration  Apply kinematic equations to calculate distance, time, or velocity under.
Environmental Innovation Challenge – Funding deadline soon – Travel funds available too Business Plan Competition – Late Spring – Interdisciplinary is.
Speed-Time Graphs for Acceleration All the aspects of creating a speed-time graph are the same as creating a distance-time graph. The slope of a.
Copyright Sautter General Problem Solving Steps (1) Read the problem more than once (three of four times is preferable) (2) Decide what is to be.
1. Use the following points from a graph to determine the slope. (2,15), (8, 45) 2. What does it mean for a line to be linear? 3. On a distance/time graph,
Motion Recognizing, Describing, and Measuring Motion.
Section 1: Describing Motion. Speed Speed is how far you travel over a period of time. Speed is expressed in the formula s=d/t (speed = distance/time).
Acceleration. The rate of change in velocity Acceleration The rate of change in velocity Examples…. –Speeding up Positive acceleration –Slowing down.
VELOCITY & ACCELERATION VELOCITY *Describes both the speed & direction of an object.
How to Calculate Speed and Acceleration
5.5: Speeding up and Slowing down
Velocity and Acceleration. Velocity Describes both speed and direction of an object. Describes both speed and direction of an object. How can an object.
Kinematics: Linear Motion in One Dimension Class 1.
Acceleration Acceleration – the rate at which velocity changes  Can be an: Increase in speed Decrease in speed Change in direction.
Chap 3 – Sec 1 Rate in Mechanical Systems. Objectives Define speed, velocity & acceleration. Explain the difference between speed & velocity. Explain.
Section 2.1 How do we measure speed?. Imagine a ball being thrown straight up in the air. –When is that ball going the fastest? –When is it going the.
Acceleration a change in velocity ( speed or direction or both ) over time –speeding up or slowing down –changing direction moving in a circle is always.
 Distance vs. Displacement  Speed vs. Velocity.
Chapter 11: Motion Section 11.3 Acceleration.
A car starting from rest speeds up to 30 m/s with a constant acceleration over a time of 10 seconds. Then, it travels at 30 m/s for 10 seconds, and finally.
Motion. Motion terms and their definitions: position:distance and direction from a reference point motion:change of position over a time interval example:
Instantaneous Rate of Change The (instantaneous) rate of change of f with respect to x at a is the derivative: provided the limit exists.
Kinematics Vocabulary Units and vectors and scalars, oh my!
Graphs of a falling object And you. Objective 1: Graph a position –vs- time graph for an object falling from a tall building for 10 seconds Calculate.
Objective SWBAT use velocity-time graphs to determine an object’s acceleration.
Accumulation AP Calculus AB Days 7-8
Literacy Research Memory Challenge Skill
Midterm Review 3-1: One Type of Integral of a Function
Ch 02 Graph Worksheet Answers
Ch.5, Sec.1 – Measuring Motion
Motion Review Challenge
Worksheet Key 12/3/2018 2:39 AM 6.2: Square Root Graphs.
B C A D Velocity and Acceleration Summarizer Speed (m/s) Time (s) 60
Graphing Motion Walk Around
Angular & Linear Velocity
Get out your spirals! And write the critical questions! (right side)
Kinematics Formulae & Problems Day #1
Average Velocity Unit 8.2.
A car is decelerated to 20 m/s in 6 seconds
Literacy Research Memory Challenge Skill
Recognizing, Describing, and Measuring Motion
Distance & Acceleration Kinematic Equations
Motion Notes Part 2 Distance- Time Graphs.
Acceleration.
Linear Motion.
Recognizing, Describing, and Measuring Motion
Motion in One Dimension
Presentation transcript:

RC Car Hack Jam Feb 2017 Temecula Murrieta Software Developers Meetup Murrieta Temecula Hardware Innovators Meetup

Grand Challenge Hack an off the shelf RC car – get control of drive and steering Implement a Cypress PSoC brain to control the car Figure out how to drive the car in a square pattern

1. Hack the RC Car https://www.hackster.io/rchack/rc-car- hack-to-smart-car-cf9ffa

2. Insert the Cypres PSoC brain to control the car

3. Figure out how to drive the car in a square pattern Options: Guess at the distance travelled Estimate by empirical measurements Use Math to calculate We are going to do all three

Steps to drive the car in a square pattern Implement a PSoC program to drive forward for time t and measure the distance travelled Drive various time units and graph velocity and acceleration Use the linear velocity and acceleration values to calculate angular velocity of the wheels Measure the time it takes to make a 90 degree turn Use everything above to implement a state machine in the PSoC to drive the car in a square pattern

Implement a PSoC program to drive forward for time t and measure the distance travelled Use the existing design to figure out how to drive the car forward for 500ms Measure the distance travelled Repeat for five or six increasing intervals (1sec, 1.5sec, etc.) Graph the measurements to obtain linear velocity and acceleration estimates x = distance vl = linear velocity = x/t t = time a = acceleration = 2x/t2

Example: Time (t) sec Distance (x) ft Velocity (x/t) ft/sec Acceleration (2x/t2) (ft/sec)2 1 3 6 2 9 4.5 15 5 3.3 4 24 30 6 (terminal velocity) 2.4 Average 4.9 3.8

Worksheet for actuals: Time (t) sec Distance (x) ft Velocity (x/t) ft/sec Acceleration (2x/t2) (ft/sec)2 Average

Graph the actual measurements X t

How to calculate the distance traveled

How to travel a specific distance knowing velocity and acceleration The formula for distance as a function of v&a x = vlt + ½a2 Use algebra to isolate the time required to travel a specific distance vlt = x – ½a2 t = (x – ½a2 ) / vl Code this formula into the PSoC and test Travel 4 feet (x = 4)