Skip navigation
PREVIOUS BLOG NEXT BLOG IoT Platforms and Connections (The Technical Details)   THE LIBRARY/FILES CHOSEN Conveniently, STMicroelectronics has a file bundle which provides examples for connecting a variety of boards to the Azure platform. It can be found at the bottom of this page, and is labeled FP-CLD-AZURE1. This bundle allows transmitting of sensor data to the cloud and receiving commands from cloud applications, using the X-NUCLEO-IDW01M1 (WiFi expansion board) and the X-NUCLEO-IKS01A2 ...
This blog is really just to indicate I have been working on the project. However there is not much visible progress to report. I have got the arduino IDE working with the Nucleo MCU and I can write programs for it that work, but 3rd party arduino programs don't necessarily work. I have a LoRa Gateway (Dragino) set up and communicating via SSH and its own web server. I have a GPSWOX account setup to do real time GPS tracking on a map. The LoRa client is supposed to read formulate and send GPS ...
1. Having Tested all the software components, it is time to do hardware configuration. - N30 motor, 3-6V, 220mA and 20900rpm in 3.7V, maximum 1.5A, shaft diameter 1mm, length of shaft 6mm, size 20*10*12mm, 8.39g, - Propeller , diameter 75mm, center hole 0.95mm, 1.6g - 5-6V Battery Banks, it is idea to use portable battery bank for mobile 5V output, 4xAAA battery as optional - L298N H bridge driver, Logical-1: 2.3V~Vxx, Logical-0: -0.3V~1.5V. Peak current 2A.   2. Parameter design ...
Programming the Nucleo STM32L476   I have found it a bit confusing programming the Nucleo in the IDE's suggested from the site. I am use to the Arduino IDE as it is fairly easy to use. So, I found a way to program the Nucleo with the Arduino IDE. This was created by Srihari Koripalli who deserves all the credit for this.   Below is how it is done:   Open the Arduino IDE Go to the "File" menu Go to "Preferences" Under "Additional Boards Manager URLs" enter the link below:  ...
Week 8 - Oct 23 - 29   This blog will cover revisions made to the traffic predictor project along with a list of Hardware and Software components involved in this project.   This blog will be updated when changes are made to the project and it needs to be included in the below list. It can be found by the change of flag from  New --> Updated.   Revisions  Updated   Context Proposed version Blog - Proposed Revised version Blog - Revised Title Traffic prediction ...
Week 8 - Oct 23 - 29   It's almost time to hit the traffic. This blog will cover up the development of login and registration screens, API and integration of the same in the mobile app. Going through my previous blog Traffic Predictor #7 - Into the traffic [Part 2 of 2]  will help in understanding the progress better. Especially the App (Android) part. Module 1 - Traffic prediction with machine learning APP (Android)   Login Screen        &# ...
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 ...
For this weeks blog I am going over the sensors I am using to bring this project together. I was very happy to have all my sensors arrive yesterday as my project would be useless without them.   Below is a picture and brief explanation of each sensor I am including in the project:     So lets start from the top:   Big sound sensor - This will be placed at the rear of the vehicle to pick up car horns. If the driver is sleeping at a traffic light and didn't hear the horn, ...
1. I have tried many times to understand PWM function in mbed this week. Only to blink the LED by PWM in 60Hz, which turning to be very simple. As follows, #include "mbed.h" PwmOut mypwm(LED1); int main() {     mypwm.period_ms(1000);     mypwm=0.2;    while(1) { } } 2. PwmOut function packs many process of PWM output from clock setting, interrupt triggering. But all these is transparent to developers. It takes me long time to find out that the PWM starts w ...
Motorists slammed on their brakes and pedestrians froze in their tracks. Crowds gathered at intersections to stop and stare. A sleek white convertible cruised the streets after dusk. Its four tires glowed a fiery red, blinking and winking at gawkers. The lighting effect was as startling as it was beautiful. In the early 1960s, Goodyear Tire & Rubber Co. conducted colorful experiments on ”the tire of tomorrow,” a translucent model with tiny light bulbs mounted inside the wheel rim ...
I have been plugging away at trying to match enough hardware to this MCU to achieve the functionality I want. Some would say resistance is futile, some would say persistence is fertile, I would just say persistence takes a while. Currently I found a card that has a LoRa radio and a GPS, from Dragino, that should fit with both the Nucleo MCU and my custom card. The Dragino card is an arduino compatible card and there is some arduino software that runs it - if I can port it to the Nucleo. Fo ...
Week 7 - Oct 16 - 22   Having set up everything to kickstart the project, this blog will cover up my further progress in moving the device (Nucleo-L476RG kit plus Case) "Into the traffic". This will be the third blog covering module 1. A glance over the previous week's blog Traffic Predictor #6 - Into the traffic [Part 1 of 2] will help you in understanding trafficpredictor project progress better. Module 1 - Traffic prediction with machine learning on an added advantage of mass storage ca ...
1. To control the via BLE, the BLE service and BLE characteristics UUID shall be nominated. In the mbed projects, 0xA000 plus blue UUID default value -0000-1000-8000-00805f9b34fb shall be used. And set BLE characteristics UUID to 0xA001-0000-1000-8000-00805f9b34fb. Device name of FLY. With 1 received to LED on and 0 for LED off.as of     if ((params->handle == ledServicePtr->getValueHandle()) && (params->len == 1)) {         a ...
PREVIOUS BLOG NEXT BLOG IoT Platforms and Connections Choosing A Platform To connect my bike lock to the Internet of Things, I needed to find a platform which allowed me to easily upload and control the data that I push from the STM32 Nucleo board to the Internet and eventually the users device. After looking into multiple options, such as Amazon's AWS, Microsoft's Azure, and IBM's Watson/Bluemix. Based on my experiences with the sign up processes and amount of documentation I chose to use Micr ...
This project needs to start making serious headway against the issues that have presented themselves. First up - the gas tank level sensor technique I am exploring is showing a little more promise after a concerted effort. I procured a surface speaker exciter to try and generate vibrations at lower frequencies. This driver was able to excite much lower resonances than the original piezo disk and the low frequency resonances were proportional to air volume in the tank (bottle). Persistence is pay ...
Hi everyone,   For Blog #4 I am attaching the code for the steering wheel touch sensor. Like I mentioned this is for the Arduino and it will be made to run on the Nucleo (When I get the Nucleo working). I am also blogging about the other parts of my project I have been working on.   First the code:   #include <CapacitiveSensor.h> CapacitiveSensor   cs_4_8 = CapacitiveSensor(4,8); // 2M resistor between pins 4 & 8, pin 8 is also the sensor pin with the wire t ...
Week 6 - Oct 09 - 15        Having set up everything to kickstart the project, this blog will cover up my further progress in moving the device (Nucleo-L476RG kit plus Case) "Into the traffic". This will be the second blog covering module 1. A glance over the previous week's blog #5 will help you in understanding trafficpredictor project progress better. Module 1 - Traffic prediction with machine learning on an added advantage of mass storage capability of the STM32 Nu ...
This weeks update:   First, I am having real issues with the Nucleo-64. I downloaded the drivers and got everything loaded. When I plug in the board the red LED just flashes, nothing else. The jumpers are all in the right location. My computer won't recognise the board, I have tried in my other computers and I have the same results. Any help would be appreciated.   Here is what I have been working on. I created the steering wheel sensor, if you are not touching the wheel it sets off ...
1. As I have mentioned, the X-NUCLEO-IDB04A1 is broken, I guess that the tight socket makes me pull hard to break lines by mistake. I shall take care later on. 2 Luckly  X-NUCLEO-IDB05A1 is still available for me to complete the BLE connection Here is the sample code form mbed   #include "mbed.h" #include "ble/BLE.h" #include "LEDService.h" DigitalOut actuatedLED(LED1, 0); const static char     DEVICE_NAME[] = "LED"; static const uint16_t uuid16_list[] = {LE ...
Device-to-Cloud Communication: In the last blog I have explained the code that reads the sensors data, process it and sent to Cloud storage, in this case it is Azure Services.   First created an Azure IoT Hub using the Azure portal as described here. I am using my Biz Spark subscription for this.   Then provisioned a device in the above IoT Hub and got the Device Connection String, which is set in the device software in the azure1_config,h as shown below. Actually this device name / ...
BLOG - II  NexTion - Enhanced Heven GS Gill - 11 October 2017 As usual please download the attached PDF for better formatting .     PREVIOUS BLOG     NEXT BLOG Table of Contents   1. What is Nextion Display  2. Getting Started With the Display 3. Project implementation  (Click here for Project Implementation Video) 4. Way forward       What is Nextion Display From Nextion web : HERE   “Nextion offers a new and easy way to in ...
1. Present progress, I have tried to test the BlueNRG extension board. But come to find out the board is broke by mistake. It can not work. At the beginning of the design , I have flashed program and test with BLE scanning APP, everything goes fine. I have to skip the repair mode to next stage, I will figure out what happened later. For Remote control part, WIFI via cloud is challenge part as option work. I think I should use this part now. 2 Another work is migration of X-NUCLEO-IKS01A1 samp ...
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 ...
This is the 3rd blog post for the "IoT on Wheels Design Challenge"   Temperature Alert Logic: Related Parameters: Temperature Unit: This can take only two values, 0 for Celsius and 1 for Fahrenheit. Default value will be 1 (Fahrenheit). Temperature Threshold: If the sensed temperature is above this value, alert mechanism will be activated. Default value will be set to 85 F. Desired Telemetry Interval:This sets the how frequently the data is transmitted to cloud. This will be set as follow ...
Hello,   Sorry for the long delay in posting the blog update. The delay was as there was broadband fiber cut at my residence and it took quite a long time for the ISP to fix it and get it working. Having said so, the connections seem to work fine now and there shouldn't be a problem now.   This is my first Design Challenge and the first package from Element14. I was so happy on receiving this package!     And opening it to such positivity made my day! I had never expec ...
This installment will cover a continuation of my exploration into tank resonances, interfacing the Nucleo MCU and GPS decoding. I have been trying a lot of things to try and figure out if it is possible to use acoustic resonance to determine fuel level in a gas tank. You can see some of the experiments here: Gas Tank Resonance There is some promising results that seem to indicate the air resonance is well below other resonances, so maybe a simple low pass filter will help to isolate them. Ho ...
Week 5 - Oct 02 - 08   This week I have planned to design and build module #1 which would the biggest and the main module in my trafficpredictor project. In this blog, I have covered up the machine learning concept/ algorithm to be used. Along with this, I am going to unveil the case to be used for mounting the Nucleo - L476RG kit in the vehicle.   I am still exploring ways to utilize the kit's storage capacity, once done will share the same in my future blogs. Module 1 - Traffic pred ...
This is the 2nd blog post for the "IoT on Wheels Design Challenge".   STM32 Setup: The boards in the STM32 kit have been arranged as shown below. Download & Install USB Drivers & Firmware Update: First go to www.st.com/stm32nucleo. You will find a link to www.mbed.com. Click on it and select NUCLEO-L476RG figure. Then go to the bottom of the page and click on the first LINK for ST-LINK/V2 driver in the yellow patch. Now click on Download the latest ST-LINK/V2 drivers. Go to Ge ...
1. After test the software component for this design, the mechanic part for the walking wheel shall be prepared and tested. 2. I have made wooden frame walking wheel plane driven by 5V motor and one propeller. Here are parts of the components. 3. The front wheels and rear wheels are passive wheels. The wooden wings shall keep the balance only. Assemble the parts as finally, 4. Test the two pins motor with positive of negative for rotary direction of the motor. Change the direction shall m ...
Hello everyone,   This weeks update is a flow chart on how the computer will work with the sensors and how I plan the programming. I am also going to blog about the software I plan to use to program the Nucleo.   First the flow chart:     I hope this is fairly easy to follow (it makes sense to me anyway ) The Nucleo is at the heart of my design and everything branches off from there. I will have the WiFi module and the sensor board attached. I will be making a sensor for ...