
ESP32-Based Power Monitoring System
mirjunaid/ESP32-Based-Power-Monitoring-System
Power Monitoring system based on esp32 with a OLED display.

BLE controlled camera slider
MR SLDR-01 is an open-source printed circuit board by MikolajMarkiel, from the MikolajMarkiel/MR_SLDR repository on GitHub, published under the MIT licence. It is a 2-layer board of 89.3 × 68 mm with 139 parts on 135 nets, routed with 1,031 tracks and 159 vias.
It is built around the DRV8825PWP, BC817 and SS24, with the QM6006D-VB, BAT54S and IRLML6402 among its other parts. Its parts include 49 resistors, 29 capacitors, 10 connectors, 9 ICs and 9 transistors. It belongs with the ESP32 boards of this library.
The project is in build stage. Missing documentation and functionalities will be added in time.
The MR_SLDR is a project of remote controlled slider for camera. It will be controlled by Bluetooth Low Energy protocol. The main library source for this project is Zephyr OS.
Due to problems with flexibility occurence of threads in zephyr (minimal period step is 100us) I've decided to leave control of stepper motor up to hardware timer peripheral. Unfortunately right now esp32 timer drivers are dedicated only for counters that lose synchronization after overflow of counted ticks. Because of that I had to add extra modification to counter_esp32_tmr.c file (this file is a driver to handle every action of timer after setting devicetree &timerX status = "okay"). The modification allow us to decide that counter will autoreset after getting alarm or won't. It doesn't harm any project that use old driver, because for this to work user has to add extra COUNTER_AUTORESET config to Kconfig file. I've included new counter_esp32_tmr.c file in bin/ directory. The path for replacement is ../zephyrproject/zephyr/drivers/counter/counter_esp32_tmr.c
The main supply for the board is +5V microUSB port. It supplies two DC-DC converters: step-up to +12V and step-down to +3,3V. The +12 DC voltage is needed for charging alternative power supply based on 3 li-ion cells driven by BMS3451 BMS. If there is no USB cable connected, then step-down converter is supplied by +12V instead. There is an external switch that enables step-down converter. If it is disabled, then every peripheral would be powered down except stepper motor driver which would go into sleep mode instead. Connecting USB cable with switch turned off allow charging batteries without turning on the device. Voltage level of cell block is continually checked by ADC, and the feedback information is given to user via BLE.
An ESP32 module has been chosen as a CPU for the device. It has been because of his low cost and support for bluetooth communication and zephyr OS. There are two ways to communicate PC with CPU: via CP2102 USB to UART bridge module connected to micro USB and JTAG connector. Both allow to program flash memory. Additionally the bridge provides serial communication with PC and JTAG give possibility to debug software.
DRV8825 module has been used as an output driver for stepper motor. It provides easy interface because of it's STEP/DIR functionality. For more information please refer to datasheet of module.
For checking actual position of camera even after power off the laser distance meter VL53LXX module is connected to CPU by I2C interface. Because it is needed to connect module directly at path of moving camera, then the module has been removed from the main hardware PCB and case. For more information please refer to datasheet of module.
There are also two isolated switches for example for activating remote control of camera or other these types activities. They are designed with use of single channel transoptors PC817.
The board provides also external EEPROM (M93C76C module) for saving user data of slider settings. It communicates with CPU via SPI interface.
The board has been designed for Z57J universal case (https://www.kradex.com.pl/product/enclosures_hermetically_sealed/z57j_ps?lang=en) but it is also possible to print something similar. By now there is no need to provide additional 3D models of case.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 15 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2, C3, C4, C5, C6, C8, C9, C10, C12, C13, C15, C21, C22, C29, C30 |
| 14 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2, R3, R7, R14, R15, R16, R19, R26, R30, R31, R43, R44, R47 |
| 7 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R12, R32, R33, R34, R38, R41, R42 |
| 7 | TestPoint | TestPoint:TestPoint_THTPad_1.0x1.0mm_Drill0.5mm | Batt.meas1, TP3, TP4, TP5, TP6, TP7, TP8 |
| 6 | BC817 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2, Q6, Q7, Q8, Q9 |
| 5 | SolderJumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP2, JP3, JP4, JP5, JP6 |
| 4 | 100k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R24, R39, R40, R48 |
| 4 | 10nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C25, C26, C27, C28 |
| 4 | 5m | Resistor_SMD:R_2512_6332Metric_Pad1.40x3.35mm_HandSolder | R17, R18, R22, R23 |
| 4 | Conn_01x02_Pin | Connector_Molex:Molex_SL_171971-0002_1x02_P2.54mm_Vertical | J1, J8, J9, J10 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 4 | SolderJumper_2_Bridged | Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP1, JP7, JP8, JP9 |
| 3 | 1M | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R9, R11, R35 |
| 3 | 3k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R5, R10, R20 |
| 3 | 470nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C17, C18, C23 |
| 3 | SS24 | bin:DIOM5336X265N | D1, D2, D3 |
| 3 | none | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R45, R46, R49 |
| 2 | 100m | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R36, R37 |
| 2 | 470uF | Capacitor_THT:CP_Radial_D8.0mm_P3.80mm | C11, C14 |
| 2 | 5M | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4, R8 |
| 2 | 680uF | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C1, C19 |
| 2 | PC817 | Package_DIP:DIP-4_W7.62mm | U8, U9 |
| 2 | QM6006D | Package_TO_SOT_SMD:TO-252-2 | Q4, Q5 |
| 2 | ~ | Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.29x3mm | U2, U3 |
| 1 | +12V | TestPoint:TestPoint_THTPad_1.0x1.0mm_Drill0.5mm | TP2 |
| 1 | +3.3V | TestPoint:TestPoint_THTPad_1.0x1.0mm_Drill0.5mm | TP1 |
| 1 | 1.8k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R21 |
| 1 | 100k | Potentiometer_THT:Potentiometer_Bourns_3296W_Vertical | RV1 |
| 1 | 100uF | Capacitor_THT:CP_Radial_D8.0mm_P3.80mm | C24 |
| 1 | 10V | Diode_SMD:D_MiniMELF | D5 |
| 1 | 11k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R25 |
| 1 | 1k | Resistor_SMD:R_Array_Convex_4x1206 | RN1 |
| 1 | 220k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6 |
| 1 | 22uH | Inductor_SMD:L_TDK_VLF10040 | L2 |
| 1 | 24k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R27 |
| 1 | 2k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R13 |
| 1 | 33uH | Inductor_SMD:L_12x12mm_H8mm | L1 |
| 1 | 4,7k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R29 |
| 1 | 4.7uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C20 |
| 1 | 47k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R28 |
| 1 | 93CxxC | Package_SO:SO-8_3.9x4.9mm_P1.27mm | U7 |
| 1 | BAT54S | Package_TO_SOT_SMD:SOT-23 | D6 |
| 1 | BM3451 | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U1 |
| 1 | CP2102N-Axx-xQFN28 | Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mm | U5 |
| 1 | Conn_01x04_Pin | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J2 |
| 1 | Conn_01x04_Socket | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J5 |
| 1 | Conn_01x06_Pin | Connector_Molex:Molex_KK-254_AE-6410-06A_1x06_P2.54mm_Vertical | J6 |
| 1 | Conn_02x04_Odd_Even | Connector_PinSocket_2.54mm:PinSocket_2x04_P2.54mm_Vertical | J7 |
| 1 | Conn_02x05_Odd_Even | Connector_PinHeader_2.00mm:PinHeader_2x05_P2.00mm_Vertical | J4 |
| 1 | DRV8825 | Package_SO:HTSSOP-28-1EP_4.4x9.7mm_P0.65mm_EP3.4x9.5mm_ThermalVias | U6 |
| 1 | ESP32-WROOM-E | Espressif:ESP32-WROOM-32E | U4 |
| 1 | Fuse | Fuse:Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolder | F1 |
| 1 | IRLML6402 | Package_TO_SOT_SMD:SOT-23 | Q3 |
| 1 | SP0503BAHT | Package_TO_SOT_SMD:SOT-143 | D4 |
| 1 | USB_B_Micro | Connector_USB:USB_Micro-B_Amphenol_10118194_Horizontal | J3 |
| 1 | none | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C16 |

mirjunaid/ESP32-Based-Power-Monitoring-System
Power Monitoring system based on esp32 with a OLED display.



blue-wind-25/JxMake
JxMake is a Java-based, cross-platform build system primarily inspired by the syntax and features of GNU Make, Perforce Jam, and CMake.


alorcs/Irrigation-System-v2
The external footprints used can be found in the Imports folder.


It measures 89.3 × 68 mm and has 2 copper layers, 1.6 mm thick.
139 parts, built around the DRV8825PWP, BC817, SS24 and QM6006D-VB. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the MikolajMarkiel/MR_SLDR repository on GitHub, at the commit this page was made from: the board is hardware/MR-SLDR-01/MR-SLDR-01.kicad_pcb and its schematic hardware/MR-SLDR-01/MR-SLDR-01.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).