Videos testing out Freescale Cup kit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Videos testing out Freescale Cup kit

Videos testing out Freescale Cup kit

Couple of new videos.

This time I am running the FRDM-TFC library demo code written by Eli Hughes without any change at all-- successfully on my car.

I have had the 0 ohm R24 res replaced with a higher one thanks to the soldering skills of David DiCarlo!

The first video highlights demo modes 0 through 3:

Car demos - YouTube

Demo 0- test buttons and switches

Demo 1- test servo

Demo 2- test motors

Second, I was able to get my little o-scope (xprotolab) to capture the camera analog out-- here:

Camera testing - YouTube

No major coding done but I understand the library and ports on the boards much better now.   Still haven't resolved the 'whining' apparent when I enable the H-bridge but I will try a few things this week-- it is possible it is harmless.

Next steps, buffering camera data then on to control loops!

Daniel

Oh, I was also able to get the serial port working while code was running so I could get some dynamic feedback.

This document was generated from the following discussion: Videos testing out Freescale Cup kit

Labels (1)
Comments

The "whining" you are hearing is the switching currents through the motor.    There is a macro in the code that sets the switching frequency of the PWM/H-Bridge Circuit.     I think the default tis 4KHz :-)

In my car I modulate in real-time to "hear" different stuff to debug the car....

%3CLINGO-SUB%20id%3D%22lingo-sub-1112904%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EVideos%20testing%20out%20Freescale%20Cup%20kit%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1112904%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECouple%20of%20new%20videos.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThis%20time%20I%20am%20running%20the%20FRDM-TFC%20library%20demo%20code%20written%20by%20Eli%20Hughes%20without%20any%20change%20at%20all--%20successfully%20on%20my%20car.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EI%20have%20had%20the%200%20ohm%20R24%20res%20replaced%20with%20a%20higher%20one%20thanks%20to%20the%20soldering%20skills%20of%20David%20DiCarlo!%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThe%20first%20video%20highlights%20demo%20modes%200%20through%203%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DttrPzk_6K9g%22%20title%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DttrPzk_6K9g%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ECar%20demos%20-%20YouTube%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EDemo%200-%20test%20buttons%20and%20switches%3C%2FP%3E%3CP%3EDemo%201-%20test%20servo%3C%2FP%3E%3CP%3EDemo%202-%20test%20motors%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ESecond%2C%20I%20was%20able%20to%20get%20my%20little%20o-scope%20(%3CA%20href%3D%22http%3A%2F%2Fwww.gabotronics.com%2Fdevelopment-boards%2Fxmega-xprotolab.htm%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Exprotolab%3C%2FA%3E)%20to%20capture%20the%20camera%20analog%20out--%20here%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dc4M_7pOCWi0%22%20title%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dc4M_7pOCWi0%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ECamera%20testing%20-%20YouTube%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ENo%20major%20coding%20done%20but%20I%20understand%20the%20library%20and%20ports%20on%20the%20boards%20much%20better%20now.%26nbsp%3B%26nbsp%3B%20Still%20haven't%20resolved%20the%20'whining'%20apparent%20when%20I%20enable%20the%20H-bridge%20but%20I%20will%20try%20a%20few%20things%20this%20week--%20it%20is%20possible%20it%20is%20harmless.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ENext%20steps%2C%20buffering%20camera%20data%20then%20on%20to%20control%20loops!%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EDaniel%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EOh%2C%20I%20was%20also%20able%20to%20get%20the%20serial%20port%20working%20while%20code%20was%20running%20so%20I%20could%20get%20some%20dynamic%20feedback.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThis%20document%20was%20generated%20from%20the%20following%20discussion%3A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fthread%2F311423%22%20target%3D%22_blank%22%3EVideos%20testing%20out%20Freescale%20Cup%20kit%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1112904%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EFreescale%20Cup%20Content%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1112905%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Videos%20testing%20out%20Freescale%20Cup%20kit%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1112905%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20%22whining%22%20you%20are%20hearing%20is%20the%20switching%20currents%20through%20the%20motor.%26nbsp%3B%26nbsp%3B%26nbsp%3B%20There%20is%20a%20macro%20in%20the%20code%20that%20sets%20the%20switching%20frequency%20of%20the%20PWM%2FH-Bridge%20Circuit.%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20I%20think%20the%20default%20tis%204KHz%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIn%20my%20car%20I%20modulate%20in%20real-time%20to%20%22hear%22%20different%20stuff%20to%20debug%20the%20car....%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎08-28-2013 12:29 PM
Updated by: