# ESPRSSO32 Smart Scale AI Auto Layout \[Example\]

## Description

Learn how to use AI Auto Layout on this ESP32 Espresso Smart Scale\! In one click you’ll see AI Auto Layout perform magic\. Pay close attention to how we recommend creating rulesets, zones, and fanouts\. By copying the setup in this example on your own project, you’ll have a fully routed board in no time\! 

## Project Details

- **Owner:** mrman
- **Created:** 5/7/2025
- **Last Updated:** 5/7/2025
- **Visibility:** Public

## Key Components

### U2 — [ATMEGA328P\-PU V2](https://flux.ai/adrian95/atmega328p-pu-v2~rlb.md)

- Datasheet URL: https://ww1\.microchip\.com/downloads/en/DeviceDoc/ATmega48A\-PA\-88A\-PA\-168A\-PA\-328\-P\-DS\-DS40002061B\.pdf
- Manufacturer Name: Microchip Technology Inc\.
- Part Type: Microcontroller
- Manufacturer Part Number: ATMEGA328P\-PU
- License: https://creativecommons\.org/licenses/by/4\.0/

**Pins:**
- \~SS\~/OC1B/PCINT2/PB2 [pin 16]
- ADC0/PCINT8/PC0 [pin 23]
- ADC1/PCINT9/PC1 [pin 24]
- ADC2/PCINT10/PC2 [pin 25]
- ADC3/PCINT11/PC3 [pin 26]
- ADC4/SDA/PCINT12/PC4 [pin 27]
- ADC5/SCL/PCINT13/PC5 [pin 28]
- AIN0/OC0A/PCINT22/PD6 [pin 12]
- AIN1/PCINT23/PD7 [pin 13]
- AREF [pin 21]
- AVCC [pin 20]
- GND\_1 [pin 8]
- GND\_2 [pin 22]
- ICP1/CLKO/PCINT0/PB0 [pin 14]
- INT0/PCINT18/PD2 [pin 4]
- INT1/OC2B/PCINT19/PD3 [pin 5]
- MISO/PCINT4/PB4 [pin 18]
- MOSI/OC2A/PCINT3/PB3 [pin 17]
- OC1A/PCINT1/PB1 [pin 15]
- PB6/PCINT6/XTAL1/TOSC1 [pin 9]
- PB7/PCINT7/XTAL2/TOSC2 [pin 10]
- PC6/PCINT14/\~RESET\~ [pin 1]
- RXD/PCINT16/PD0 [pin 2]
- SCK/PCINT5/PB5 [pin 19]
- T0/XCK/PCINT20/PD4 [pin 6]
- T1/OC0B/PCINT21/PD5 [pin 11]
- TXD/PCINT17/PD1 [pin 3]
- VCC [pin 7]

*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://flux\.ai/mrman/esprsso32\-smart\-scale\-ai\-auto\-layout\-example\~rs](https://flux.ai/mrman/esprsso32-smart-scale-ai-auto-layout-example~rs).*

---

*Generated from [https://flux\.ai/mrman/esprsso32\-smart\-scale\-ai\-auto\-layout\-example\~rs](https://flux.ai/mrman/esprsso32-smart-scale-ai-auto-layout-example~rs)*