
C64-Switchless Quad Kernal Switcher
bwack/C64-Switchless-Multi-Kernal-27C256-adapter
Kernal switcher for the C64/C64C/C128

Control a MeacoFan 1056 using Homebridge
Meaco attiny is an open-source printed circuit board by AaronC81, from the AaronC81/meacofan-homebridge-controller repository on GitHub, published under the MIT licence. It is a 2-layer board of 35.1 × 32 mm with 17 parts on 12 nets, routed with 65 tracks and 0 vias.
It is built around the ATTINY85-20PU. Its parts include 4 resistors, 4 connectors, 2 diodes, 1 IC and 1 transistor. It belongs with the AVR (ATmega, ATtiny) boards of this library.
This project connects a MeacoFan 1056 desk fan to HomeKit using Homebridge, enabling it to be controlled using your iOS device or Siri.
The PCB blasts the same IR commands as the fan's real remote control, accepting commands over I2C so that it can be controlled from a Raspberry Pi.
[!WARNING] This is quite rough around the edges. I wouldn't recommend building one of these yourself!
The PCB is a KiCad project in hardware/pcb. (The BOM is hopefully self-explanatory from the
schematic!)
Once assembled, the on-board ISP port can be used to flash the ATtiny85. You'll also need to set appropriate fuses to use the internal 8 MHz clock, which the software relies on. The AVRDUDE flags for this are:
-U lfuse:w:0xe2:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m(Note that, until the clock is increased with these fuses, you may need to slow down ISP
communication speed: -B 125kHz)
homebridge-plugin contains a Homebridge accessory plugin which implements the
Fan service. This sends I2C commands to the PCB
to match the desired speed set through HomeKit. (HomeKit only supports 0%-100% speeds, so these
are mapped onto the fan's 1-12 speed settings.)
You will need the i2c-tools package installed to provide the i2ctransfer command-line tool.
Make sure that I2C is enabled in your raspi-config too. If everything is working OK, the device
should appear at address 0x40 in i2cdetect.
The software is written as a PlatformIO project targeting the ATtiny85, using the Arduino framework.
The ATtiny85 acts as a bit-banged I2C peripheral on address 0x40. Only one operation is supported, a single-byte write where the byte is in the following format:
.--------------- checksum - number of 1s in rest of packet
.-'-.
c c c 1 s s s s
'--.--'
'------ new desired speed (0-12), 0 means offThese packets are designed to be idempotent, so your host should probably send these multiple times to account for the sloppy I2C bit-banging.
The fan operates with NEC-format IR codes at address 0x80. The individual commands are documented below:
| Purpose | Command | Raw |
|---|---|---|
| Power | 0x92 | 0x6D927F80 |
| Vertical oscillation | 0x8A | 0x758A7F80 |
| Horizontal oscillation | 0x87 | 0x78877F80 |
| Eco | 0x81 | 0x7E817F80 |
| Pre-on | 0x82 | 0x7D827F80 |
| Pre-off | 0x83 | 0x7C837F80 |
| Light | 0x9E | 0x619E7F80 |
| Speed up | 0x89 | 0x76897F80 |
| Speed down | 0x9F | 0x609F7F80 |
There's a very rough 3D printed enclosure which keeps the IR LED aimed in hardware/case.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | Conn_01x02_Male | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3, J4 |
| 2 | LED | LED_THT:LED_D5.0mm | D1, D2 |
| 1 | 10K | Resistor_SMD:R_0603_1608Metric | R1 |
| 1 | 1K | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 2N3904 | Package_TO_SOT_THT:TO-92_Inline | Q1 |
| 1 | 330 | Resistor_SMD:R_0603_1608Metric | R2 |
| 1 | 47 | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | ATtiny85-20P | Package_DIP:DIP-8_W7.62mm | U1 |
| 1 | Conn_01x04_Male | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J1 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm | SW1 |
The 13 most common of 17 parts.

bwack/C64-Switchless-Multi-Kernal-27C256-adapter
Kernal switcher for the C64/C64C/C128

plusvic/simplebus2-intercom
General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.

osmocom/osmocom-analog
Software Implementation of analog cellular telephony systems like NMT, TACS, IMTS, A/B/C-Netz; mirror of https://gitea.osmocom.org/cellular-infrastructure/osmocom-analog

strickyak/jerboa-attiny85-mod-synth
Modular Synthesizer using an ATtiny85 chip for each module.


Hack-a-Day/Remoticon_KiCad_Blender
support files for the 2020 Remoticon KiCad to Blender > PCB renders workshop

It measures 35.1 × 32 mm and has 2 copper layers, 1.6 mm thick.
17 parts, built around the ATTINY85-20PU. 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 AaronC81/meacofan-homebridge-controller repository on GitHub, at the commit this page was made from: the board is hardware/pcb/meaco-attiny.kicad_pcb and its schematic hardware/pcb/meaco-attiny.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).