Skip navigation
IoT on Wheels Design Challenge Smart Drive Project Index IOT on Wheels Design Challenge - Smart Drive - Introduction - Blog #1 IOT on Wheels Design Challenge - Smart Drive - First Steps with mbed os - Blog #2 IOT on Wheels Design Challenge - Smart Drive - Exploring MEMS board X-NUCLEO-IKS01A2 with Unicleo-GUI - Blog #3 IOT on Wheels Design Challenge - Smart Drive - Exploring STM32CubeMx - Blog #4 IOT on Wheels Design Challenge - Smart Drive - Connecting GPS - Blog #5 IOT on Wheels Design C ...
IOT on Wheels Design Challenge - Smart Drive - Project IndexNeed For SpeedAfter some testing, I've realized that I need to know speed and heading as well. Speed is required in context of fall detection. Free Fall detection algorithm, which leverages LSM6DSL sensor data, is optimized for walking and not for driving (bicycle). So to reduce false positives I need to correlate speed and LSM6DSL sensor data to accurately predict falls.   Need For DirectionRoad participants moving on the same roa ...
IOT on Wheels Design Challenge - Smart Drive - Project IndexBye Bye Breadboard As I achieve a lot of progress in the last two weeks I've started preparation to move outside from my lab. But all components (Nucleo board, expansion boards, GPS receiver) and my breadboard require some packaging, so they can work on the road. The first thing was to drop the breadboard as it was the biggest part. I've reused a cable from an old PC. The cable terminals has a nice spacing, that fit very well USB ser ...
IOT on Wheels Design Challenge - Smart Drive - Project IndexConnecting Nucleo STM32L476RG USART3 Serial Port with GPS Receiver In one of my previous blog posts I've described how to connect GPS receiver to the Nucleo board using STM32CubeMX tool and STM32Cube libraries.But I've realized that STM32CubeMX is not aware of Nucleo Expansion Boards. As result, I switched back to MBed platform. I was not sure if USART3 TX and RX still going to work with my Nucleo board connected to two expansion boards ...
IOT on Wheels Design Challenge - Smart Drive - Project IndexThe STM32CubeMX Wall  In the end of my previous blog post I've described the situation, where I hit the wall when I was unable to progress with STM32CubeMX to interact with Nucleo expansion boards.   MBed I've decided to get back to MBed platform as it provides a reach set of high level libraries. I've used IBM Watson IoT project as my base. I've removed NFC references. Then I've imported IKS01A2 library, replaced all referen ...
IOT on Wheels Design Challenge - Smart Drive - Project IndexUsing STM32CubeMX to configure USART3 My GPS module only supports serial communication. So I've again used STM32CubeMX to configure serial ports. I've configured STM32L476RG pins PC11 and PC12 as USART3_RX and USART3_TX As well I configured USART3 to use interrupts. And then I've generated the code template. It was quite straightforward. Porting Arduino UBX GPS MultipleMessages code I've ported GPS module configuration and parser from ...
GPS Module I've purchased a GPS module VK2828U7G5LF. It is based on UBX-M8030-KT chip, antenna and UART interface.   Testing GPS I've used USB TTL serial converter to connect my GPS module to PC. The manufacturer of UBX-M8030-KT chip provides free software u-blox u-center to test and configure GPS module. It is very useful tool to start working with GPS module and debug protocol and controller behavior.. u-blox provides AssistNow feature for better precision. It is quite important for an ...
IOT on Wheels Design Challenge - Smart Drive - Project IndexWhy STM32CubeMx ?X-NUCLEO-IKS01A2   This is my 4th blog post for the "IoT on Wheels Design Challenge. I've explored MQTT connectivity over WiFi and sensor board in my previous blog posts. I'm a bit late in my project activities as I faced multiple challenges working with STM32L476RG Nucleo board.. Now it is time to connect my GPS module. But the module that I have only works over UART port. I'm planning to use WiFi and sensor boa ...
IOT on Wheels Design Challenge - Smart Drive - Project IndexFall Detection with  X-NUCLEO-IKS01A2   This is my 3rd blog post for the "IoT on Wheels Design Challenge. I've explored MQTT connectivity from the STM32L476RG Nucleo board using mbed cloud environment in my previous blogIOT on Wheels Design Challenge - Smart Drive - First Steps with mbed os - Blog #2post.   There are several type of events I'd like to detect from the MCU and its sensors in my project One of them is Fall ...
IOT on Wheels Design Challenge - Smart Drive - Project IndexCommunication  I've introduced my project Smart Drive in my previous blog post. My project requires a secure connection with Internet to exchange information. I've selected MQTT protocol as it is open, lightweight (low power consumption), supports data confidentiality (TLS) and widely adopted (including client for STM32).   Hardware The following characteristics of Nucleo Wi-Fi expansion board X-NUCLEO-IDW01M1 enable my comm ...
IOT on Wheels Design Challenge - Smart Drive - Project IndexSmart DriveIntroductionThank you for stopping at my first blog post for IoT on Wheels Design Challenge! I like exploring different ideas and I'm very happy that the idea of my project has been selected for this challenge. STM32L4 is a new MCU for me. It has a very impressive specs in terms of performance and power consumption. I think it should be a good fit for my Smart Drive project, where processing power as important as power consum ...