Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to README for SRA BOARD 2023 #25

Merged
merged 5 commits into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 33 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,19 @@
</p>

<p align="center">
<a href="https://oshpark.com/shared_projects/erADDDjN"><img src="https://oshpark.com/packs/media/images/badge-5f4e3bf4bf68f72ff88bd92e0089e9cf.png" alt="Order from OSH Park"></img></a>
<a href="https://www.pcbpower.com/"><img src="./documentation/assets/pcb_power.jpeg"></img></a>
LakshayaSinghal marked this conversation as resolved.
Show resolved Hide resolved
</p>


# SRA Board 2021-2022

# SRA Board 2023

The SRA board is a development board based on ESP32 with on-board peripherals like programmable LEDs, switches, sensor ports for Line Sensor Array and MPU-6050, protection circuit for over-current and reverse voltage and motor drivers.

![](/documentation/assets/3d_sideview.png)

## Table of Contents
- [SRA Board 2021-2022](#sra-board-2021-2022)
- [SRA Board 2023](#sra-board-2023)
- [Table of Contents](#table-of-contents)
- [Board Images](#board-images)
- [About the Project](#about-the-project)
LakshayaSinghal marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -61,6 +62,11 @@ The SRA board is a development board based on ESP32 with on-board peripherals li
<img width="410" height="450" src="./documentation/images/board_images/bottom.png"/>
</p>

- **Pinout**
<p align="center">
<img width="540" height="450" src="./documentation/images/board_images/front_side_pinout.png"/>
</p>

## About the Project

- This development board is used for the [Wall-E](https://github.com/SRA-VJTI/Wall-E) and [MARIO](https://github.com/SRA-VJTI/MARIO) workshops conducted by [SRA](https://github.com/SRA-VJTI).
Expand Down Expand Up @@ -114,20 +120,23 @@ In general, every development board has the following basic features:

> Now that we covered basics of development boards, let us talk about the changes made in the new design.

## Major Changes for 2022

| Feature | SRA Board 2019 | SRA Board 2020 | SRA Board 2022 |
|:----:|:-------:| :-----: | :-----: |
|[12V to 5V](#7805-5v-linear-regulator-to-lm2596-buck-convertor) | LM7805 Linear Regulator | LM2596 Buck Convertor | LM2576-S Buck Convertor |
|[5V to 3.3V](#ld33-33v-to-ams1117)| LD33 | AMS1117-3.3 | AMS1117-3.3 |
|[Reverse Voltage Protection](#reverse-voltage-protection-diodes-to-p-mosfet) | Diodes | P-MOSFET | Diodes |
|[Motor Driver](#l298n-to-tb6612fng)| L298N| TB6612FNG | TB6612FNG |
|[No. of Motor Channels](#motor-driver-modes)|2|4|4|
|[No. of Switches](#moving-back-to-the-vintage-bar-graph-leds-and-more-switches)|2|4|4|
|[No. of LEDs](#moving-back-to-the-vintage-bar-graph-leds-and-more-switches)|2|8|8|
|[Over Current Protection](#protection-against-over-current) | Bulky Glass Fuses | Bulky Glass Fuses | PTC Resettable Fuses|
|[Sensor Port Connectors](#protection-against-over-current) | FRC (Fused Ribbon Cable) Connectors | JST (Japan Solderless Terminal) Connectors | JST Connectors |
|[Component Type and Board Size](#component-type-and-board-size) | THT (Through Hole), Big | THT (Through Hole), Big | SMD(Surface Mount Device), Smaller|
## Major Changes for 2023

| Feature | SRA Board 2019 | SRA Board 2020 | SRA Board 2022 | SRA Board 2023 |
|:----:|:-------:| :-----: | :-----: | :-----: |
|[12V to 5V](#7805-5v-linear-regulator-to-lm2596-buck-convertor) | LM7805 Linear Regulator | LM2596 Buck Converter | LM2576-S Buck Converter | LM2576-S Buck Converter |
|[5V to 3.3V](#ld33-33v-to-ams1117)| LD33 | AMS1117-3.3 | AMS1117-3.3 | AMS1117-3.3 |
|[Reverse Voltage Protection](#reverse-voltage-protection-diodes-to-p-mosfet) | Diodes | P-MOSFET | Diodes | Diodes |
|[Line Sensing Arrays (LSA)](#lsa_2023) | Photodiodes| Photodiodes| Photodiodes| IR Sensors |
|[Number of LSA Sensors](#num_of_sensors)| 4| 4| 4| 5 |
|[Motor Driver](#l298n-to-tb6612fng)| L298N| TB6612FNG | TB6612FNG | TB6612FNG |
| [Stepper Motor Driver](#stepper-motor-driver-port-a4988) | - | - | - | A4988 |
|[No. of Motor Channels](#motor-driver-modes)|2|4|4|4|
LakshayaSinghal marked this conversation as resolved.
Show resolved Hide resolved
|[No. of Switches](#moving-back-to-the-vintage-bar-graph-leds-and-more-switches)|2|4|4|4|
|[No. of LEDs](#moving-back-to-the-vintage-bar-graph-leds-and-more-switches)|2|8|8|8|
|[Over Current Protection](#protection-against-over-current) | Bulky Glass Fuses | Bulky Glass Fuses | PTC Resettable Fuses| PTC Resettable Fuses|
|[Sensor Port Connectors](#protection-against-over-current) | FRC (Fused Ribbon Cable) Connectors | JST (Japan Solderless Terminal) Connectors | JST Connectors | JST Connectors |
|[Component Type and Board Size](#component-type-and-board-size) | THT (Through Hole), Big | THT (Through Hole), Big | SMD(Surface Mount Device), Smaller| SMD(Surface Mount Device), Smaller|
- ### **7805 (5V linear regulator) to [LM2576/96 Buck Convertor](https://www.youtube.com/watch?v=m8rK9gU30v4)**
- The greater efficiency, output current and reliability of LM2576/96 were the reasons for this change.
- The efficiency of LM2576 is up to 92% which is significantly better than 7805. The LM2576 can provide current up to 3A, so the MARIO workshop manipulator can now be run using onboard regulator.
Expand All @@ -152,7 +161,13 @@ In general, every development board has the following basic features:
<p align="center">
<img width="460" height="300" src="https://i1.wp.com/dronebotworkshop.com/wp-content/uploads/2019/12/TB6612-vs-L298N.jpeg?w=768&ssl=1">
</p>

- ### **Stepper Motor Driver Port ([A4988](https://www.tme.eu/Document/25459777e672c305e474897eef284f74/POLOLU-2128.pdf))**
- In the Previous and older editions, there were two ports for TB6612FNG Motor Drivers but **it has been updated to one TB6612FNG and one A4988 Stepper Motor Driver in the current SRA Board (2023).**
- A4988 Stepper Motor Driver **a microstepping driver for controlling bipolar stepper motors** which has built-in translator for easy operation. This means that we can control the stepper motor with just 2 pins from our controller, or one for controlling the rotation direction and the other for controlling the steps.
- The Driver provides five different step resolutions: full-step, haft-step, quarter-step, eight-step and sixteenth-step. Also, it has a potentiometer for adjusting the current output, over-temperature thermal shutdown and crossover-current protection.
<p align="center">
<img width="460" height="300" src="./documentation/assets/A4988_Stepper_Motor.png">
</p>
- ### **Motor Driver Modes**
- The new edition has 2x TB6612FNG motor drivers which allow a maximum of 4 motors to be controlled. This motor driver is characterized by its operation in two modes - **Normal mode** and **Parallel mode**:
LakshayaSinghal marked this conversation as resolved.
Show resolved Hide resolved
1. **Normal Mode**
Expand Down
Binary file added documentation/assets/A4988_Stepper_Motor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
ChinmayLonkar marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 16 additions & 12 deletions sensors_2023/lsa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,19 @@
<img src="/documentation/images/LSA_images/Lsa_front.png" width="600" height = "350">
</p>

<p align="center">
<img src="/documentation/images/LSA_images/Lsa_front_pinout.png" width="600" height = "350">
</p>

- PCB Backside
<p align="center">
<img src="/documentation/images/LSA_images/Lsa_back.png" width="600" height = "350">
</p>

<p align="center">
<img src="/documentation/images/LSA_images/Lsa_back_pinout.png" width="600" height = "350">
</p>

### Features
* Components used are readily available.
* Easy connections for output signals.
Expand All @@ -37,24 +45,20 @@
### Components of LSA
| Component | Description | Quantity |
| ----------- | ------------- | -------- |
| LED | Emits light | 4 |
| PhotoDiode | Absorbs light | 4 |
| IC LM324 | Op.Amp. IC | 1 |
| Resistors | Limit Current | 8 |
| Infrared Emmitter | Emits infrared light | 5 |
| PhotoTransistor | Absorbs light | 5 |
| Resistors | Limit Current | 10 |
|JST Connector | Connect PCB with other circuits|1|


### Function of Components
- **LED**
- LSA consists of Four LED and PhotoDiode Pairs. The specific LED's emit white light which is incident on the surface and some of it is absorbed by the surface. The voltage source For the LEDs to glow is VCC.
- **Infrared Emmitter**
- The specific Infrared Emmitter emit infrared light which is incident on the surface and some of it is absorbed by the surface. The voltage source for the Infrared Emmitter to emit is VCC.

- **PhotoDiode**
- Based upon the reflectivity coefficient of the surface( generally less than 1), the remaining light reflected from the surface is captured by the Photodiodes. LEDs and complimentary photodiodes are used to efficiently detect the surface (white/black line) as the environment also contains unwanted light for the LSA sensor. The amount of light received is directly proportional to the current generated by it. More the light, more the current, more the reading.

- IC LM324
- This is a Quad(4) OP.Amp. IC. Op.Amp i.e Operation Amplifiers amplify the current with constant volatge. Since the current reading from photo diodes is significantly small and difficult to compare, it needs to be amplified. The 4 amplified outputs serve as raw readings of LSA.
- **PhotoTransistor**
- Based upon the reflectivity coefficient of the surface( generally less than 1), the remaining light reflected from the surface is captured by the Photodiodes. Infrared Emmitter and complimentary phototransistor are used to efficiently detect the surface (white/black line). The amount of light received is directly proportional to the current generated by it. More the light, more the current, more the reading.

- Resistors
- **Resistors**
- Now to limit the current and thus to protect the LEDs, PhotoDiodes current limiting resistors are used.

### Connections
LakshayaSinghal marked this conversation as resolved.
Show resolved Hide resolved
Expand Down