TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 42

MODULE, BLUETOOTH, DATA ACQUISITION

TOOTHPIC

Manufacturer Part Number
TOOTHPIC
Description
MODULE, BLUETOOTH, DATA ACQUISITION
Manufacturer
RF Solutions
Datasheet

Specifications of TOOTHPIC

Svhc
No SVHC (15-Dec-2010)
HappyTerminal Firmware Solution
Description
HappyTerminal is an example of a commercial application using ToothPIC. It is a terminal emulator for
monitoring and injecting TTL-level serial data in digital electronic circuits and prototypes.
FlexiPanel User Interface Server so that any Bluetooth-equipped Windows PC or Pocket PC can act as the
user interface. HappyTerminal features in the September 2005 edition of Circuit Cellar.
Executing the Finished Application
The HappyTerminal firmware solution is a fully documented commercial product. The documentation is
included in the development kit as the file HappyTerminal.pdf.
documentation to execute and explore the product. Note how the documentation includes:
User Interface Development in FlexiPanel Designer
The User Interface is defined in the file HappyTerminalRes.FxP. The main screen is actually composed of
20 individual text controls for the main blue portion of the screen and 20 individual text controls for the debug
portion of the screen. Settings data is stored in EE memory so that it is retained when power is removed.
In the Pocket PC layout, the Debug controls overlay the main text controls.
Debug controls are placed to the right of the main text controls. This is because Windows is less reliable in
placing child windows correctly.
Smartphone and Java phones because the user interface is too complex.
A separate settings dialog is used to adjust HappyTerminal configuration.
Application Development in MPLAB
If you wish to customize the HappyTerminal firmware, you will need to use the MPLAB development
environment.
Development and study the Hello World firmware solutions.
The application code for the HappyTerminal firmware solution is extensive and the entire project is in the
development kit. The most important files to note are the application source code file HappyTerminal.c
and the Designer-generated macros header file HappyTerminalRes.h. The key features of the source
code are discussed below.
Static variables and Declarations
Prior to the main() function in HappyTerminal.c:
Page 42
• 1-page summary with ordering information – Allows the front page to be used as an information leaflet.
• Pin descriptions – Summarizing the function of each pin.
• Configuration guide – Including very simple schematic diagrams, as many users may be beginners.
• Usage guide – Indicating how to operate HappyTerminal.
• Settings guide – Indicating how to change from the default settings.
• Mechanical data – To assist in PCB layout.
• Technical specifications.
• FCC / CE / IC Modular Approval – device labeling requirements.
• Patents apply and/or pending – All products incorporating ToothPIC are implicitly protected by
• Static variables are declared, including a receive buffer to store bytes as they are received but before
FlexiPanel’s patents and patent applications.
they have been processed.
9-Apr-06
If you have not already done so, please first read the section Guide To MPLAB C18
Toothpick 3.0.00007
No attempt has been made to make the user interface suitable for
DS380-8
© FlexiPanel Ltd
Patents apply and/or pending
Follow the instructions in the
In the Windows layout, the
www.FlexiPanel.com
It uses the

Related parts for TOOTHPIC