Comments (6)
All issues faced during this interface shall be mentioned here. Please post the issues along with the ways one can use to resolve them.
from iletterbox_capstone_project_embt_f2020.
This interfacing was considered to be quite simpler than the rest of the interfacing as it was just adding another sensor via the GPIO Digital Communication protocol. The only one issue that was faced was by adjusting the sensitivity level of the sensor. For the project since we had to reset the counter when either darkness or brightness was there (our choice which condition should reset the count of the letters). The potentiometer was turned by human action or don't know how it never used to go low and never detected darkness.
Thus, to resolve this issue up we had to make the change in the potentiometer that was attached to the module. This was done in steps and employing trial and error method till we were satisfied that the sensor is detecting the darkness or brightness in a way which it should do.
from iletterbox_capstone_project_embt_f2020.
An issue was being faced as to when the sensor detected brightness or darkness as this was crucial in resetting the count of letters. Thus, with us what had happened was that if we set the condition in the code stating that if the IR sensor is low (object present) and brightness high (LDR pin high) then keeping on counting and the opposite condition would reset the counter. Now if we look at it properly we were right logically but we didn't keep in mind that the LDR is an active low sensor like the IR sensor thus we resolved it and got a proper count of 0 by giving the same condition but the program mentioning that if both the pins are at low voltage level then count the letters i.e. increment the count else make the counter 0
from iletterbox_capstone_project_embt_f2020.
Since we always try to integrate all the sensors working together thus we faced a small bug in the integration of all the sensors. When we combined the setup for this issue along with Issue #19 , #12 we faced some issues that are suddenly the if loops started to run twice like if the letter was sensed it used to count an increment of 1 and again increment the count when the GSM code for sending SMS was completed. This was not good as it may give the wrong count for our limitation that only a letter is inserted in the box.
from iletterbox_capstone_project_embt_f2020.
Since we always try to integrate all the sensors working together thus we faced a small bug in the integration of all the sensors. When we combined the setup for this issue along with Issue #19, #12 we faced some issues that are suddenly the if loops started to run twice like if the letter was sensed it used to count an increment of 1 and again increment the count when the GSM code for sending SMS was completed. This was not good as it may give the wrong count for our limitation that only a letter is inserted in the box.
To get the issue resolved we did two things:
- We read the program carefully and understood that we didn't declare the usage of the pin P9.41 usage which we thought might be the cause of error thus we rectified the same
- We removed all the connections and re-connected the circuit back thinking some wiring might be loose or improper
Thus both the steps are taken and when the code was under re-run the code compiled successfully and ran as per expectation. Thus we assume that it was a wiring mistake and coding error as well.
from iletterbox_capstone_project_embt_f2020.
During the meeting, we were asked to get the SMS alerted to the user when letters were removed and also print on the console the count of letters. During this change, we were able to send the SMS when all letters were removed but faced small difficulty in getting the count printed on the console. It was found since the GSM code required time to run thus it was not getting printed in time. Thus when the line of printing the count was just shifted before the GSM code can execute our problem was resolved and thus we can now print the number of letters deposited on the console and also print the count after we remove all the letters that we print the count =0 when all the letters are removed from the letterbox. The issue was resolved on the same day during the meeting
from iletterbox_capstone_project_embt_f2020.
Related Issues (12)
- Finalizing Hardware Requirements HOT 2
- Interface LED and IR Sensor on BB-WI HOT 9
- Interface GSM Module with BB-WI HOT 7
- Getting the proposal approved HOT 1
- Interface ThingSpeak with BB-WI HOT 5
- PCB Designing HOT 4
- Prepare appropriate documentation for the project HOT 3
- Final Demonstration HOT 5
- Getting Hardware HOT 3
- Testing of Hardware HOT 10
- Circuit Design - Schematic Capture HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iletterbox_capstone_project_embt_f2020.