
Ssr
Miceuz/triac-bloc
An universal power block based on triac. In essence this is a solid state relay with some bells and whistles

This is a not so small RTOS for low end MCUs.
Dimmer is an open-source printed circuit board by n3rd-bugs, from the n3rd-bugs/weird-rtos repository on GitHub. It is a 2-layer board of 74.7 × 33.5 mm with 23 parts on 27 nets, routed with 345 tracks and 134 vias.
It is built around the BTA20 and MOC3052M. Its parts include 6 resistors, 4 capacitors, 4 ICs, 2 connectors and 1 diode. It belongs with the FPGA and CPLD boards of this library.
This is an educational RTOS that can be used with medium ended micro-controllers including 8-bit AVRs and Cortex-M3/4.
| MCU/Platform | Core | RTOS Features |
|---|---|---|
| atmega644 | AVR 8-bit | USART, ADC, SPI, Ethernet, MMC, File system, Alphanumeric LCD |
| atmega1284 | AVR 8-bit | USART, ADC, SPI, Ethernet, MMC, File system, Alphanumeric LCD |
| STM32F407vgt6 | Cortex-M4 | USART, SPI, Ethernet |
| STM32F103-stamp | Cortex-M3 | USART, ADC, SPI, Ethernet, MMC, File system, Alpha Numeric LCD |
| Controller | ROM | ROM actual* | RAM | RAM Actual** |
|---|---|---|---|---|
| AVR 8-bit | 4 KB | 3086 bytes | 1 KB | 345 bytes |
| Cortex-M3 | 4 KB | 2075 bytes | 2 KB | 784 bytes |
| Cortex-M4 | 4 KB | 2139 bytes | 2 KB | 960 bytes |
* with size optimizations ** hello.c example with serial disabled, not including system stack
To build the RTOS as library follow these steps:
mkdir lib-build
cd lib-buildcmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=<path-to-root>/cmake/toolchains/<cross-tool>.cmake <path-to-root>makeThe created library can be used to build sample applications using other tools.
To build an example project please follow these steps:
mkdir build
cd buildcmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=<path-to-root>/cmake/toolchains/<cross-tool>.cmake <path-to-root>/examples/<example>makeWeird-RTOS provides various configuration options that can be best viewed if project is configured through cmake-gui. These allow user to adjust various RTOS features according to his requirements.
+-- 3rdparty - 3rd party components
+-- api - Higher level components including TFTP, weird-view IoT framework
+-- cmake - Cmake project files
| +-- modules - Implements various helper APIs for cmake
| +-- toolchains - Provides toolchain files
+-- docs - Related documentation
+-- examples - Some usage examples
+-- port - Target specific bits
| +-- kernel - Target specific kernel components
| +-- target - Platform specific device drivers
| +-- <platform> - A platform entry
| +-- board - Board specific configurations
| +-- io - Device drivers
| +-- schematics - Platform schematics if applicable
| +-- utils - Broad utilities
| +-- toolset - Toolset specific definitions
+-- rtos - Operating system generic components
| +-- fs - File system
| +-- io - IO device drivers and their middleware
| +-- mem - Memory management
| +-- net - Networking stack
| +-- kernel - Kernel APIs
| +-- utils - System utilitiesThis is a non-commercial RTOS, for more details see License Agreement.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 100R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R3, R4 |
| 2 | 100k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R5, R6 |
| 2 | 10k | Potentiometer_THT:Potentiometer_Vishay_T73YP_Vertical | RV1, RV2 |
| 1 | ,1u | Capacitor_THT:CP_Radial_D4.0mm_P2.00mm | C4 |
| 1 | .01u | Capacitor_THT:CP_Radial_D4.0mm_P2.00mm | C1 |
| 1 | 0.01u | Capacitor_THT:CP_Radial_D4.0mm_P2.00mm | C3 |
| 1 | 100R | Resistor_THT:R_Array_SIP5 | RN2 |
| 1 | 10K | Resistor_THT:R_Array_SIP5 | RN1 |
| 1 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R2 |
| 1 | 10u | Capacitor_THT:CP_Radial_D4.0mm_P2.00mm | C2 |
| 1 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1 |
| 1 | 4N35 | Package_DIP:DIP-6_W7.62mm_Socket_LongPads | U2 |
| 1 | AC/Load | TerminalBlock:TerminalBlock_bornier-4_P5.08mm | J2 |
| 1 | BTA20 | Package_TO_SOT_THT:TO-220-3_Horizontal_TabDown | D1 |
| 1 | GAL16V8 | Package_DIP:DIP-20_W7.62mm_Socket_LongPads | U1 |
| 1 | Jumper_3_Open | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | JP1 |
| 1 | LM555 | Package_DIP:DIP-8_W7.62mm_Socket_LongPads | U3 |
| 1 | MCU | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J1 |
| 1 | MOC3052M | Package_DIP:DIP-6_W7.62mm_Socket_LongPads | U4 |
| 1 | PWM | Button_Switch_THT:SW_DIP_SPSTx04_Slide_9.78x12.34mm_W7.62mm_P2.54mm | SW1 |
It measures 74.7 × 33.5 mm and has 2 copper layers, 1.6 mm thick.
23 parts, built around the BTA20 and MOC3052M. 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 n3rd-bugs/weird-rtos repository on GitHub, at the commit this page was made from: the board is pld/dimmer/pcb/dimmer.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask n3rd-bugs before reusing the design.

Miceuz/triac-bloc
An universal power block based on triac. In essence this is a solid state relay with some bells and whistles



marcass/furnace_control
Control a FUWI pellet boiler with arduino to improve smarts

mankut80/AskSinPP_HM-LC-Dim1L-CV
Mit der Technik des Phasenanschnitts lassen sich ohmsche und induktive Wechselstromlasten in der Leistung steuern.

gregorv/sousvide
Hardware and software for an ATmega8 based Sous-Vide temperature controller


Moeletsi47/cycloconverter
An embedded power-electronics project combining SCR switching, zero-crossing synchronisation, register-level C firmware, and a custom four-layer PCB designed in KiCad.