Mechatronics Exercises IoT Sensor Bundle Aalto University Professor: Panu Kiviluoma Spring 2015 By: Oriol Ala Puig Bijan Bayat Mokhtari Jonas Eklöf Max Johansson Hyunsoo Kim Pontus Salminen Table of Contents IoT Sensor Bundle .......................................................................................................................... 3 Introduction ..................................................................................................................................... 3 Starting point ................................................................................................................................... 3 Realization ...................................................................................................................................... 4 Component selection ............................................................................................................... 4 Prototyping .............................................................................................................................. 4 Coding ..................................................................................................................................... 4 Building of electronics ............................................................................................................ 5 Testing..................................................................................................................................... 5 Schedule ...................................................................................................................................... 5 Documentation ................................................................................................................................ 6 Budget ............................................................................................................................................. 6 IoT Sensor Bundle Introduction The objective of the project is to develop a prototype of a sensor bundle user product that connects to the internet and send/receive information, also known as Internet of Things. The bundle will consist of the most common sensors suitable for daily use around the house that are Arduino compatible. Starting point As of now, the team finished concept generation and is in procurement phase. The desired components that the team members deemed necessary for the project have been ordered online from a Finnish website. There are however problems ahead of the team. The problems that can be predicted are: No extensive experience in programming and electronics means a steep learning curve Since the project is mostly centered about programming a single code, role definition of team members is fuzzy and hence all team members, at least in the beginning, should work together at the same time until more clearly defined tasks are created A large team of 6 people with different schedules is hard to bring together and manage … The targets set for the project are as follows: Primary target: Develop a functioning sensor bundle prototype by the deadline, Mechatronics Circus. o The prototype should be able to: 1. connect to the internet, 2. receive commands as to which sensor to initiate, 3. initiate the desired sensor, collect, filter/amplify/hold, and compute the collected data and, 4. send the data over the internet to a webpage and/or smartphone app Secondary target after the primary target is achieved before the hard deadline: Streamline the code and make it more efficient Develop a PCB with the desired sensors that is very compact Package the device in a small ,user friendly, and attractive pack Incorporate wireless charging capability Realization Component selection The components (sensors and micro controllers) have been chosen based on these factors: Use of the sensor on a daily basis around the house and its application Compatibility of the sensor with Arduino micro controllers Availability Price Size … The selected components have been ordered from a Finnish supplier, robomaa.com. The components are as follows: Table 1: Components ordered Item LSM9DS0 IMU Breakout - 9DoF Carbon Monoxide & Flammable Gas Sensor MQ-9 + Sensor Carrier Sound Detector Si7021 Temperature and Humidity Sensor Adafruit CC3000 WiFi Shield with Onboard Ceramic Antenna Digital Distance Sensor with GP2Y0D810Z0F PIR Motion Sensor Module Vibration Motor Quantity Price (€) 1 32.90 1 9.00 1 11.90 1 18.90 1 40.90 1 9.00 1 10.00 1 7.00 sum 139.60 Prototyping The prototyping will be done crudely on a breadboard for proof of concept. Once the readings are mapped and dialed down a second prototype consisting of a better arrangement of sensors, cleaner set up, and 3D printed case will be created. Third prototype will be of the new sensor bundle that has been printed on a circuit board. This prototype will be much smaller and will consist of better electronics with a much smaller footprint. Coding The main task in this project is coding. This means that all of the team members have to learn and code at some point during the project. As of now, Max Johansson is the member with most experience in programming for Arduino. He will be the main programmer, assign coding responsibility to members, and assist them whenever necessary. Building of electronics In the first prototype, the sensors and micro controllers will be attached together on a breadboard. Once the connections are confirmed and functional, and if the project is ahead of schedule, a PCB will be designed and printed with the sensors incorporated into it. The team might need some external help at this stage as they have minimal experience with electronics. Testing Regular testing will be conducted throughout the project as it is necessary to see if the connections are right and if the sensors are working correctly. Sensors will also have to be tested in specific environments and situations to map the values to desired range. Schedule The team has decided on a rough schedule. Since the responsibilities and exact tasks are not yet known, the dates can only be estimated. The existing schedule will be modified concurrently throughout the project to reflect exact projections and estimates. Figure 1: Project schedule Gantt chart Figure 2: Project network diagram Documentation Meeting minutes are documented at each meeting. The team shares a Google Drive where the documents are made available to all. Further documents will be collected and organized along the way. Budget Current estimate is only for the components that are needed to buy. The estimate so far is 139.60 €. Further expenses will most likely occur along the way such as component replacement, extra sensors, material, and service cost.