Examples

 EQUIPMENT:   EduKit84 
 + emulator 
 EduKitBeta 
 + MU Beta 
 PVK40 
 + programmer 
 PVK40 
 + K2 + MU Beta 
Level I - core and basic I/O operation
01 - Wire
Value of the input pin is copied to the output pin, demonstrated by the LED on if the pushbutton is pressed.
16F84A
(ASM, C)
16F84A
(ASM, C)
16F877/A (ASM, C)
18F4520 (ASM)
16F84A
(ASM, C)
02 - Blink
LED will blink independently.
16F84A
(ASM, C)
16F84A
(ASM, C)
16F877/A (ASM, C)
18F4520 (ASM)
16F84A
(ASM, C)
03 - Blinking
LED will blink until pushbutton is not pressed. Use the internal timer.
16F84A
(ASM, C)
16F84A
(ASM, C)
16F877/A (ASM, C)
18F4520 (ASM)
16F84A
(ASM, C)
04 - Display
If one of eight pushbuttons is pressed, the display shows 1 - 8.
16F84A
(ASM, C)
- 16F877/A (ASM, C)
18F4520 (ASM)
16F84A
(ASM, C)
05 - Counter
Counter 0 - 9999, using the LED display which increments its value with 1 second period.
16F84A
(ASM, C)
16F84A
(ASM, C)
16F877/A (ASM, C)
18F4520 (ASM)
16F84A
(ASM, C)
Level II - basic peripheral control
20 - A/D Converter
Use onboard photosensor to control LED blinking frequency.
- - 16F877/A (ASM, C)
18F4520 (ASM)
16C710
(ASM)
21 - A/D Converter 2
The LED display shows 0 - 1023 (0 - 255) in dependence on trimmer 1 position.
- 16C710
(ASM)
16F877/A (ASM, C)
18F4520 (ASM)
16C710
(ASM)
22 - Analogue Comparator
The LED display shows "Hi" or "Lo" in dependence on trimmer 1 and trimmer 2 position.
- 16C710
(ASM)
16F877/A (ASM, C)
18F4520 (ASM)
-
23 - Serial EEPROM 93xx
Use 3-wire EEPROM to store last LED display state. Use Synchronous Serial Port (SSP) peripheral.
- - 16F877/A (ASM, C)
18F4520 (ASM)
-
24 - Serial EEPROM 93xx
Use 3-wire EEPROM to store last LED display state. Use software solution.
- - 16F877/A (ASM, C)
18F4520 (ASM)
16F627
(ASM, C)
25 - Serial EEPROM 24xx
Use I2C EEPROM to store last LED display state. Use Synchronous Serial Port (SSP) peripheral.
- - 16F877/A (ASM, C)
18F4520 (ASM)
-
26 - Serial EEPROM 24xx
Use I2C EEPROM to store last LED display state. Use software solution.
- 16F627
(ASM, C)
16F877/A (ASM, C)
18F4520 (ASM)
16F627
(ASM, C)
27 - Thermometer
Use onboard temperature sensor.
- 16F627
(ASM, C)
16F877/A (ASM, C)
18F4520 (ASM)
-
28 - PWM
Use PWM output to generate tones.
- 16F627
(ASM, C)
16F877/A (ASM, C)
18F4520 (ASM)
16F627
(ASM, C)
29 - Sound-level-meter
Use microphone to measure sound level.
- - 16F877/A (ASM, C)
18F4520 (ASM)
16C710
(ASM)
30 - LCD
Print "Hello, World!" on LCD module.
- - 16F877/A (ASM, C)
18F4520 (ASM)
16F627
(ASM, C)
31 - Infra-Red proximity sensor
Use onboard IR LED and IR receiver.
- - 16F877/A (ASM, C)
18F4520 (ASM)
16F627
(ASM, C)
32 - UART Tx
Send "Hello, World!" to PC serial port.
- 16F627
(ASM, C)
16F877/A (ASM, C)
18F4520 (ASM)
16F627
(ASM, C)
33 - UART Rx
Display received data on LED display.
- 16F627
(ASM, C)
16F877/A (ASM ,C)
18F4520 (ASM)
-
Level III - complex examples
50 - Electronic piano
Use PWM output to generate tones
- - 16F877/A (ASM, C)
18F4520 (ASM)
-
51 - Alarm clock
Use PWM output to generate tones
- 16F627
(ASM, C)
16F877/A (ASM, C)
18F4520 (ASM)
-
52 - Security alarm
Trigger alarm when sudden change of light, temperature or sound condition is detected. Use  4  digit code to arm/disarm the system.
- -
16F877/A (ASM, C)
18F4520 (ASM)
-
53 - Infra-Red Receiver
Universal IR remote decoder, compatible with IRAMP/IRMAN.
- - 16F877/A (ASM, C)
18F4520 (ASM)
-
54 - Sound Recording
Record short voice message and transfer it to PC.
- - 16F877/A (ASM, C)
18F4520 (ASM)
-