Prototype code samples

MMA7660 accelerometer (I2C). Accelerometer works at the frequency equal to 120 samples per second. Every new sample causes an interrupt and all three leds blinks after occurs every new 100 interrupts.

keil-mma7660.zip

mma7660.jpg

lpc-link-mma7660.zip (n/a)

datasheet-mma7660.pdf

mma7660.bin

LED indication based on 32-bit timer. Allowing easily adjust blinking frequency.

keil-indication.zip

indication.jpg

lpc-link-indication.zip (n/a)

indication.bin

Buzzer. Sound generated in software thus it is not the best solution for complex applications.

keil-buzzer.zip

buzzer.jpg

lpc-link-buzzer.zip (n/a)

buzzer.bin

Bluetooth board initializes to 119200 baud rate and constantly transmits char[] array. Use serial terminal that allows to test connection.

keil-bluetooth.zip

bluetooth.jpg

HC-Serial-Bluetooth.pdf

bluetooth.bin

PPG (ADC)

keil-ppg.zip (n/a)

ppg-block-diagram.pdf

USB HID

keil-usb-hid.zip(n/a)

usb-hid.pdf

TMP100 (I2C)

keil-tmp100.zip(n/a)

tmp100.pdf

Programmable gain amplifier ADS119x (SPI)

keil-ADS119x.zip(n/a)

ADS119x.jpg

Battery sense (ADC)

keil-battery.zip(n/a)

v_bat.jpg

FatFs (SPI). Writing data to micro SD could be useful for a small battery powered embedded systems. Especially then requires store megabytes of data for the further data processing. An amazing work posted by ChaN. Details can be found here: http://elm-chan.org/docs/mmc/mmc_e.html

keil-sd.zip(n/a)

micro_sd.jpg




Software code samples

USB HID is a 2.0 .NET based library that allows easily interface your embedded device over In/Out interrupt channel. VS2008 example shows how to use it by sending and receiving data. Note: For this project usb_hid.dll designed to send and receive 32 bytes.

usb-hid.dll

usb_hid_sample.zip

Digital filters (FIR)

FIR(vs2008).zip

Artificail neural network (ANN) is a powerfull paradigm inspired by biological nervous systems, like a brain. It is a structure of elements called neurons. ANN can be found in a many different areas such as face recognition in advanced vision systems or in some medical applications. With this example we demonstrate a simple ANN structure that constructs a simple 2 input 1 output logic gate.

ann(vs2008).zip




Documents

Bluetooth data send protocol bluetooth data send.pdf

Each time prototype starts it creates new file with .*ecg extension. Data stored into file in the packets SD data store protocol.pdf

USB data send receve channels. USB data data receive.txt


Links



2015 Heart Risk Warner
Contact
| info@hrwproject.com


http://www.hrwproject.com/ http://www.hrwproject.com/ http://www.hrwproject.com/