AS064-AIRFRSHNRREFZ
Quick Start Guide for AS064 Air Freshener
This application note describes the working of an Automatic Air Freshener, using a 10-pin RL78/G15
microcontroller and a "Single Pole Four Throw" slide switch timed at 40 minutes, 20 minutes and 10 minutes. 12
bit interval timer is used for this application. This wakes up the microcontroller from stop mode every 273 milli
seconds, to perform several operations based on the state of microcontroller.
Contents
1.
Introduction .................................................................................................................................................... 3
2.
Scope of the document ................................................................................................................................. 3
3.
AS064 Air Freshener Hardware .................................................................................................................... 3
4.
Board Design.................................................................................................................................................. 5
4.1
Schematic Diagram ............................................................................................................................... 5
4.2
Bill of Materials (BOM) ........................................................................................................................... 6
4.3
Board Layout ......................................................................................................................................... 7
5.
AS064 Air Freshener Software ..................................................................................................................... 8
5.1
Specifications ......................................................................................................................................... 8
5.2
Switch States ......................................................................................................................................... 8
5.3
Outline of Operation .............................................................................................................................. 8
5.4
Algorithm Flowchart ............................................................................................................................... 9
6.
Software Explanation .................................................................................................................................. 10
6.1
List of Constants .................................................................................................................................. 10
6.2
List of Variables ................................................................................................................................... 10
6.3
List of Functions................................................................................................................................... 10
6.4
Specification of Functions .................................................................................................................... 10
6.5
Flag Variables ...................................................................................................................................... 11
7.
Software Overview ....................................................................................................................................... 12
7.1
Debugging using CS+ .......................................................................................................................... 12
7.2
8.
Device Setup ................................................................................................................................................ 16
9.
Typical Performance Graphs ...................................................................................................................... 17
10. Ordering Information ................................................................................................................................... 18
11. Revision History .......................................................................................................................................... 18
Doc Number Rev.1.00
Oct 25, 2024
User Manual
Page 1
© 2024 Renesas Electronics
Need help?
Do you have a question about the AS064 and is the answer not in the manual?
Questions and answers