
Sub
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

This is a novelty PCB art of a purring cat
PurrCat2032 is an open-source printed circuit board by gharmelech, from the gharmelech/purrCat repository on GitHub. It is a 2-layer board of 34.7 × 64 mm with 15 parts on 20 nets, routed with 72 tracks and 4 vias.
Its parts include 4 resistors, 3 capacitors, 3 diodes, 1 IC and 1 transistor. It belongs with the MSP430 boards of this library.
This is a novelty PCB Art of a purring cat.
Feel free to use this project or parts of it at will, but please give credit when doing so.
While this is an open source project, I am selling kits and assembled units for 10 and 15 USD respectivly.
Please consider supporting us by ordering here.
The art was made by Taly Reznik - @trollworks
Go check out her awesome work!
The project is based on TI's msp430fr2111 MCU. The current software could fit in (and easily compiled for) msp430fr2110 and could probably be further optimized to fit msp430fr2100, but going with the 2111 model leaves a lot of room for future expansion with just a small price difference.
Purring is achived with a round radial vibration motor, which is low-side controlled with an nmos transistor.
In addition, the eyes light up using reverse-mounted LEDs (might be worthwhile to change it to a side view LED in the future).
Petting is detected using capacitive touch.
There are 4 touch pads on the PCB, but only 1 is in use in the current FW.
I wanted to make the cat as realistic as possible, so it only likes petting between 0.5 and 2Hz.
(Since I'm not doing swipe detection, it would also work with tapping. I might change it in a future version)
This is achived using a 2s sample buffer with 125ms slots. if the pad is touched for more than 3 slots in a row, the buffer zeroes.
Furthermore, purring only starts after at least 1s of petting.
I have programmed a simple PWM function to make the vibration feel like real purring.
It has dynamic change to the duty cycle, this creates the subtle ramp-up and ramp-down typical of a cat's purring.
I tried a sinusoidal PWM function, but it didn't have the right feel to it.
The MCU is programmed using Code Composer Studio IDE.
For software flashing I use a TI dev board LAUNCHPAD MSP-EXP430FR2433, which is the lowest cost programmer option available, though I assume you could make a flashing device out of an arduino.
I left 3x2mm pitch pads for programming right near the MCU.
They are arranged (from top to bottom) GND-SBWTCK-SBWTDIO, an additional connection to VCC is required and could be obtained from the battery clip.
The FW used to feature a distinct power saving mode, but changing the wait timer to RTC with VLO clock source randered that mode as unnedded.
It is still available in code using a #define flag.
In the current configuration, sampling consumes about 2 micro Ampere - around 60uW at nominal 3V.
When Purring, i.e. when the motor and the LEDs are enabled, the current consumption is about 22mA - 66mW at nonminal 3V.
The final design uses a cr2032 lithium cell which are rated at about 240mAh.
While theoretical battery life should have been roughly 8 hours of purring or about 6 years of idle,
The 240mAh rating is given at much lower current draw than that of the active purring.
At 20mA, most cr2032 have a capacity of a mere 10-15mAh, giving only about 30 minutes of active purring.
I don't have a good explantion for it, but idle time also seems to substencialy lower than the theoretical - getting to around one week.
Note that this is not linear and even a small reduction in current draw while purring would result in longer operation time.
Sadly, I was'nt able to find a way to reduce to consumption enough.
Giving the poor battery life, I designed a small PCB holding an LDO and a charge connector for a LiPo, to be soldered instead of the battery clip. The thought of using a LiPo crossed my mind several times, but I deemed it unvaiabel because of cost and required PCB space for a charge controller. Finally, I had the realization to use a generic LiPo charger externaly (which could be obtained from AliExpress for very cheap) instead of making it onboard. I did changed the current select resistor on the charger such that the max charge current will be 100 mA - suitable for the tiny LiPo I use.
I decided to use a 501015 60mAh battery. Because these are rated at 1C, we get a runtime much closer to the theoretical value - about 1.5 hours of purring! I have used a sub-optimal LDO with 30 uA quiescent current, which becomes the dominant current draw during idle. I calculated arround 40 days of idle time, but have not ran this long time test yet.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 1k | Resistor_SMD:R_0603_1608Metric | R2, R3, R4 |
| 2 | 10u | Capacitor_SMD:C_0805_2012Metric | C1, C2 |
| 2 | LED | LED_SMD:LED_0805_2012Metric | D2, D3 |
| 1 | 100k | Resistor_SMD:R_0603_1608Metric | R1 |
| 1 | 100n | Capacitor_SMD:C_0603_1608Metric | C3 |
| 1 | Battery_Cell | Battery:BatteryHolder_Keystone_3034_1x20mm | BT1 |
| 1 | D_Schottky | Diode_SMD:D_0603_1608Metric | D1 |
| 1 | MSP430FR2110/MSP430FR2111 | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U1 |
| 1 | Q_NMOS_GSD | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | Val** | purrCat_lib:biggerCat_kicad_layers | Ref** |
The 14 most common of 15 parts.

google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

mntmn/amiga2000-gfxcard
MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

kenp-io/not-for-airpods-repairs
The content of this repository is licensed under the WTFPL License. Please have a close look at the terms before using this material.

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

Chrismettal/EleLab_v2
Cheap DIY lab system for hobbyists and the tinkering folk

It measures 34.7 × 64 mm and has 2 copper layers, 1.6 mm thick.
15 parts. 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 gharmelech/purrCat repository on GitHub, at the commit this page was made from: the board is PCB/purrCat2032.kicad_pcb and its schematic PCB/purrCat2032.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask gharmelech before reusing the design.