Skip to the content
2 layers64 × 130 mmMemetrol base, the printed circuit board in 3D
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

4

README

README.md

Context

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
QtyValueFootprintReferences
2710kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2, R10, R11, R12, R13, R14, R15, R16, R19, R20, R21, R22, R26, R27, R28 +11
9BSS138Package_TO_SOT_SMD:SOT-323_SC-70_HandsolderingQ1, Q2, Q7, Q8, Q9, Q10, Q11, Q12, Q13
5100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC5, C6, C7, C8, C9
4150uFCapacitor_SMD:CP_Elec_5x5.3C1, C2, C3, C4
41N4007Diode_SMD:D_SOD-123FD3, D4, D7, D8
41k8Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR17, R18, R23, R24
4AudioJack3_SwitchTRConnector_Audio:Jack_3.5mm_CUI_SJ1-3525N_HorizontalJ5, J6, J7, J8
4BLUE_LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD1, D2, D5, D6
4BSS138lib:SOT-323_SC-70_large_drainQ3, Q4, Q5, Q6
4SW_DPDT_x2lib:DPDT_7x7mm_blue-whiteSW1, SW2, SW3, SW4
2Conn_01x048971039:8971039J3, J10
1?Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR25
1Barrel_Jack_MountingPinConnector_BarrelJack:BarrelJack_HorizontalJ4
1BuzzerBuzzer_Beeper:MagneticBuzzer_ProSignal_ABT-410-RCBZ1
1CR2032_battery_holder_2x_positivelib:RS_PRO_CR2032_237-8358BT1
1Conn_02x10_Odd_EvenConnector_IDC:IDC-Header_2x10_P2.54mm_VerticalJ2
1DS3231MPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU3
1DS3231MZPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU4
1Raspberry_Pi_Zerolib:Raspberry_Pi_Zero_Socketed_THT_FaceUp_MountingHolesJ9
1SW_power_RPZButton_Switch_THT:SW_PUSH_6mm_H7.3mmSW5
1rp2040-zerolib:rp2040-zero-thtU1
1~lib:MP2315_board_verticalU2

More from Cortog/Memetrol_hardware

1
  • 2 layers49 × 47 mmMemetrol door, the printed circuit board in 3D

    Memetrol door

    Cortog/Memetrol_hardware

    14 parts

Similar boards

  • 4 layers101.6 × 147.3 mmKarabas go, the printed circuit board in 3D

    Karabas go

    andykarpov/karabas-go-pcb

    Karabas-Go PCB

    311 parts3
  • 2 layers140 × 72.5 mmNixie proj, the printed circuit board in 3D

    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 mmHd6309sbc v2c, the printed circuit board in 3D

    Hd6309sbc v2c

    cartheur/M6x09H2-SBC

    A design for a Hitachi HD6309 SBC - Version 2

    113 partsMIT
  • 2 layers65 × 56 mmRDMA, the printed circuit board in 3D

    RDMA

    SkullKill/RDMA-PCB

    Rpi Dead Man Alarm - PCB and 3D case - Occupancy Monitoring - Raspberry Pi hat

    92 partsGPL-3.0
  • 4 layers92 × 95 mmESP32-CAN, the printed circuit board in 3D

    ESP32-CAN

    Eric-2012/ESP32-CAN

    251 parts5
  • 2 layers92 × 76 mmILV2-7-5 Clock, the printed circuit board in 3D

    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

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.