This is the first version of the mbed program for the Smart Car Seat developed by the Smart Car Seat Team of GaTech Design Expo Spring 2017.
Dependencies: Adafruit_FONA FSR SDFileSystem mbed
You are viewing an older revision! See the latest version
Homepage
Team Members¶
Bryan Bates – OBD/Bluetooth System
Robert Dunkin – Physical Wiring/Power
Jgenisius Harris – Cooling System
Jea Du Kim – Sensor System
Emily Pitts – Smartphone Application
Tyler Woei-A-Sack – GSM Communications
Advisor¶
Dr. Mick West
Overview¶
The purpose of this project was to design a child’s safety car seat with Internet of Things capabilities and a cooling system that activates in the case of an emergency. It is comprised of a network of sensors, a wireless notification system, and a cooling system.
How Does It Work¶
The Smart Car Seat is initially set up using a smartphone application where the user inputs their phone number. The number is saved to an SD card and is read by the GSM module when it sends the text messages. If the infrared thermometers read a critical temperature and the force sensitive resistors detect someone, the cooling system will turn on and a text message will be sent to the phone number on file.
Components¶
Force Sensitive Resistors¶
MLX90614 IR Thermometers¶
SD Card Reader¶
GSM Module¶
mbed | Adafruit FONA |
---|---|
nc | Bat |
GND | GND |
nc | SPKR+ |
nc | SPKR- |
p12 | Rst |
nc | PS |
GND | Key |
p11 | RI |
p14 (Serial RX) | TX |
p13 (Serial TX) | RX |
nc | NS |
Vout (3.3V) | Vio |
This project used the FONA 800 MiniGSM provided from Adafruit. Any additional documentations, information, and project libraries can be found at the Adafruit FONA 800 Project page.
Import library
Data Structures |
|
class | EventListener |
Listener for FONA events.
More...
|
|
Public Member Functions |
|
Adafruit_FONA (PinName tx, PinName rx, PinName rst, PinName ringIndicator) | |
Create instance of the
Adafruit_FONA
.
|
|
bool | begin (int baudrate) |
Built-in Test to see if FONA is connected.
|
|
void | setEventListener ( EventListener *eventListener) |
Set the event listener for incoming calls.
|
|
int | readable (void) |
Check if FONA has anything in its output buffer.
|
|
bool | getADCVoltage (uint16_t *v) |
Get ADC voltage from external pin.
|
|
bool | getBattPercent (uint16_t *p) |
Get battery percentage level.
|
|
bool | getBattVoltage (uint16_t *v) |
Get battery voltage level.
|
|
bool | unlockSIM (char *pin) |
Unlock SIM if needed.
|
|
uint8_t | getSIMCCID (char *ccid) |
Get the SIM chip card interface device (CCID)
|
|
uint8_t | getNetworkStatus (void) |
Get the Network Status of FONA.
|
|
uint8_t | getRSSI (void) |
Get the RSSI of the network signal.
|
|
uint8_t | getIMEI (char *imei) |
Get the International Mobile Station Equipment Identity (IMEI)
|
|
bool | setAudio (uint8_t a) |
Set the Audio Output interface.
|
|
bool | setVolume (uint8_t i) |
Set the Audio Volume.
|
|
uint8_t | getVolume (void) |
Get the Audio Volume.
|
|
bool | tuneFMradio (uint16_t station) |
Tune the FM radio.
|
|
bool | FMradio (bool onoff, uint8_t a=FONA_HEADSETAUDIO) |
FM radio set output.
|
|
bool | setFMVolume (uint8_t i) |
Set the FM Radio Volume.
|
|
int8_t | getFMVolume () |
Get the FM Volume.
|
|
int8_t | getFMSignalLevel (uint16_t station) |
Get the FM signal strength.
|
|
bool | setSMSInterrupt (uint8_t i) |
Set the SMS Interrupt.
|
|
uint8_t | getSMSInterrupt (void) |
Get SMS Interrupt Setting.
|
|
int8_t | getNumSMS (void) |
Set the SMS Interrupt.
|
|
bool | readSMS (uint8_t i, char *smsbuff, uint16_t max, uint16_t *readsize) |
Read SMS.
|
|
bool | sendSMS (char *smsaddr, char *smsmsg) |
Send SMS.
|
|
bool | deleteSMS (uint8_t i) |
Delete SMS.
|
|
bool | getSMSSender (uint8_t i, char *sender, int senderlen) |
Send SMS.
|
|
bool | enableNetworkTimeSync (bool onoff) |
Enable FONA to sync time with the cellular network.
|
|
bool | enableNTPTimeSync (bool onoff, const char *ntpserver=0) |
Enable FONA to sync time with the time server.
|
|
bool | getTime (char *buff, uint16_t maxlen) |
Retrieve the current time from the enabled server.
|
|
bool | setPWM (uint16_t period, uint8_t duty=50) |
Control the buzzer capability of the PWM out on the FONA.
|
|
bool | callPhone (char *phonenum) |
Call a phone.
|
|
bool | hangUp (void) |
Hang up a phone call.
|
|
bool | pickUp (void) |
Answer a phone call.
|
|
bool | callerIdNotification (bool enable) |
Enable/disable caller ID.
|
|
bool | incomingCallNumber (char *phonenum) |
Retrieve the incoming call number.
|