Risk and Plans
1. Parts: The quality of parts remains the biggest risk at this stage of the project. We have done a lot of research on the components that are required for BikeBuddy, and we made decisions based on documentation and logical reasoning. However, a part that looks good on paper may not perform the way we want it in reality. For example, the turn switches that we purchased did not meet our expectations, where the switches need to be toggled to both turn on and off. This was just a small part of the project, so our contingency plan was to revert to a simple button instead of a fancy turn switch. However, this could be a huge issue if it happens on more time-critical parts like radar. Until we check out all the parts and make sure they are compatible with each other, this remains our biggest risk. We hope that our careful research for each part will mitigate such risk. However, we have backup parts that can be ordered if our original parts do not work out.
2. Scheduling: In our schedule, we left one-week time for the parts to be shipped. However, the unpredictable shipping speed is another risk that can pull us into schedule issues. The radar is taking a bit longer than we expected to arrive. If a part takes a significant amount of time to arrive, it might lead to a knock-on delay in our progress. To mitigate this, we still have slack time that we can use to smooth things out. We will follow up with the shipping status so that we know if we need to order new parts as backups.
Changes in Design
- We’ve altered the requirement from being portable to simply being easy to install. We realized that we wouldn’t expect the end user to need to frequently move our safety system around so the portability requirement wasn’t necessary. However, we would still like this system to be easy to install hence the change in requirement.
- The motorcycle turn switch we bought turned out not to be what we wanted as the switch didn’t return to the neutral position when activated, rendering our turn signal auto-cancellation system useless. Other turn switches on Amazon (some include example 1, example 2) seemed to have the same issue where the turn signal switch is latching which wouldn’t work for our case. In hindsight, that actually makes sense as how would the turn signal know to deactivate automatically on a motorcycle without being able to sense the handlebar position? Therefore, we pivoted to using motorcycle momentary button switches to activate the turn signal, such as this switch.
- The wiring diagrams such as the ones listed here indicate that the button shorts the two inputs together which should work for us as a GPIO input into the Raspberry Pi to sense a button press (e.g., put 5V on one side of the switch, on the RPi side have a pulldown to ground).
- We’ve settled on choices for several of our components:
- Screen choice of a 5″ HDMI screen – We wanted a screen that used HDMI to simplify the interface with the Raspberry Pi (unlike other ones that used raw RGB data!) and this screen met that requirement.
- There was some concern about whether this would be sunlight visible, but we weren’t able to find a screen that was bright enough, yet cheap and used HDMI (some sources said 1000 nits or 800 nits – I recall seeing 700 nits somewhere but can’t locate the source now :/). The decision we ended up with was that it looked bright enough in photos so we’ll try out this screen and worst case we’ll put a shade/visor over it.
- We selected the 5″ over the 7″ one because we felt that the 7″ was unnecessarily large.
- The current draw is acceptable for our use case (the 7″ screen states 0.62 A draw) which is able to be supplied from the RPi 4 which has a 1.2 A USB limit
- Radar choice of the K-LD7 – According to its product page and datasheet, it supports up to 30 m range for car detection which is more than we need, it mentions blind spot detection as a use case which gives us more confidence that this will work for that, and it performs on board signal processing and gives serial output instead of raw sinusoidal data which simplifies the work we need on our end. The current draw is also minimal (200 mA peak) according to the datasheet.
- Battery system of the Anker 337 – Initially suggested by Professor Tamal, we settled with this one because it was capable of 3A output on each USB port which was recommended for powering the Pi 4 and output 5V which was what everything we used ran off of. Additionally, the capacity was very large.
- We’ve created an initial block diagram of the system as well:
![](http://course.ece.cmu.edu/~ece500/projects/s24-teama3/wp-content/uploads/sites/270/2024/02/Block-Diagram-1024x703.png)
Schedule Updates
There have been no schedule updates since last week and things are currently on track.
Here is the Gantt chart as of Feb. 17, 2024 (click for a full-sized view):
![](http://course.ece.cmu.edu/~ece500/projects/s24-teama3/wp-content/uploads/sites/270/2024/02/BikeBuddy-1-1024x536.png)
Weekly Special Questions
Note: Part A was written by Jonny Tian, Part B was written by Jack Wang, and Part C was written by Jason Lu
A. Public health and safety
Incorporating our project into bicycle design helps mitigate the risk of accidents and promotes overall road safety. Blind spot monitoring systems alert cyclists to potential dangers, reducing the likelihood of collisions with vehicles or pedestrians. This not only protects the individual cyclist but also contributes to the broader public health by minimizing the occurrence of accidents. Additionally, turn signals on bicycles enhance communication between cyclists and other road users, promoting a more predictable and organized flow of traffic. This increased visibility and communication can prevent misunderstandings, reducing the overall risk of accidents and creating a safer environment for all road users.
B. Social factors
Our project will primarily target the social group of urban cyclists and motorists who share the roads in densely populated areas. BikeBuddy is designed so that people from this cohort can afford this product and enhance their safety in their day-to-day lives. This group of people rely on bicycles or share the road with cyclists. The system that we are offering such as the blind spot detection and display addresses the critical need for improved awareness of surrounding traffic, particularly in urban environments for this group of people. In addition, our solution to enhanced bike safety will also promote a safer cycling environment, encouraging more people who rely on bikes to cycle more. Since the design is modular and has user-friendly interfaces, the system can be accessible to a wide range of cyclists. Overall, our system considers the core needs of this group of people, offering inclusivity and equitable access to safer cycling experiences.
C. Economic factors
Our target price point of less than < $200 was intended to make this affordable for regular commuters who may not be willing to spend as much on a safety system instead of for professionals who have deeper pockets. As a result, we didn’t use arguably better systems such as the TI series of automotive radars which are specially designed for the blind spot monitoring use case in vehicles but are significantly more expensive to use (ex: one EVK for a TI radar cost $358 from Digikey).
Admittedly, at this point, we’re not certain if we can hit the price target, but one hope is that if we calculate the cost to consumer using the bulk pricing then that target will be feasible. For example, we are currently buying radars for around $86 per unit since we are buying small quantities, but if this is commercialized and we buy larger quantities for production (e.g., hundreds) we can bring it down to ~$65 per radar.
The requirement of being easy to install (which we changed from being portable) also means that the end user should not require specialized equipment or need to go to a bike shop to install the system which further reduces the cost of obtaining this product.
We also do not anticipate significant operating costs to the end user with the exception of electricity bills from charging the battery pack, so there should not be a long term economic burden to the user. The intended ruggedness of the system also should ensure that the system won’t need replacing too quickly which would be expensive.
On a macroeconomic level, another thought we had was that this could reduce total healthcare and vehicle repair costs. If we lower collision rates between vehicles and cyclists, we reduce the number of hospital visits needed for cyclists and the repairs needed to repair vehicles damaged in collisions which will hopefully result in an overall reduced average cost to cyclists and drivers alike (e.g., expected value of repair costs will go down because the probability of a repair being needed is reduced).