User:Jpsscott/sandbox

iSense is a wearable IOT device designed by Aspire Embedded Systems (AES) for users with hearing loss. The device is based on the LPC1768 32-bit ARM Cortex-M microcontroller. The project is collaboratively developed by Engineering students at Coventry University Group.

Background
In early 2020, members of the British Deaf Association (BDA) approached part-time Electro-Mechanical Engineering students at CU Group, to ask if they could develop a wearable safety device for users who have either, been born deaf, or users that have lost there hearing as a result of illness or accident. The project was undertaken by students Allassane Guindo, Adam Mitchell and Jonathan Scott. With only a narrow timeframe of 6 weeks to work with, the students had to produce the software and hardware design of device, alongside a supporting technical report and infomercial. After conducting preliminarily research with members of the Deaf community, a prototype design was agreed to be developed to offer safety critical functions and functions that improve the users quality of life. A fictional company name, Aspire Embedded Systems and product name 'iSense' were derived.

Design Overview
Core functions of the iSense device


 * Doorbell alert system - The integrated Mbed microcontroller onboard the iSense then processes the input signal (doorbell), and sends a command to a peripheral vibrating device also integrated into the iSense device, alerting the user that they have a visitor. The iSense is also intended to flash a green light onboard and be adaptable to even communicate with and flash the house lights as further notification. This is envisaged as a basic 'quality of life' improvement
 * Combined Gas, Smoke and Heat detection system (CGSH). This feature monitors air quality and temperature. If the device measures abnormal temperatures or carbon monoxide and natural gas, the device will constantly pulsate and flash red to alert the user of the potential danger. The on-board GSM Modem will automatically dial a designated carer appointed by the user to inform them also of any potential danger.
 * The design is intended to be further developed to offer more customisable options for the user and greater IOT integration

UML
Initial design development for iSense began with the creation of UML diagrams.

UML, short for Unified Modelling Language, is a standardized modelling language consisting of an integrated set of diagrams, developed to help system and software developers for specifying, visualizing, constructing, and documenting the objects of software systems, as well as for business modelling and other non-software systems Unified Modelling Language (UML) is a type of static structure diagram that describes the structure of a system by indicating their:

•             classes,

•             their attributes,

•             operations or methods

•             and the relationships among objects.

The UML Class diagram is a graphical notation used to construct and visualize object oriented systems. A class diagram in the Unified Modelling Language is a type of static structure diagram that describes the structure of a system by showing the system.

Class Diagram below illustrate structure of the I- sense system created around mbed device connected with gas sensor, smoke sensor, temperature sensor and doorbell. Also, it demonstrate what type of feedback carer or user will receive depend of the type of notification.



UML Sequence Diagrams are interaction diagrams that detail how operations are carried out. They capture the interaction between objects in the context of a collaboration. Sequence Diagrams are time focus and they show the order of the interaction visually by using the vertical axis of the diagram to represent time what messages are sent and when.

Sequence Diagram below represent in what manner operations are carried out within i- Sense smart band device system created by engineers from AES corporation.

Proteus
The second part of developing iSense involved creating a electrical schematic in Proteus

Proteus design suite provided an intuitive platform to develop and simulate the proposed design for iSense without the need for purchasing actual hardware. The extensive component libraries gave the engineers at AES plenty of room for experimentation and the freedom to add/remove components at will.

Hardware
The proposed iSense device is based around the Mbed LPC1768 chipset and is programmed via the online C++ editor. Mbed makes device development quicker for IoT and many other embedded use cases, Mbed helped AES t to take a product from prototype to production rapidly

iSense hardware component information;

The mbed NXP LPC1768 Microcontroller in particular is designed for prototyping all sorts of devices, especially those including Ethernet, USB, and the flexibility of lots of peripheral interfaces and FLASH memory. It is packaged as a small DIP form-factor for prototyping with through-hole PCBs, stripboard and breadboard, and includes a built-in USB FLASH programmer.

It is based on the NXP LPC1768, with a 32-bit ARM Cortex-M3 core running at 96MHz. It includes 512KB FLASH, 32KB RAM and lots of interfaces including built-in Ethernet, USB Host and Device, CAN, SPI, I2C, ADC, DAC, PWM and other I/O interfaces. The pinout above shows the commonly used interfaces and their locations. Note that all the numbered pins (p5-p30) can also be used as DigitalIn and DigitalOut interfaces.

The mbed Microcontrollers provide experienced embedded developers a powerful and productive platform for building proof-of-concepts. For developers new to 32-bit microcontrollers, mbed provides an accessible prototyping solution to get projects built with the backing of libraries, resources and support shared in the mbed community.

The mbed NXP LPC1768 is one of a range of Microcontrollers based on the mbed HDK. Packaged as a small 40-pin DIP, 0.1-inch pitch form-factor, it is convenient for prototyping with solderless breadboard, stripboard, and through-hole PCBs. It includes a built-in USB programming interface that is as simple as using a USB Flash Drive. Plug it in, drop on an ARM program binary, and its up and running! It is our most full featured board and is great for all kinds of general prototyping. If you're not sure which mbed to get, this is your best choice. Mbed Features


 * NXP LPC1768 MCU
 * Cortex™-M3
 * 96MHz, 32KB RAM, 512KB FLASH
 * 10/100 Ethernet,
 * USB Host
 * USB Device
 * SPI (2)
 * I2C (2)
 * UART(4)
 * CAN 2.0
 * PWM (6)
 * ADC (6, 10 bit)
 * DAC (1, 10 bit)
 * GPIO (68)


 * Prototyping form-factor
 * 40-pin 0.1" pitch DIP package, 54x26mm
 * Drops into existing designs and applications


 * mbed HDK & SDK enabled
 * Drag-n-drop programming
 * USB Serial Port
 * CMSIS-DAP
 * Online development tools
 * Easy to use C/C++ SDK

Note the Mbed application board. This daughter board allows the Mbed LPC1768 to be directly mounted onto it and offer the below features::;ted  w


 * 128x32 Graphics
 * 5 way joystick
 * 2 x Potentiometers
 * 3.5mm Audio jack (Analog Out)
 * Speaker, PWM Connected
 * 3 Axis +/1 1.5g Accelerometer
 * 3.5mm Audio jack (Analog In)
 * 2 x Servo motor headers
 * RGB LED, PWM connected
 * USB-mini-B Connector
 * Temperature sensor
 * Socket for for Xbee (Zigbee) or RN-XV (Wifi)
 * RJ45 Ethernet conenctor
 * USB-A Connector
 * 1.3mm DC Jack input

Additional Peripherals have been sourced to provide the functionality outlined in d evl Additional Peripherals have been sourced to provide the functionality outlined in the design intent for iSense


 * Bluetooth/WIFI receiver


 * I2C extension hub


 * Vibration motor

Infomercial-
A infomercial for iSense was produced and directed by Adam Mitchell. The device has a predicted RRP of £139.99

https://www.youtube.com/watch?v=2mxfcVA1-_U&app=desktop