# Wittering Amaranth Esper Photo Analyser
## Description
ATMEGA328-PU (U1) Setup
Power Supply Connections:
Connect U1:VCC to U2:5V@1 (5V power supply).
Connect U1:GND to U2:GND@1 (Ground).
Connect U1:AVCC to U2:5V@2 (Analog Power Supply for better ADC performance).
Multiple GND pins (U2:GND@1, U2:GND@2, U2:GND@3, U2:GND@4) should all be connected to a common ground plane for stability.
Serial Communication for Debugging:
Connect U1:PD0 (RX) to U6:TXD.
Connect U1:PD1 (TX) to U6:RXD. These connections enable serial communication between the microcontroller (ATmega328) and the USB-Serial adapter (CH340N) for programming and debugging.
Sensor Data Acquisition:
Given the components, the MLX90614ESF-ACC-000-SP (U4) is an infrared temperature sensor that could be used for vital detection. It uses an I
2
2
C interface.
Connect U1:PC4 (SDA) to U4:PWM_SDA.
Connect U1:PC5 (SCL) to U4:SCL_Vz. This allows the ATmega328 to communicate with the MLX90614ESF infrared temperature sensor.
Additional Considerations:
An analog-to-digital converter (ADC) or a specialized RF module designed for UWB radar applications would be necessary to capture and process radar signals for detecting human vitals through walls. The MAX270CWP+ (U3) could be used for audio signal processing but may not directly apply to UWB radar signal processing.
Power Supply to Other Components
Connect U6:VCC to U2:5V@1.
Connect U4:VDD to U2:5V@2.
Ensure all components' ground pins are connected to the common ground plane (U2:GND@1, GND@2, GND@3, GND@4)
## Project Details
- **Owner:** pawandeep
- **Created:** 5/2/2024
- **Last Updated:** 5/2/2024
- **Visibility:** Public
## Key Components
### U1 — [ATMEGA328-PU](https://www.flux.ai/adrian95/atmega328-pu~4s7.md)
- Manufacturer Name: Microchip
- Part Type: Microcontroller
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: ATMEGA328-PU
- Datasheet URL: https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf
**Pins:**
- ~RESET~/PC6 [pin 1]
- AREF [pin 21]
- AVCC [pin 20]
- GND [pin 8]
- GND [pin 22]
- PB0 [pin 14]
- PB1 [pin 15]
- PB2 [pin 16]
- PB3 [pin 17]
- PB4 [pin 18]
- PB5 [pin 19]
- PC0 [pin 23]
- PC1 [pin 24]
- PC2 [pin 25]
- PC3 [pin 26]
- PC4 [pin 27]
- PC5 [pin 28]
- PD0 [pin 2]
- PD1 [pin 3]
- PD2 [pin 4]
- PD3 [pin 5]
- PD4 [pin 6]
- PD5 [pin 11]
- PD6 [pin 12]
- PD7 [pin 13]
- VCC [pin 7]
- XTAL1/PB6 [pin 9]
- XTAL2/PB7 [pin 10]
### U2 — [HB100](https://www.flux.ai/amirgagarin/hb100~xl.md)
- Part Type: Sensor
**Pins:**
- 5V@1
- 5V@2
- GND@1
- GND@2
- GND@3
- GND@4
- IF@1
- IF@2
### U3 — [MAX270CWP+](https://www.flux.ai/adrian95/max270cwpplus~h43.md)
- Manufacturer Part Number: MAX270CWP+
- Manufacturer Name: Analog Devices Inc./Maxim Integrated
- License: https://creativecommons.org/licenses/by/4.0/
- Part Type: Integrated Circuit
- Datasheet URL: https://www.analog.com/media/en/technical-documentation/data-sheets/max270-max271.pdf
**Pins:**
- ~CS [pin 11]
- ~SHDN [pin 4]
- ~WR [pin 10]
- A0 [pin 12]
- D0 [pin 13]
- D1 [pin 14]
- D2 [pin 15]
- D3 [pin 16]
- D4 [pin 17]
- D5 [pin 18]
- D6 [pin 19]
- GND [pin 9]
- INA [pin 5]
- INB [pin 7]
- OPIN [pin 20]
- OPOUT [pin 1]
- OUTA [pin 3]
- OUTB [pin 8]
- V- [pin 6]
- V+ [pin 2]
### U4 — [MLX90614ESF-ACC-000-SP](https://www.flux.ai/jecstronic/mlx90614esf-acc-000-sp~si.md)
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: MLX90614ESF-ACC-000-SP
- Part Type: Sensor
- Datasheet URL: https://media.melexis.com/-/media/files/documents/datasheets/MLX90614-datasheet-melexis.pdf
- Manufacturer Name: Melexis Technologies NV
**Pins:**
- PWM_SDA [pin 2]
- SCL_Vz [pin 1]
- VDD [pin 3]
- VSS [pin 4]
### U6 — [CH340N](https://www.flux.ai/iuriboard/ch340n~vs.md)
- Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2403131103_WCH-Jiangsu-Qin-Heng-CH340K_C18208922.pdf
- Manufacturer Part Number: CH340N
- Part Type: Integrated Circuit
- Manufacturer Name: WCH
**Pins:**
- GND [pin 3]
- RTS [pin 4]
- RXD [pin 7]
- TXD [pin 6]
- UD- [pin 2]
- UD+ [pin 1]
- V3 [pin 8]
- VCC [pin 5]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/pawandeep/wittering-amaranth-esper-photo-analyser~8e](https://www.flux.ai/pawandeep/wittering-amaranth-esper-photo-analyser~8e).*
---
*Generated from [https://www.flux.ai/pawandeep/wittering-amaranth-esper-photo-analyser~8e](https://www.flux.ai/pawandeep/wittering-amaranth-esper-photo-analyser~8e)*