Finalize schematic, Add pcb to README

This commit is contained in:
jonny_l480 2024-09-08 11:05:37 +02:00
parent 37ccb496e0
commit b2702b112a
5 changed files with 41499 additions and 15 deletions

View File

@ -10,8 +10,8 @@ The projects in the folders `board_control/` and `board_motorctl/` are no longer
<img src="doc/2023.09.09_armchair-frame.jpg" alt="Photo machine" style="width:60%;"><br> <img src="doc/2023.09.09_armchair-frame.jpg" alt="Photo machine" style="width:60%;"><br>
*Photo of the built frame that carries the armchair* *Photo of the built frame that carries the armchair*
<br>
# Overview
## Current Features ## Current Features
- **Control Modes:** - **Control Modes:**
- **Joystick:** Control movement via hardware joystick mounted on the right armrest - **Joystick:** Control movement via hardware joystick mounted on the right armrest
@ -69,15 +69,31 @@ The projects in the folders `board_control/` and `board_motorctl/` are no longer
- Chair adjustment - Chair adjustment
- Simple App - Simple App
<br>
## Hardware Setup / Electrical ## Hardware Setup / Electrical
### PCB ### Control-PCB
The firmware is designed for an ESP32 microcontroller integrated into a custom PCB developed here: [Project Work 2020](https://pfusch.zone/project-work-2020) The firmware is designed for an ESP32 microcontroller integrated into a custom PCB developed here: [Project Work 2020](https://pfusch.zone/project-work-2020)
### Connection Plan ### Connection Plan
A detailed diagram illustrating all components and wiring can be found in the file [connection-plan.drawio.pdf](connection-plan.drawio.pdf). A detailed diagram illustrating all components and wiring can be found in the file [connection-plan.drawio.pdf](connection-plan.drawio.pdf).
For more details refer to the documentation on the [website](https://pfusch.zone/electric-armchair-v2). For more details refer to the documentation on the [website](https://pfusch.zone/electric-armchair-v2).
### Chair-Adjust Relay-Board
A custom pcb with relays and protection for controlling the 2 motors that adjust the rest positions of the armchair was created in this repository as well:
Date: 2024.09.08
Folder: [hardware/chairAdjust-relayBoard](hardware/chairAdjust-relayBoard)
Schematic: [hardware/chciairAdjust-relayBoard/export/schematic.pdf](hardware/chairAdjust-relayBoard/export/schematic.pdf)
<br>
<br>
<p align="center">
<img src="hardware/chairAdjust-relayBoard/export/layout.svg" style="width: 40%;">
<img src="hardware/chairAdjust-relayBoard/export/layout.jpg" width="36%" />
</p>
<br>
<br>
# Installation # Installation
@ -101,6 +117,10 @@ npm install
``` ```
<br>
<br>
# Building the Project # Building the Project
## React-webapp ## React-webapp
When flashing to the ESP32, the files in the `react-app/build/` folder are written to a SPIFFS partition. When flashing to the ESP32, the files in the `react-app/build/` folder are written to a SPIFFS partition.
@ -148,6 +168,9 @@ idf.py monitor
``` ```
<br>
<br>
# Usage / User Interface # Usage / User Interface

View File

@ -585,7 +585,7 @@
}, },
"net_format_name": "", "net_format_name": "",
"page_layout_descr_file": "", "page_layout_descr_file": "",
"plot_directory": "", "plot_directory": "export/",
"spice_current_sheet_as_root": false, "spice_current_sheet_as_root": false,
"spice_external_command": "spice \"%I\"", "spice_external_command": "spice \"%I\"",
"spice_model_current_sheet_as_root": true, "spice_model_current_sheet_as_root": true,

View File

@ -7402,9 +7402,9 @@
) )
(uuid "6e1082d8-c825-4413-b932-ddbe6be3a0f1") (uuid "6e1082d8-c825-4413-b932-ddbe6be3a0f1")
) )
(text "pull to GND\n(n-mos)" (text "pull to GND\n(n-mos, open drain)"
(exclude_from_sim no) (exclude_from_sim no)
(at 30.48 47.498 0) (at 32.512 48.006 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@ -7414,7 +7414,7 @@
) )
(text "40mA\n" (text "40mA\n"
(exclude_from_sim no) (exclude_from_sim no)
(at 90.424 55.118 0) (at 91.694 54.864 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@ -7455,7 +7455,17 @@
) )
(uuid "c9d06a0d-e45c-43d5-8982-e23a9726efe6") (uuid "c9d06a0d-e45c-43d5-8982-e23a9726efe6")
) )
(text "3mA" (text "5.1mA"
(exclude_from_sim no)
(at 39.878 43.18 0)
(effects
(font
(size 1.27 1.27)
)
)
(uuid "f08132f1-cb17-40f0-a763-83ed53838013")
)
(text "3.5mA"
(exclude_from_sim no) (exclude_from_sim no)
(at 62.738 47.244 0) (at 62.738 47.244 0)
(effects (effects
@ -8079,7 +8089,7 @@
(justify right) (justify right)
) )
) )
(property "Value" "22k" (property "Value" "7k5"
(at 48.26 38.0999 0) (at 48.26 38.0999 0)
(effects (effects
(font (font
@ -8375,7 +8385,7 @@
(justify right) (justify right)
) )
) )
(property "Value" "22k" (property "Value" "7k5"
(at 48.26 163.8299 0) (at 48.26 163.8299 0)
(effects (effects
(font (font
@ -9575,7 +9585,7 @@
) )
) )
) )
(property "Value" "4k7" (property "Value" "3k3"
(at 55.88 166.37 90) (at 55.88 166.37 90)
(effects (effects
(font (font
@ -11602,7 +11612,7 @@
) )
) )
) )
(property "Value" "4k7" (property "Value" "3k3"
(at 55.88 127 90) (at 55.88 127 90)
(effects (effects
(font (font
@ -12338,7 +12348,7 @@
(justify right) (justify right)
) )
) )
(property "Value" "22k" (property "Value" "7k5"
(at 48.26 124.4599 0) (at 48.26 124.4599 0)
(effects (effects
(font (font
@ -12913,7 +12923,7 @@
) )
) )
) )
(property "Value" "4k7" (property "Value" "3k3"
(at 55.88 40.64 90) (at 55.88 40.64 90)
(effects (effects
(font (font
@ -13194,7 +13204,7 @@
(justify right) (justify right)
) )
) )
(property "Value" "22k" (property "Value" "7k5"
(at 48.26 77.4699 0) (at 48.26 77.4699 0)
(effects (effects
(font (font
@ -13329,7 +13339,7 @@
) )
) )
) )
(property "Value" "4k7" (property "Value" "3k3"
(at 55.88 80.01 90) (at 55.88 80.01 90)
(effects (effects
(font (font

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 930 KiB