Update Camera authored by Adham Beshr's avatar Adham Beshr
# 📷 **Camera System – Line Scan Camera (TSL1401)**
![Line Scan Camera Overview](INSERT_IMAGE_HERE)
📌 _For detailed implementation, check out the_ **[Pins & Peripherals](../../-/wikis/pins-peripherals)** _page._
![Line Scan Camera Overview](https://mygit.th-deg.de/ab11885/autonomous-line-following-car-with-camera-based-navigation/-/raw/main/Images/Line_Scan_Camera_Photo.webp)
## 📌 **Overview**
......@@ -14,22 +14,22 @@ The **TSL1401 Line Scan Camera** is a **128×1 photodiode array** that captures
**Single 3V to 5V supply voltage**
**Supports up to 8 MHz clock frequency**
📌 **Image:** _Functional block diagram of the TSL1401 sensor_
![Functional Block Diagram](INSERT_IMAGE_HERE)
![Functional Block Diagram](https://mygit.th-deg.de/ab11885/autonomous-line-following-car-with-camera-based-navigation/-/raw/main/Images/Functional_Block_Diagram.png?ref_type=heads)
---
## 🛠 **Working Principle**
### **1️⃣ Image Capture Process**
### **Image Capture Process**
1. Light hits the **128 photodiodes**, generating a **photocurrent**.
2. This charge is **stored** in capacitors, **proportional to light intensity**.
3. The charge is read **sequentially**, controlled by a **Shift Register** and **Clock Signals**.
4. The **Analog Output (AO)** provides a voltage **corresponding to light intensity** for each pixel.
5. The **ADC reads this voltage**, converting it into **digital values** for processing.
📌 **Image:** _Illustration of how pixels integrate light and transfer charge._
![Pixel Integration Process](INSERT_IMAGE_HERE)
![Pixel Integration Process](https://mygit.th-deg.de/ab11885/autonomous-line-following-car-with-camera-based-navigation/-/raw/main/Images/Operational_Waveforms.png)
---
......@@ -43,8 +43,8 @@ The **TSL1401 Line Scan Camera** is a **128×1 photodiode array** that captures
| 4 | **VDD (Power Supply)** | Provides power (3V–5V). |
| 6,7 | **GND** | Ground reference. |
📌 **Image:** _TSL1401 pin layout_
![Pin Layout](INSERT_IMAGE_HERE)
![Pin Layout](https://mygit.th-deg.de/ab11885/autonomous-line-following-car-with-camera-based-navigation/-/raw/main/Images/Screenshot_2025-03-04_113440.png?ref_type=heads)
---
......@@ -59,8 +59,8 @@ The **TSL1401 sensor operates using precise timing control**. The **Clock (CLK)
- **Serial Input Setup Time (tsu(SI))**: _20 ns_
- **Analog Output Settling Time**: _120 ns_
📌 **Image:** _Timing waveform showing the synchronization process._
![Timing Diagram](INSERT_IMAGE_HERE)
![Timing Diagram](https://mygit.th-deg.de/ab11885/autonomous-line-following-car-with-camera-based-navigation/-/raw/main/Images/Timing_Waveforms.png?ref_type=heads)
---
......@@ -71,7 +71,6 @@ The **Line Scan Camera** is connected to the microcontroller via:
- **FTM (FlexTimer Module)** – Generates timing pulses (SI & CLK).
- **Interrupt Handlers (ISR)** – Processes the image data in real-time.
📌 **Image:** _System integration showing camera signals._
![System Integration](INSERT_IMAGE_HERE)
---
......@@ -87,12 +86,4 @@ The **Line Scan Camera** is connected to the microcontroller via:
---
## 📌 **Next Steps**
🔹 **Optimize Edge Detection** – Fine-tune intensity thresholds.
🔹 **Enhance Noise Filtering** – Minimize interference from ambient light.
🔹 **Improve Real-Time Processing** – Use DMA to offload CPU workload.
---
📜 _For a complete project overview, visit the_ **[Wiki Home](../../-/wikis/home)** _page._