Smart Waterpack

Description

Team members: Isaac Lee, Nathan Ojong, Michael Son

A smart waterpack that utilizes the mbed LPC1768, an eTape Liquid Level Sensor, a DS18B20 waterproof temperature sensor, an Adafruit Bluefruit BLE board, speaker, audio amplifier, SD card reader, and uLCD display. The waterpack notifies the user via the speaker when the waterpack is full, empty, and when the user needs to drink (based on how much the user drank within a certain period of time). The uLCD displays the current water level percentage and water temperature. Water level percentage and water temperature are sent over bluetooth via the Bluefruit board, allowing for data to be monitored through the Bluefruit mobile app.

Shortcomings

Liquid level sensor only takes accurate readings while completely unbent, requiring that length of the tape be equal to the height of the water container. The waterpack being used with this hardware must also be rigid in order to allow for accurate liquid level readings. Overall, there are issues with the responsiveness of the liquid level sensor used in this design.

Without the DS18B20Z IC chip to correctly interpret temperature readings, the temperature sensor used in this design sometimes gave incorrect readings (i.e., -999.0 C).

Hardware

Schematic

eTape liquid level sensor

mbedliquid level sensor
p17pin 1
gndpin 2
p17pin 3
Voutpin 4

DS18B20 temperature sensor

mbedtemperature sensor
gndGND (black wire)
VuDQ (red wire)

4.7K ohm resistor between VDD (white wire) and DQ (white wire).

Adafruit Bluefruit LE UART Friend

mbedAdafruit BLE
gndgnd
(external 5V)Vin
p27 (Serial RX)TXO
p28 (Serial TX)RXI

Audio Amp (TPA2005D1)/Speaker

mbedTPA2005D1Speaker
gndpwr - (gnd), in-
external 5Vpwr +
p18in +
out ++
out --

SD Card Reader

mbedSD Card Reader
p8CS
p5DI
VoutVCC
p7SCK
GndGnd
p6D0

uLCD_4DGL

mbeduLCD HeaderuLCD Cable
5V=VU5V5V
GndGndGnd
TX=p10RXTX
RX=p11TXRX
p12ResetReset

Setup

/media/uploads/michaeljson/img_20160502_003128.jpg

Demonstration

Code

Import programmBED_smart_waterpack

An mBED smart waterpack.


Please log in to post comments.