Giter VIP home page Giter VIP logo

Comments (6)

zrajani avatar zrajani commented on May 29, 2024

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.

zrajani avatar zrajani commented on May 29, 2024

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.

zrajani avatar zrajani commented on May 29, 2024

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.

zrajani avatar zrajani commented on May 29, 2024

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.

zrajani avatar zrajani commented on May 29, 2024

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:

  1. 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
  2. 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.

zrajani avatar zrajani commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.