
Rx module
koushik12328/Smart_mining_helmet
An ESP32-powered safety helmet featuring gas detection, impact sensing, and IoT connectivity

This SBC was created with one goal in mind - to run UNIX or UNIX-like OS on it. In order to achieve this, the Motorola 68010 had to be chosen since it's the first mc68k family member to support virtual memory (at least…
Mc68k sbc is an open-source printed circuit board by lokuciejewski, from the lokuciejewski/mc68k_unicorn repository on GitHub, published under the MIT licence. It is a 2-layer board of 140 × 140 mm with 88 parts on 158 nets, routed with 2,909 tracks and 466 vias.
It is built around the MAX232N, FT231XS-R and PCF8584T, with the AS6C4008-55PCN, AMS1117-3.3 and MCP100-450DI/TO among its other parts. Its parts include 23 capacitors, 15 resistors, 12 ICs, 7 diodes and 6 connectors. It belongs with the computers and single-board computers boards and the FPGA and CPLD boards of this library.
This SBC was created with one goal in mind - to run UNIX or UNIX-like OS on it. In order to achieve this, the Motorola 68010 had to be chosen since it's the first mc68k family member to support virtual memory (at least in the basic form) and is able to cooperate with a MMU natively.
The board is designed in KiCad. The main specs are:
The board uses two voltage rails, 5V and 3V3, with the latter being used to power the CPLD only and the rest of the system being powered from the 5V. The 3V3 regulator derives its voltage from the 5V rail which is supplied via the USB-C plug which also doubles as the UART1 (Serial A) input/output. The board has a DB9 socket which is connected via MAX232 to the 68681 DUART on UART2 (Serial B). Additionally, there is a JTAG header for programming the CPLD and two headers for I2C and SPI. 3 programmable LEDs and 3 inputs are available to the user.
The memory map is defined by the CPLD and is kept as simple as possible:
| Address range | Size [bytes] | Contents |
|---|---|---|
| 0x000000 - 0x00FFFF | 64k | ROM |
| 0x010000 - 0x1FFFFF | 1M | SRAM |
| 0x110000 - 0x1100FF | 256 | 68681 DUART |
| 0x110100 - 0x1101FF | 256 | 8584P I2C |
The board needed a few small adjustments but otherwise functions correctly. Its main problems are very slow SPI bus (bit-banged) and not enough pins on the CPLD to connect all necessary signals for it to function as the PMMU.

Changes scheduled for the hardware revision 2:
A DRAM controller and a SIMM socket(s) would allow this SBC to address even more memory, up to 68010's 16MB natively and even more through paging. This would require adding a second CPLD or even swapping the current CPLD with a FPGA. While this is not required to reach the goal of running UNIX, it would significantly expand the SBC's capabilities.
The board can run any software compiled with the m68k-elf-gcc or equivalent m68k compiler. It can utilize its own fork of picolibc which implements some of the stdlib's functions. The supplied bootloader allows loading any .elf file from the SD card and running it. The bootloader comes with a small monitor - a customized tinylisp implementation.
The bootloader mounts the SD card (FAT16-formatted) and searches for the file named bootord. It then tries to load a file that's in the bootord into the memory at address 0x10000. After that, it tries to execute the executable.

