IoT PROJECT
POSTMORTEM
MARABESI
● PROJECT INTRO
● CHALLENGES
● COMPONENTS
● PROBLEMS FACED
● CONTRIBUTIONS
● FUTURE WORKS
BRIEF PROJECT
INTRO
REQUIRED
FEATURES
● Detect movement
● Alarm
● Track current position
● Send data in real time
CHALLENGES
REAL TIME
COMMUNICATION
GPS TRACKING
INTERACT WITH
EXISTING
HARDWARE
STARTING FROM
SCRATCH
ARCHITECTURAL
DECISIONS
ARDUINO
UNO
PROS
- Microcontroller
- Cheap
- Great open source community
- Fast boot
- Easy to improve hardware capabilities (ROM/
sketch size)
CONS
- C/C++ only
RASPBERRY
PI
PROS
- Cheap
- Great open source community
- Multi program languages support
CONS
- Micro computer
- Longer boot time
- Micro SD
Message Queue Telemetry Transport
PROS
- Quick setup (Web server + programming language)
- Widely used
- Send data and fetch at the same time
- Open source library available
CONS
- Client/Server communication (ping all the time)
- Must have HTTP protocol
- Send data and fetch at the same time
- Ping all the time
PROS
- Quick setup (Mosquitto server)
- Publisher/Subscribe pattern
- Lightweight protocol
- Open source library available
- On demand
CONS
- Not widely used
- SSL support (not so easy)
https://nodered.org
COMPONENTS
SIM
800L
PROS
- Cheap
- SIMCOM AT commands compatible
- Open source library available
CONS
- Antenna
- Outdated
NEO
GPS
6M
PROS
- Accurate precision
- Cheap
- Replaceable antenna
- Open source library available
CONS
- Long cold start (sometimes)
- Tricky to get used to (indoor)
RELAY
PROS
- Easy to use (Pin HIGH/LOW)
CONS
- Noisy
- Limited lifetime
ACCELEROMETER
6050
PROS
- Open source library available
- Cheap
- Gyroscope builtin
LM2596
PROBLEMS WE
FACED ALONG
THE WAY
ARDUINO ASYNC (NON BLOCKING)
CONNECTIVITY2G/ 3G/ 4G
ARDUINO UNO
OUT OF MEMORY
BATTERY
CONTRIBUTIONS
Setting up GPS NEO 6 sensor
https://marabesi.com/post/raspberry/2018/02/07/setting-up-gps-neo6-sensor.html
SIM800L tracking your IoT device
https://marabesi.com/posts/2018/02/16/sim800l-tracking-your-iot-device.html
FUTURE WORKS
MAYBE?
MARABESI

IoT Project postmortem