Skip to content

srichs/attiny_rc_switch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATtiny RC Switch

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.

ATtiny RC Switch SMD

3D PCB

Order the PCB here

Hardware

PCB Top PCB Bottom

BOM

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

Schematic

diagram

ATtiny RC Switch Through Hole

3D PCB

Order the PCB here

Hardware

PCB Top PCB Bottom

BOM

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

Schematic

diagram

Notes

  • 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

About

On/Off Switch for RC models driven by PWM signal. Based on ATTiny85, 12V capable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%