dev_phdc_weighscale
Overview
The USB PHDC WeighScale application is a simple demonstration program based on the MCUXpresso SDK. It is enumerated as a weight scale device and the HealthLink software is used to interact with this device to simulate the personal weight scale data, such as body mass and body mass index.
System Requirement
Hardware requirements
Mini/micro USB cable
USB A to micro AB cable
Hardware (Tower module/base board, and so on) for a specific device
Personal Computer (PC)
Software requirements
The project files for lite version example are in:
<MCUXpresso_SDK_Install>/boards//usb_examples/usb_device_phdc_weighscale_lite/ / .
For non-lite version example, the path is:
<MCUXpresso_SDK_Install>/boards//usb_examples/usb_device_phdc_weighscale/ / .
The
is Bare Metal or FreeRTOS OS.
The HealthLink software installed in Personal Computer(PC)
Getting Started
Hardware Settings
Set the hardware jumpers (Tower system/base module) to default settings.
Prepare the example
Download the program to the target board.
Connect the target board to the external power source (the example is self-powered).
Power off the target board. And then power on again.
Connect a USB cable between the Host and the USB device port of the board.
For detailed instructions, see the appropriate board User’s Guide. this example could be tested with the “usb_host_phdc_manager” example in pairs.
Run the example in Windows
Prepare one board that run usb_host_phdc_manager example work as host.
Prepare one target board which is running the “usb_device_phdc_weighscale” example to work as device, plug into the host . The state of the device and the received data will show up on host phdc serial terminal.Open the host serial terminal, the data received from device phdc will be printed as following.
*/
Supported Boards
EVKB-IMXRT1050
MIMXRT1060-EVKB
MIMXRT1170-EVKB
MIMXRT1060-EVKC
EVK-MIMXRT1010
EVK-MIMXRT1015
EVK-MIMXRT1020
MIMXRT1024-EVK
MIMXRT1040-EVK
EVK-MIMXRT1064
MIMXRT1160-EVK
MIMXRT1180-EVK
EVK-MIMXRT595
EVK-MIMXRT685
FRDM-K22F
FRDM-K32L2B
FRDM-K32L3A6
FRDM-MCXA153
FRDM-MCXA156
FRDM-MCXA276
FRDM-MCXC242
FRDM-MCXC444
FRDM-MCXN236
FRDM-MCXN947
FRDM-RW612
LPCXpresso51U68
LPCXpresso54628
LPCXpresso54S018
LPCXpresso54S018M
LPCXpresso55S28
LPCXpresso55S36
LPCXpresso55S69
MCX-N5XX-EVK
MCX-N9XX-EVK
MIMXRT685-AUD-EVK
MIMXRT700-EVK
RD-RW612-BGA