
I have now completed the Teensy Tutorials 1 through 4.
Tutorial 1 configures all the software and downloads a program using the usb connector. This program lights the onboard led.
Then Tutorial 2 lights 3 leds in a timed sequence. Then loads a program that varies the intensity of the 3 leds slowly making them brighter then dimmer. Rather clever I thought.
Tutorial 3 adds two pushbuttons which allows further control of how the leds light. On pushbutton uses a pull-up resistor while the second pushbutton is configured by the code to use a built in pull-up resistor.
Tutorial 4 adds a 10k variable resistor and reads its output to the Sketch programs Serial Output screen. I was able to configure an LM34 temperature chip on the breadboard and read its output to the Serial Output screen. I used some math to enable it to read in Fahrenheit. (5v/1023 = 0.0049; then 0.0049 * 100 provided the actual Fahrenheit reading. The 1023 is the number of divisions the analog to digital converter in the Teensy uses.) (The LM34 outputs 10mv/degree.)

All the tutorials seemed to go quite smoothly. Good instructions.
No comments:
Post a Comment