

Memetrol base
- Size
- 64 × 130 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 82
- Nets
- 100
- Pads
- 336
- Tracks, vias
- 583, 180
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 11 Oct 2024
- Updated
- 11 Oct 2024
Overview
Memetrol base is an open-source printed circuit board by Cortog, from the Cortog/Memetrol_hardware repository on GitHub. It is a 2-layer board of 64 × 130 mm with 82 parts on 100 nets, routed with 583 tracks and 180 vias.
It is built around the DS3231MZ+, DS3231MZ/V+ and RP2040-ZERO, with the BSS138 among its other parts. Its parts include 32 resistors, 13 transistors, 9 capacitors, 9 connectors and 8 diodes. It belongs with the RP2040 and Raspberry Pi (Linux) boards of this library.
Main components
4DS3231MZ+
SOIC-8-40℃~+85℃ 2.3V~5.5V I2C Temperature compensation、Backup power management and battery charging、Alarm function、Periodic interrupt output SOIC-8 Real Time Clocks ROHSMaxim Integrated (Analog Devices)Real Time ClocksDS3231MZ/V+
SOIC-8-40℃~+85℃ 2.3V~5.5V Built-in I2C Temperature compensation、Backup power management and battery charging、Alarm function、Locking and tamper-proof、Periodic interrupt output SOIC-8 Real Time Clocks ROHSMaxim Integrated (Analog Devices)Real Time ClocksRP2040-ZERO
-- Development Boards & Kits ROHSWaveshareDevelopment Boards & KitsBSS138
SOT-23-55℃~+150℃ 1 N-channel 1.1Ω@10V、1.2Ω@4.5V 1.2V 1.7nC@10V 17.5pF 340mA 350mW 50V 6.5pF N-Channel SOT-23 MOSFETs ROHShongjiachengMOSFETs
README
README.mdContext
This repository contains the hardware design files for the Memetrol project. This project can control three washing machines and one dryer. Users can authenticate themselves using an RFID badge. The system logs the usage of the machines. A webserver on the system serves these logs to the administrator.
Hardware
The hardware consists of a Raspberry Pi zero W and a Waveshare RP2040-zero both mounted on the base PCB. This PCB also contains the power supply, the relay drivers and analog circuitry for the current sensors. The Raspberry Pi is connected to the Waveshare RP2040-zero with UART. The Waveshare RP2040-zero is connected to the relay drivers and the current measurement circuitry. The Raspberry Pi is connected to the rest of the peripherals using a 20 pin ribbon cable. This cable goes to the door PCB, at which point the connections to the buttons, the LCD and the RFID reader are broken out.
Changes for the next revision
- Not enough mounting holes were placed on the main PCB. In the end I drilled out the 2.5 mm mounting holes for the Raspberry Pi to 3 mm and drilled an extra one here: image. In a future revision the mounting holes should be placed in the correct locations.
- R25 was not needed. This is the resistor in series with the buzzer. The volume can be controlled by varying the duty cycle of the PWM signal. This resistor should be removed in the next revision.
- The buzzer is not loud enough, a different buzzer should be used.
- The connectors for the relays should be changed, currently it consists of two connectors, one for + and one for ground. It should be changed to four connectors, one for each relay, this makes the connections more clear. The current labeling on the PCB is also not correct, where it says Ground it should be 12 volt.
- The analog circuitry for the current measurement could have its own 3.3 volt, or even a 1.65 volt regulator, this might make the measurements more stable.
- The rp2040-zero should know if the override switches are pressed, this would make calibration easier, since the rp2040-zero can then know if it should be measuring zero current or not.
- The electrolytic capacitors in the analog circuitry could be a lot smaller, these were only used because I had them laying around.
- An input power capacitory should be added.
- Maybe an aditional button should be added to the main PCB, this could be used for resetting passwords.
- In the current design a solderbridge is used to select between 5 volts and 12 volts for the button led power, with 12 volts being the default. However, the button leds can only handle up to 6 volts. The door PCB should be changed so that the leds can only be powered from the 5 volt rail.
- During the building of the PCB several mosfets broke, the gate was at around one volt even though it was being pulled down. After replacing them it was improved, but I also added a 10k resistor in parallel with the button leds which improved the leds realy turning off when the gate was being pulled down. This situation should be investigated further.
- Maybe an RFID interupt pin can be added to the door PCB, this would make the system more responsive and use less cpu time.
- The RFID and the LCD are on the same LCD bus, but this makes the RFID reader misbehave. Therefore it needs to be reset every time it is used. This should be fixed in the next revision.
Parts
82| Qty | Value | Footprint | References |
|---|---|---|---|
| 27 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2, R10, R11, R12, R13, R14, R15, R16, R19, R20, R21, R22, R26, R27, R28 +11 |
| 9 | BSS138 | Package_TO_SOT_SMD:SOT-323_SC-70_Handsoldering | Q1, Q2, Q7, Q8, Q9, Q10, Q11, Q12, Q13 |
| 5 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C5, C6, C7, C8, C9 |
| 4 | 150uF | Capacitor_SMD:CP_Elec_5x5.3 | C1, C2, C3, C4 |
| 4 | 1N4007 | Diode_SMD:D_SOD-123F | D3, D4, D7, D8 |
| 4 | 1k8 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R17, R18, R23, R24 |
| 4 | AudioJack3_SwitchTR | Connector_Audio:Jack_3.5mm_CUI_SJ1-3525N_Horizontal | J5, J6, J7, J8 |
| 4 | BLUE_LED | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1, D2, D5, D6 |
| 4 | BSS138 | lib:SOT-323_SC-70_large_drain | Q3, Q4, Q5, Q6 |
| 4 | SW_DPDT_x2 | lib:DPDT_7x7mm_blue-white | SW1, SW2, SW3, SW4 |
| 2 | Conn_01x04 | 8971039:8971039 | J3, J10 |
| 1 | ? | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R25 |
| 1 | Barrel_Jack_MountingPin | Connector_BarrelJack:BarrelJack_Horizontal | J4 |
| 1 | Buzzer | Buzzer_Beeper:MagneticBuzzer_ProSignal_ABT-410-RC | BZ1 |
| 1 | CR2032_battery_holder_2x_positive | lib:RS_PRO_CR2032_237-8358 | BT1 |
| 1 | Conn_02x10_Odd_Even | Connector_IDC:IDC-Header_2x10_P2.54mm_Vertical | J2 |
| 1 | DS3231M | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U3 |
| 1 | DS3231MZ | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U4 |
| 1 | Raspberry_Pi_Zero | lib:Raspberry_Pi_Zero_Socketed_THT_FaceUp_MountingHoles | J9 |
| 1 | SW_power_RPZ | Button_Switch_THT:SW_PUSH_6mm_H7.3mm | SW5 |
| 1 | rp2040-zero | lib:rp2040-zero-tht | U1 |
| 1 | ~ | lib:MP2315_board_vertical | U2 |
More from Cortog/Memetrol_hardware
1- 2 layers49 × 47 mm

