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:
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:
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
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....