ICOMP-UNC / Pepsicity

MIT License
0 stars 0 forks source link

Modules and Sensors #14

Open FrancoPerotti opened 1 week ago

FrancoPerotti commented 1 week ago

LPC1769 Modules Used in the Project

For this project, the following modules of the LPC1769 board will be used:

  1. GPIO: Will be used to connect a 7-segment display, which will show the count of processed units.
  2. Systick: This module will perform periodic ADC conversions, connected to an LM35 temperature sensor, allowing temperature readings at regular intervals.
  3. ADC: The ADC will obtain the temperature from the LM35 sensor, converting the sensor's analog signal into digital values that the system can process.
  4. DAC: The DAC will generate a continuous voltage to power the conveyor belt motor, enabling precise control.
  5. TIMER0: This module will be used to perform measurements with the HY-SRF05 ultrasonic sensor, allowing the system to count objects on the conveyor belt.
  6. UART: The UART module will be used to send configuration information for the conveyor belt, such as the operating speed, and to receive system status, alerts, and notifications.
  7. GPDMA: Will be used in conjunction with the UART module to enable efficient communication, without requiring the main processor to handle data transmission.

Sensors Used in the Project:

Extras

Interaction Between the Modules

241109_17h54m41s_screenshot

FrancoPerotti commented 1 day ago

Updated Design Overview

Changes to the System:

  1. 7-Segment Display Replacement:

    • Instead of a 7-segment display to show the object count, the system will now use a single LED.
    • Functionality: The LED will turn on briefly every time an object is counted, providing a simple visual indication of the event.
    • Reason: The 7-segment display was too restrictive in the number of objects counted it could show.
  2. Added Buttons:

    • START Button: This button will initialize and start the entire system, including the conveyor belt and sensors.
    • STOP Button: This button will halt all system operations, including stopping the motor and disabling the sensors.
  3. TIMER module replacement:

    • Instead of using the TIMER0 module, we decided to use the TIMER2 module.
    • Reason: The CAP pin associated with the TIMER2 module are phisically placed in a more accesible place on the LPC1769 circuit board.

Updated LPC1769 Modules Used in the Project

1. GPIO

2. EXTI

3. Systick

4. ADC

5. DAC

6. TIMER2

7. UART

8. GPDMA


Sensors Used in the Project


Extras