Similar boards
- 4 layers101.6 × 147.3 mm

- 2 layers140 × 72.5 mm

Nixie proj
dm2lct/Nixieclock_kit
This is a Nixie-clock controlled by a ESP8266 module with NTP and MQTT support.
119 parts9GPL-3.0 - 2 layers120 × 100 mm

- 2 layers65 × 56 mm

RDMA
SkullKill/RDMA-PCB
Rpi Dead Man Alarm - PCB and 3D case - Occupancy Monitoring - Raspberry Pi hat
92 partsGPL-3.0 - 2 layers150 × 108 mm

- 4 layers92 × 95 mm

- 2 layers92 × 76 mm

ILV2-7-5 Clock
biomurph/ILV2-7-5_VFD_Display
KiCAD circuit for a VFD Clock using the Popular ILV2-7/5 flat tube segmented nixie
50 parts3GPL-3.0 - 4 layers78 × 58 mm

Questions
How big is the Memetrol base PCB?
It measures 64 × 130 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Memetrol base use?
82 parts, built around the DS3231MZ+, DS3231MZ/V+, RP2040-ZERO and BSS138. 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.
Where can I download the Memetrol base KiCad files?
From the Cortog/Memetrol_hardware repository on GitHub, at the commit this page was made from: the board is memetrol_base/memetrol_base.kicad_pcb and its schematic memetrol_base/current_measurement.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Memetrol base design in my own project?
Its repository states no licence, so its author keeps all rights: ask Cortog before reusing the design.