Table of contents:
- Overview
- Finite State Machine Diagram
- Pre-requisites
- Project Layout
- Getting Started
- Illustrations
- Powerpoint Presentation & Video link
Overview
SmartSense is a technology aimed at detecting and displaying the Carbon Dioxide concentration (ppm), humidity and temperature. Developed using Nordic nrf52 development kit, Nordic Thingy:52 and TI Educational BoosterPack MKII kits in C language, it can be deployed by any operating system. SmartSense is great for people who like to keep a constant update of their environment's condition. The bluetooth sensor of the Nordic Thingy:52 allows us to actively update the state of the environment according to time of request. The display and joystick from the BoosterPack kit displays them in a clear and intuitive way, with the joystick allowing the user to cycle through the values the user wants to see. As an addition, the user will be notified when the air condition is too poor via a buzzing sound which can be switched off by either moving the joystick or pressing the button.
Finite State Machine Diagram
Working of MSP432 Boosterpack Developmental Kit:
Working of NordicThingy 52 and Nordic nrf 52:
Pre-requisites
Hardware
1. Texas Instruments MSP432P401R LaunchPad Development Kit
2. Nordic Thingy:52 IOT sensor kit
3. Nordic nRF52 development kit
4. Texas Instruments Educational BoosterPack MKII
5. 2 MtF jumper wires
6. Micro usb power supply for MSP432
7. Battery or micro usb power supply for the nrf52dk
Software
1. J-link software from https://www.segger.com/downloads/jlink/
2. nRF desktop application (SDK version)
3. Code composer studio
4. TI driver library
5. Visual Studio Code
Project Layout
SmartSense
|
|── Nordic #Folder for the Nordic nRF52-DK project
| |
| |── src
| | |
| | |── main.c #Main file for Nordic nRF52-DK
| |
| |──CMakeLists. txt
| |──prj.conf #File that contain which Library the project shold contain
| |──sample.yaml
|
|──Texas_Instruments #Folder for MSP432p401R and BoosterPack MKII project
| |
| |──launches
| |──settings
| |──LcdDriver #Driver needed for the LCS screen
| |──targetConfigs
| |──.ccsproject
| |──.cproject
| |──.project
| |──main.c #Main file for MSP432P401R
| |──msp432p401r.cmd
| |──startup_msp432p401r_ccs.c
| |──startup_msp432p401r.c
|
|── .gitignore
|── PowerPointPresentation.pptx
|── README.md
Getting Started
- Clone the repo using
git clone https://github.com/AffaganoIsTheWay/SmartSense.git
For the Texas Instruments MSP432 board
- Import the Texas_Instrument folder in your local CCS Workspace
- Downloand and unzip TI driver Library (https://drive.google.com/file/d/1_5TsECed3wNJpIpllxYYdD06aFbkk7Fc/view)
- Open CSS and left click on Project Folder to select Properties
- Select CSS Build
- Click ARM Compiler and then Include Opt
- Add "simplelink_msp432p4_sdk_3_40_01_02/source" directory to "Add dir to #include search path" window
- Click ARM Linker and File Search Path
- Add "simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/driverlib/ccs/msp432p4xx_driverlib.lib" to "Include library file..." window
- Add "simplelink_msp432p4_sdk_3_40_01_02/source/ti/grlib/lib/ccs/m4/grlib.a" to "Include library file..." window
- Build and flash on the TI board
For the Nordic nrf52dk Board
- Install the nRF Connect for VS Code Extension Pack (https://marketplace.visualstudio.com/items?itemName=nordic-semiconductor.nrf-connect-extension-pack)
- From the nRF connect tab install toolchain and SDK
- Download and install Segger j-link
- Open the nordic folder with VS code
- Build and Flash on the Nordic board
For the Hardware
- Connect the Educational BoosterPack to the MSP432
- Connect ports P0.08 and P0.06 of nRF52 to ports J1.4 and J1.3 of the BoosterPack board respectively using the wires
- Turn on the Nordic Thingy:52
- Turn on the Nordic nrf52dk. Make sure either it has a battery with power or is connected to a power supply via the micro usb port.
- Connect a power supply to the MSP432 board
- Ready to use!
Illustrations
Powerpoint Presentation & Video link
- Demonstration video:
- https://drive.google.com/file/d/1XCggXwoIA0TfUid-i-VX_US3aubdrWZ0/view?usp=share_link
- https://drive.google.com/file/d/1XzOkUOkOIjTKxJzbG3huXRPEt_4kFogV/view?usp=drive_link
- Power Point:
- https://github.com/AffaganoIsTheWay/SmartSense/blob/873adc31c0c6759e1cb17bd6ead0c28609d2d425/SmartSense.pdf
Colaboratores
- Giovanni Vitiello
- Trisha Agrawal
- Christian Li Sivertsen
- Federico Gasperi






