diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-11-03 16:09:00 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-11-03 16:09:00 +0800 |
| commit | eb940a0c196f8f6207bc35dfc48ab30537435e95 (patch) | |
| tree | f6870420ba81c09929cc8b0b777d9bf2baa6c12d | |
| parent | a4482eb71f97af2b7e9449f0bd90f483a6c2e513 (diff) | |
| download | smart-home-eb940a0c196f8f6207bc35dfc48ab30537435e95.tar.gz | |
Readme format.
| -rw-r--r-- | door_lock/README.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/door_lock/README.txt b/door_lock/README.txt index 1e6046f..e9fbe1d 100644 --- a/door_lock/README.txt +++ b/door_lock/README.txt @@ -1,14 +1,14 @@ ELECTRICAL CONNECTIONS -Following connections puts the atmega328p in a configuration that -mirrors the configuration of an Arduino Uno. +Following connections puts the atmega328p in a configuration that mirrors the +configuration of an Arduino Uno. - 1. Pin 1 of the IC connects to the 5V via a 10k resistor to prevent - the atmega328p from resetting. - 2. A 16MHz crystal oscillator connects to pins 9 and 10, and each pin - of the crystal oscillator connects to ground via 22pF capacitors. - 3. Pins 7, 20 and 21 (counted clockwise from the bottom left of the - IC) connect to 5V. + 1. Pin 1 of the IC connects to the 5V via a 10k resistor to prevent the + atmega328p from resetting. + 2. A 16MHz crystal oscillator connects to pins 9 and 10, and each pin of the + crystal oscillator connects to ground via 22pF capacitors. + 3. Pins 7, 20 and 21 (counted clockwise from the bottom left of the IC) + connect to 5V. 4. Pins 8 and 22 connect to ground. Now connect the PWM line of the servo to pin 15 of the IC. |
