Buzzer Sample; Kitchentimer Sample; Realtimeclock Sample; Remotecontrol Sample - NEC 78K0/L 3 - See it! Series User Manual

Demonstration kit for the 78k0 l series
Table of Contents

Advertisement

78K0/Lx3 - See it!

12.1 Buzzer sample

This demonstration drives the buzzer by using the 16-Bit Timer/Event Counter 00. The timer is configured to
generate a rectangle wave-form. By changing the output frequency of the timer, different tones can be
generated by the buzzer. As demonstration a simple melody is played.

12.2 KitchenTimer sample

The kitchen timer functionality is realized by using the real time counter and the interrupt interval function.
The setting of the kitchen timer count value and the cancellation of a started count process can be done by
using the navigation switch. When the timer count time is elapsed the alarm symbol is displayed on the LCD
and additional an alarm sound is played by using the buzzer.

12.3 RealTimeClock sample

This part of the sample projects realizes a Real-Time Clock. After the program is started the real time
counter is initialized to generate an exact clock reference, based on the 32.768 kHz sub-clock. The actual
time is displayed on the LCD panel. By using the navigation switch the time can be adjusted. Additionally two
clock display modes can be chosen, the 24 hour mode or the AM/PM mode.

12.4 RemoteControl sample

The remote control sample is realized by using the IR receiver module that is equipped on the 78K0/Lx3 -
See it! board. The output terminal of the IR receiver (type RPM7138) is connected to the remote control input
pin P41/KR1/RIN of the 78K0/LF3 device. By running the sample, custom code and data code in the NEC
format that is transmitted by an external remote controller can be received. The received data is displayed
alternately 16-bit wise on the LCD panel.

12.5 Temperature sample

The temperature measurement is realized by using the onboard temperature sensor IC (type S-8120C) and
both A/D converters of the 78K0/LF3 device. Two display formats are supported degree centigrade (゚C) and
degree Fahrenheit (゚F). The selection is done by using the navigation switch. Additionally two different A/D
converter resolutions can be selected by using either the 10-bit successive approximation type A/D
converter or the 16-bit delta sigma type A/D converter of the 78K0/LF3 device.

12.6 Voltmeter sample

By running the sample either the power supply voltage of the 78K0/Lx3 - See it! board or an external voltage
supplied to the connector J2 can be measured. Before applying external voltage to connector J2 please read
the user's manual of the 78K0/LF3 device carefully to get information about the electrical specification of the
A/D converter input port. For the power supply voltage measurement the input port P25/ANI5/DS2+ is used.
For the external voltage measurement the input port P23/ANI3/DS1+ is reserved. The selection of the
different measurement sources is done by using the navigation switch. Additionally two different A/D
converter resolutions can be selected by using either the 10-bit successive approximation type A/D
converter or the 16-bit delta sigma type A/D converter of the 78K0/LF3 device.
78
User's Manual U18759EE2V0UM00

Advertisement

Table of Contents
loading

Table of Contents