On/Off Switch for RC models driven by PWM signal. Based on ATtiny85, 12V capable. Original project is located here.
This small device allows to turn on/off different devices on RC devices: airplanes, quadcopter drones, cars. It uses one RC PWM channel as input and provides power on output pins when channel pulse length is above 1700us. Excellent to switch LED strips. Output current is up to 500mA.
AVR ATtiny x5 series microcontroller. Compiled code takes slightly above 2kB, so will fit into ATtiny45 and ATtiny85. When smoothing is removed, code will fit into ATtiny25.
To program you can use the AVR Pocket Programmer, which costs $20. It is easiest to use a clip to program the microcontroller such as these or these.
Order the PCB here
| Label | Part No | Name | Quantity | Subtotal | Link |
|---|---|---|---|---|---|
| U1 | ATTINY85-20SU | ATtiny85 Microcontroller | 1 | $1.50 | DigiKey |
| U2 | IRLML2502TRPBF | N-Channel MOSFET, 20V, 4.2A SOT-23 | 1 | $0.43 | DigiKey |
| D1 | LTST-C190KRKT | Red LED, SMD 0603, Clear | 1 | $0.14 | DigiKey |
| R1,R2 | CRGCQ0603F470R | 470 Ohm Resistor, SMD 0603, 1/10W | 2 | $0.20 | DigiKey |
| C1 | CC0603KRX7R7BB104 | 0.1uF Capacitor, SMD 0603, 16V | 1 | $0.08 | DigiKey |
| qRILFycT | PCB | 1 | $0.68 | OSH Park | |
| Total | $3.03 |
Order the PCB here
| Label | Part No | Name | Quantity | Subtotal | Link |
|---|---|---|---|---|---|
| U1 | ATTINY85-20PU | ATtiny85 Microcontroller | 1 | $1.66 | DigiKey |
| U2 | SS8050DTA | NPN BJT, 25V, 1.5A TO92-3 | 1 | $0.37 | DigiKey |
| D1 | 151033RS03000 | Red LED, Round, 3mm, Clear | 1 | $0.16 | DigiKey |
| R1,R2 | CF18JT470R | 470 Ohm Resistor, 1/8W, Axial | 2 | $0.20 | DigiKey |
| C1 | A104K15X7RF5TAA | 0.1uF Capacitor, 50V, Axial | 1 | $0.26 | DigiKey |
| Total | $2.65 |
-
Arduino IDE 1.6.6. Should work on older releases, but never tested
-
ATtiny45/85 board definitions. Tested with damellis/attiny
-
Uses 1MHz internal osciallator