Motorola 68010, unlike the 68000 allows for relocating the interrupt vector table into an arbitrary address in its memory space. The Unicorn SBC's bootloader allocates the interrupt vector table at the top of its base 1M of SRAM, at address 0x10FC00. This 1KB is reserved by the system and must never be accessed by the application directly.
m68k-elf-gcc compiler or any other C compiler that supports the m68k architecture. With a bit of fiddling, the newer GCC can be built, I used gcc-16.2.0 with the following configuration options: --prefix=/tmp/m68k-elf-gcc/m68k-toolchain --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=m68k-elf --program-prefix=m68k-elf- --enable-languages=c --enable-obsolete --enable-lto --disable-threads --disable-libmudflap --disable-libgomp --disable-nls --disable-werror --disable-libssp --disable-shared --disable-multilib --disable-libgcj --disable-libstdcxx --disable-gcov --without-headers --without-included-gettext --with-cpu=m68010 --with-newlibpicolibc which needs to be installed into the above toolchainThe example-app can be used as a base for any software that is to be compiled and ran on the Unicorn SBC. The most important are the linker script, the crt0.c and the CMakeLists.txt.
The picolibc automatically allocates all unused memory reserved for the application in the linker script as a heap space, so during the compilation it will always show 100% memory is consumed. As far as I know, there is no way of limiting the size except for setting the minimum heap size.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 14 | 0.1uF | Capacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mm | C8, C9, C10, C11, C12, C14, C15, C17, C18, C19, C20, C25, C26, C27 |
| 7 | LED | LED_THT:LED_D3.0mm | D2, D3, D4, D5, D6, D7, D9 |
| 6 | 220R | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical | R5, R6, R11, R12, R13, R18 |
| 4 | 1uF | Capacitor_THT:CP_Radial_D4.0mm_P1.50mm | C3, C4, C5, C6 |
| 3 | 1K | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical | R14, R16, R17 |
| 2 | 10uF | Capacitor_THT:CP_Radial_D4.0mm_P1.50mm | C16, C21 |
| 2 | 27R | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical | R3, R4 |
| 2 | 28C256 | Package_DIP:DIP-28_W15.24mm_Socket | U3, U10 |
| 2 | 47pF | Capacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mm | C1, C2 |
| 2 | 4k7 | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical | R7, R8 |
| 2 | 5k1 | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical | R9, R10 |
| 2 | AS6C4008-55PCN | Package_DIP:DIP-32_W15.24mm | U4, U8 |
| 1 | 1uF | Capacitor_THT:C_Disc_D3.0mm_W2.0mm_P2.50mm | C13 |
| 1 | 68681 | Package_DIP:DIP-40_W15.24mm | U2 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U9 |
| 1 | BUS_SIG | TestPoint:TestPoint_Pad_D2.0mm | TP10 |
| 1 | CTS | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP7 |
| 1 | CXO_DIP14 | Oscillator:Oscillator_DIP-14 | Y1 |
| 1 | CXO_DIP8 | Oscillator:Oscillator_DIP-8 | Y2 |
| 1 | DCD | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP1 |
| 1 | DE9_Pins | Connector_Dsub:DSUB-9_Pins_Horizontal_P2.77x2.54mm_EdgePinOffset9.40mm | J2 |
| 1 | DSR | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP5 |
| 1 | DTR | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP4 |
| 1 | E | TestPoint:TestPoint_Pad_D2.0mm | TP1 |
| 1 | EXP | Connector_PinHeader_2.54mm:PinHeader_2x32_P2.54mm_Vertical | J1 |
| 1 | FT231XS | Package_SO:SSOP-20_3.9x8.7mm_P0.635mm | U5 |
| 1 | I2C_Conn | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J6 |
| 1 | JTAG_Conn | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J10 |
| 1 | MAX232 | Package_DIP:DIP-16_W7.62mm | U6 |
| 1 | MC68000P/MC68010P | Package_DIP:DIP-64_W22.86mm | U1 |
| 1 | MCP100-450D | Package_TO_SOT_THT:TO-92_Inline | U14 |
| 1 | PCF8584 | Package_DIP:DIP-20_W7.62mm_Socket_LongPads | U7 |
| 1 | Power Switch | Button_Switch_THT:SW_Slide_SPDT_Angled_CK_OS102011MA1Q | SW3 |
| 1 | RI | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP8 |
| 1 | RTS | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP6 |
| 1 | RXD | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP2 |
| 1 | Reset | Button_Switch_THT:SW_PUSH_6mm | SW2 |
| 1 | SPI_Conn | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J8 |
| 1 | TXD | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP3 |
| 1 | USB_C_Receptacle_USB2.0_14P | Connector_USB:USB_C_Receptacle_GCT_USB4085 | J7 |
| 1 | USER_INPUT_1 | TestPoint:TestPoint_Pad_D2.0mm | TP7 |
| 1 | USER_INPUT_1 | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP10 |
| 1 | USER_INPUT_2 | TestPoint:TestPoint_Pad_D2.0mm | TP8 |
| 1 | USER_INPUT_2 | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP11 |
| 1 | USER_INPUT_3 | TestPoint:TestPoint_Pad_D2.0mm | TP9 |
| 1 | USER_INPUT_3 | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP12 |
| 1 | XC9572XL-xxVQx64 | Package_QFP:TQFP-64_10x10mm_P0.5mm | U13 |
| 1 | ~{BGACK} | TestPoint:TestPoint_Pad_D2.0mm | TP6 |
| 1 | ~{BG} | TestPoint:TestPoint_Pad_D2.0mm | TP5 |
| 1 | ~{BR} | TestPoint:TestPoint_Pad_D2.0mm | TP4 |
| 1 | ~{VMA} | TestPoint:TestPoint_Pad_D2.0mm | TP2 |
| 1 | ~{VPA} | TestPoint:TestPoint_Pad_D2.0mm | TP3 |

koushik12328/Smart_mining_helmet
An ESP32-powered safety helmet featuring gas detection, impact sensing, and IoT connectivity

latonita/jeep-canbus
Projects around CAN BUS in Chrysler Jeep - VES enabler, other small features


flypie/Gigatron
This is a version of the files from https://gigatron.io/ altered to work on a vanilla KiCAD 5.1.6. Changes are minimal in the schematic and PCB, layout has only been changed where dimensions or orientations changed as a…

axelo/custom-cpu
Cutom CPU built from 7400-series integrated circuits (and FLASH roms)



AlexColello/discrete-nes
A discrete logic implementation of the Nintendo Entertainment System where EVERY single gate output and EVERY memory bit is visible via LED. Watch a complete NES flip every bit in real-time.
It measures 140 × 140 mm and has 2 copper layers, 1.6 mm thick.
88 parts, built around the MAX232N, FT231XS-R, PCF8584T and AS6C4008-55PCN. 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 lokuciejewski/mc68k_unicorn repository on GitHub, at the commit this page was made from: the board is hardware/mc68k_sbc.kicad_pcb and its schematic hardware/mc68k_sbc.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).