Algemene opmerkingen vooraf over Per hoofdstukje (in gedachten):
materials needed
what happens?
hardware things to do
how to run the program
Dik gedrukt: subtitel per hoofdstukje




-- e01 --
Byte wide output to I/O-port 2 wired with eigth 3mm leds. The eight leds must be placed on the breadboard with anode connected from P2.0 to P2.7 see the documentation of the Launchpad. All the kathodes are connected together and wired to ground using a 100 Ohm resistor.
The schematics and the finished project are found in the pictures above this text. The words COUNTER and RUNNER are the user words.
---
8-bit output through port-2 to eight 3mm-leds




-- e02 --
Byte output to I/O port wired with 8 leds and bit input using a switch. This example adds bit input to project 1, the leds stay on the breadboard and the switch S2 on the launchpad board is used as an input. This switch is wired to P1.3. It's action is very straightforward, when pressed the delay time is changed. The user words are also COUNTER and RUNNER .
---
Extension of chapter 1: a button to manipulate the time delay




-- e03 --
Analog to digital conversion using the internal AD converter, output to leds The leds of project 1 & 2 stay on the board, now a potentiometer of 4K7 is added.
The center wire has to be connected to P1.7 the other two wires to VCC and ground see also the added schematics & photo. The user words are SHOW-ADC1 and SHOW-ADC2 both using a different way of displaying the measured value.
---
Analog to digital conversion with the internal AD converter




-- e04 --
Connecting a wireless Bluetooth module and show received data also on the leds. The leds stay on the board, now a HC06 Bluetooth module is added. One have to solder 4 wires to the HC06 for TX/RX and VCC (3,3V) and ground. Two jumpers need to be removed, the TX and RX jumpers at J3. Connect the power for the HC06 {pin12+13} with Launchpad J6 {VCC+GND}. TX & RX from HC06 {pin1+2} with Launchpad J1 {pin3+4}. For more info see the schematics and the photo's. After typing STARTUP or pressing the reset key all communication goes thru Bluetooth. Take care that you couple the HC06 first! All received characters are displayed on the leds too.
---
The task of receiving the noForth input stream is given to a HC06 Buetooth module




-- e05 --
(using the first 3 chapters) Wireless analog datalogger combining the first three chapters to build a first application. An LDR is used as an analog sensor. This sensor is sampled 10 times every second, but only every tenth value is stored. After 20 samples are gathered they are sent back to the receiving device. The user word is DATALOGGER this program will startup after every reset. If you do not want this program to start, you also have to press S2 before pressing reset or connecting the power. More info see schematic and photo's.
---