Skip navigation
This is the final blog on my project for this challenge. The videos I am attaching is of the finished project. The first video is of the finished project description, showing the different parts put together. The second video is of it working in the vehicle. I am very happy how it turned out and that it works so well. I feel it will make a difference the way we drive and more aware of how tired we are while driving. This will also work well to stop distracted driving by alerting you when you are ...
Hello everyone,   This is my second to last post on this challenge. Everything is now complete except for the vlog on the project working in the vehicle. Below are pictures of the project on my computer desk and the code for the Nucleo. I programmed the Nucleo with the Arduino IDE which worked perfectly (almost, there were a few little bugs). Please leave any questions or comments below.   Note: There are 2 tilt sensors that will be attached to the drivers head to sense if they are n ...
Well, we are getting close to the end of this challenge. This has been a great learning experience and I have really enjoyed it.   For my project to be finished up I only have a bit of programming to complete as well as the road test to make the final video blog. Below I have a layout of how the sensors are placed throughout my vehicle.     I have deleted the acknowledge button and any advanced warning alerts. First the acknowledge button was deleted as the program is set up ...
In the past week I have been doing a lot of programming for the sensors It has been a bit of a learning experience working with the Nucleo-L476RG especially since I have been using the Arduino IDE The main part to remember is to assign the pins in your coding with the code"pinMap So far there has been no issue programming the Nucleo with the Arduino IDE everything is working perfectly   Attached is the code I have done so far:   #include <f401reMap.h> #define THRESHOLD 2 const ...
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:  ...
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, ...
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 ...
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 ...
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 ...
Fatigue Alert System First I want to thank our sponsor STMicroelectronics for the kit they are providing and giving us the opportunity to develop our dream. I want to thank Element14 for making this all possible.   My reason for this project   I have a severe sleep disorder and this makes the possibility of falling asleep while driving a greater possibility. In Canada, fatigue is a factor in up to 21 per cent of motor vehicle collisions, resulting in about 400 deaths and 2,100 seri ...