A "Pseudo Medical Device" and more
An ESP32 microcontroller project with a printed cirucit designed by nagham.kheir25.
This repository contains files which started as a KiCad home work project but which has evolved to become so usefull that in the summer of 2024 orders were placed for real hardware from JLCPCB for delivery in USA and from PCBWay for delivery in Lebanon.
Begun as Homework 2, by late 2024 we began refering to it as a "Pseudo Medical Device" akd PMD.
At times the PMD approximates the Krake hardware of the Public Invention project Krake. See: https://github.com/PubInv/krake
As of 20240911 See the README.md with in the Firmware folder for descriptions of files there.
As of 202709
Journal of assembly of PCBWay order in this issue: #33
Journal of assembly of JLCPCB order in this issue: #32
To finish the assemblies LEDs were soldered to the PCB
Image of assembly with LEDs on the Public Inventino GPAD stand off spacers.
View of the PMD on the workbench. Workbench designed by Oyindamola Adeniran
Several firmware "sketches" have been developed to assist in the verification of the assemblies including a marching 1 and marching 0 test.
During brain storming we have discussed how this assembly might be used as a "PMD" Pesudo Medical Device. A device to control a Krake and the Mocking Krake. (See Krake: https://github.com/PubInv/krake)
The "HOMEWORK 2" PCB is designed around the ESP32 Devkit V1. Documentation for the devkit V1 can be found here. https://embedded-systems-design.github.io/overview-of-the-esp32-devkit-doit-v1/
Valuable symbols and circuits have been acquired and deposited in this repository for the public use:
- ESP32 symbol and footprint libraries.
- A voltage regulation circuit.
- Switches are linked to the input pins of the ESP32 with pull-up resistors.
- 4 switches connected to the input pins of the esp32
- 6 leds are connected to the output pins of the Esp32
- the voltage regulator supply the esp32 with a 5 V
3D view of the PCB
All Layers View
GPIO number | Function as used | ESP32_DEVKITV1 pin number | Target device |
---|---|---|---|
0 | BOOT | BOOT | NA |
2 | LED_BUILTIN / OUTPUT | 27 | D4-ONOFF |
34 | INPUT ONLY | 12 | S3-muteFiveMin1 |
35 | INPUT ONLY | 11 | S4-SendEmergMessage1 |
39 | INPUT ONLY | 13 | S2-RepeatCalculation1 |
36 | INPUT ONLY | 14 | S1-morseCodeDanger1 |
23 | OUTPUT | 1 | D9-MUTE1 |
15 | OUTPUT | 28 | D5-coldFood1 |
4 | OUTPUT | 26 | D3-babyCrying1 |
5 | OUTPUT | 23 | D8-highBP1 |
18 | OUTPUT | 22 | D7-SheildFailure1 |
19 | OUTPUT | 21 | D6-lostSock1 |
21 | SDA | 19 | SDA LCD |
22 | SCL | 17 | SCL LCD |
17 | TX2 | 24 | RX DFPLAYER |
16 | RX2 | 25 | TX DFPLAYER |
- I understand the function of a decoupling resistor.
- I comprehend the rationale behind including a voltage regulator circuit.
- ESP32 input pins require a pull-up resistor.
- It's necessary to include a power flag next to your GND and Vin connections in the KiCad schematic.
- The ESP32 antenna should be positioned at the edge of the PCB.
- The anular ring between the inner and outer diameters of the through holes in the ESP32 footprint is 0.7 mm.
- the pins of the Esp32 are numberred counter clockwise
- Fun Fact, LED_BUILTIN Not Defined for ESP32 Dev Module but is defined for ESP32S2 Dev Module
- I've made errors.
- Engineers and spelling are not bestfriends.
- I was about to distroy the universe but my ESP32 was not strong enough.
In propositional logic and Boolean algebra, De Morgan's laws, AKA De Morgan's theorem,
are a pair of transformation rules that are both valid rules of inference.
The rules allow the expression of conjunctions and disjunctions purely in terms of each other via negation.
Named after Augustus De Morgan, a 19th-century British mathematician.
I would like to express my gratitude to the developers and maintainers of several platforms. Firstly, GitHub, for its project management features, issues tracking, and project board, which have consistently proven useful during our usage. Additionally, I extend my thanks to KiCAD for providing the tools necessary for schematic capture and PCB design. I also appreciate the inventors and developers of the Arduino ecosystem, whose tools and hardware have had a profoundly positive impact on many individuals.
Furthermore, I am grateful for the Public Invention platform, which has facilitated communication and collaboration. Special recognition goes to my exceptional mentors and colleague Oyindamola Adeniran, Mr. Forrest Lee Ereckson and Mr. Robert Reed. Their guidance has been invaluable in navigating these projects, fostering skill development, and providing ongoing support. Their mentorship has empowered me to apply my knowledge to projects that benefit public invention.
- Firmware: Affero GPL 3.0
- CERN Open Hardware Licence Version 2 - Strongly Reciprocal