EESchema Schematic File Version 2 LIBS:stm8l051-rescue LIBS:power LIBS:device LIBS:transistors LIBS:conn LIBS:linear LIBS:regul LIBS:74xx LIBS:cmos4000 LIBS:adc-dac LIBS:memory LIBS:xilinx LIBS:microcontrollers LIBS:dsp LIBS:microchip LIBS:analog_switches LIBS:motorola LIBS:texas LIBS:intel LIBS:audio LIBS:interface LIBS:digital-audio LIBS:philips LIBS:display LIBS:cypress LIBS:siliconi LIBS:opto LIBS:atmel LIBS:contrib LIBS:valves LIBS:2.4GHZ_2450FB15L0001 LIBS:6multi LIBS:23lc1024 LIBS:25q40b LIBS:74hc390 LIBS:74hc4067 LIBS:1206network LIBS:4427 LIBS:5050RGB LIBS:7805 LIBS:7805to220 LIBS:a4447sljtr LIBS:ad9216 LIBS:adc-ltc2450 LIBS:ak5358b LIBS:ap1117 LIBS:atmega48_88_168_328_tqfp32 LIBS:atmega1284rfr2 LIBS:atmegax8pb LIBS:atmegaxu2 LIBS:atmel_kk LIBS:attiny441 LIBS:attiny441-qfn LIBS:attinyx4 LIBS:attinyx5 LIBS:attinyx61 LIBS:atx_power LIBS:avr6pin LIBS:avr_usb_3v3-cache LIBS:BELFuse_Ethernet LIBS:bluetoothedpa LIBS:bmp085 LIBS:bmp280 LIBS:bridge-MB2S-TP LIBS:can_sn65hvd251qdrq1 LIBS:cap1128 LIBS:cap1298_qfn LIBS:cap1298_soic LIBS:cd4021 LIBS:choke LIBS:cp2104 LIBS:crystal-4p LIBS:cyusb3012 LIBS:diode-to-277-3 LIBS:dmp2240udm LIBS:ds2438z LIBS:dualopamp LIBS:enc424j600 LIBS:esp12e LIBS:esp32 LIBS:esp8266ex LIBS:esp8266-wi07-6 LIBS:exb-a LIBS:flipflop-sn74lvc1g175 LIBS:ft600q LIBS:halleffect-tcs20dlr LIBS:hv9910c LIBS:ir2101 LIBS:isl3177 LIBS:isol_adum1201brz LIBS:jfet-n_sot-23 LIBS:ksz8081rn LIBS:l6470 LIBS:l6470-powerso36 LIBS:l6474 LIBS:lan8720a LIBS:lis3mdl LIBS:lm386 LIBS:LNK3202 LIBS:lsm9ds0 LIBS:lsm9ds1 LIBS:lsm303c LIBS:lsm303d LIBS:lsm303dlhc LIBS:LSM9DS1 LIBS:ltc2471cms LIBS:ltv-846s LIBS:lvt-816s LIBS:mag3110 LIBS:max3010x LIBS:max31855 LIBS:mcp1803 LIBS:mcp1804 LIBS:mcp1824_ct LIBS:mcp23008-qfn LIBS:mcp23008-soic LIBS:memi2c_m24m02-dr LIBS:mfrc522 LIBS:mic550x-reg LIBS:microsd_1050270001 LIBS:mma8653fc-accel LIBS:mmpq2907a LIBS:mosdriver_ncp5901bmntbg LIBS:mosfet-lfpak56 LIBS:mosfetx2vdfn8 LIBS:mos_n_w_diode LIBS:mos_p_d2 LIBS:mpl3115a2 LIBS:mpu-9250 LIBS:ms5611-01ba03 LIBS:neon14 LIBS:network0606 LIBS:nor-nc7sz02p5x LIBS:npn-2222 LIBS:opa832 LIBS:opamp_mcp6001t LIBS:opto2-ltv-826s LIBS:opto-logic-tlp2361 LIBS:ov2640_ribbon LIBS:pcb_bom LIBS:pfetsot223 LIBS:pfetwsmini6-f1-b LIBS:photomos LIBS:pl140c LIBS:pnp-sot23 LIBS:protect_ncp360snt1g LIBS:pusb2x4y LIBS:pwrcnv_nxe1s0305mc-r7 LIBS:resonator6smd LIBS:rn-cay16-f4 LIBS:rs485-isl3170 LIBS:sp485cn LIBS:sp3010-04utg LIBS:stbc08-battcharger LIBS:stm8l051 LIBS:stm32f042-lqfp32 LIBS:stm32f207 LIBS:stm32f301 LIBS:stm32f303 LIBS:stm32f303_32 LIBS:stm32f407_100 LIBS:tactile LIBS:tcs3x7x LIBS:tlv320adc3101 LIBS:tlv711 LIBS:tusb2077a LIBS:tvs2-wurth-82400102 LIBS:tvs-2x LIBS:tvs-bidirection LIBS:um5k1ntr LIBS:usb3-gsb443133hr LIBS:usbmicrob-10118194-0001lf LIBS:usb-prot-ip4220cz6 LIBS:ws2812b LIBS:ws_switch LIBS:xfrmr2x2 LIBS:zener-sot23-3 LIBS:stm8l051-cache EELAYER 25 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L C C3 U 1 1 5984CEB5 P 1350 2600 F 0 "C3" H 1375 2700 50 0000 L CNN F 1 "C" H 1375 2500 50 0000 L CNN F 2 "SM0805" H 1388 2450 50 0000 C CNN F 3 "" H 1350 2600 50 0000 C CNN 1 1350 2600 1 0 0 -1 $EndComp $Comp L GND #PWR01 U 1 1 5984D040 P 1350 2400 F 0 "#PWR01" H 1350 2150 50 0001 C CNN F 1 "GND" H 1350 2250 50 0000 C CNN F 2 "" H 1350 2400 50 0000 C CNN F 3 "" H 1350 2400 50 0000 C CNN 1 1350 2400 0 1 1 0 $EndComp $Comp L GND #PWR02 U 1 1 5984D17F P 2050 1200 F 0 "#PWR02" H 2050 950 50 0001 C CNN F 1 "GND" H 2050 1050 50 0000 C CNN F 2 "" H 2050 1200 50 0000 C CNN F 3 "" H 2050 1200 50 0000 C CNN 1 2050 1200 1 0 0 -1 $EndComp $Comp L +3.3V #PWR03 U 1 1 5984D19A P 1950 1200 F 0 "#PWR03" H 1950 1050 50 0001 C CNN F 1 "+3.3V" H 1950 1340 50 0000 C CNN F 2 "" H 1950 1200 50 0000 C CNN F 3 "" H 1950 1200 50 0000 C CNN 1 1950 1200 -1 0 0 1 $EndComp $Comp L XTAL4P X1 U 1 1 5984D1BF P 1100 1800 F 0 "X1" H 1100 1950 60 0000 C CNN F 1 "XTAL4P" H 1100 1650 60 0000 C CNN F 2 "XTAL4P" H 1100 1800 60 0000 C CNN F 3 "" H 1100 1800 60 0000 C CNN 1 1100 1800 1 0 0 -1 $EndComp $Comp L C C2 U 1 1 5984D1F3 P 1400 1950 F 0 "C2" H 1425 2050 50 0000 L CNN F 1 "C" H 1425 1850 50 0000 L CNN F 2 "SM0805" H 1438 1800 50 0000 C CNN F 3 "" H 1400 1950 50 0000 C CNN 1 1400 1950 1 0 0 -1 $EndComp $Comp L C C1 U 1 1 5984D2D5 P 800 1950 F 0 "C1" H 825 2050 50 0000 L CNN F 1 "C" H 825 1850 50 0000 L CNN F 2 "SM0805" H 838 1800 50 0000 C CNN F 3 "" H 800 1950 50 0000 C CNN 1 800 1950 1 0 0 -1 $EndComp $Comp L GND #PWR04 U 1 1 5984D322 P 800 2100 F 0 "#PWR04" H 800 1850 50 0001 C CNN F 1 "GND" H 800 1950 50 0000 C CNN F 2 "" H 800 2100 50 0000 C CNN F 3 "" H 800 2100 50 0000 C CNN 1 800 2100 1 0 0 -1 $EndComp $Comp L GND #PWR05 U 1 1 5984D342 P 1050 2100 F 0 "#PWR05" H 1050 1850 50 0001 C CNN F 1 "GND" H 1050 1950 50 0000 C CNN F 2 "" H 1050 2100 50 0000 C CNN F 3 "" H 1050 2100 50 0000 C CNN 1 1050 2100 1 0 0 -1 $EndComp $Comp L GND #PWR06 U 1 1 5984D362 P 1150 2100 F 0 "#PWR06" H 1150 1850 50 0001 C CNN F 1 "GND" H 1150 1950 50 0000 C CNN F 2 "" H 1150 2100 50 0000 C CNN F 3 "" H 1150 2100 50 0000 C CNN 1 1150 2100 1 0 0 -1 $EndComp $Comp L GND #PWR07 U 1 1 5984D382 P 1400 2100 F 0 "#PWR07" H 1400 1850 50 0001 C CNN F 1 "GND" H 1400 1950 50 0000 C CNN F 2 "" H 1400 2100 50 0000 C CNN F 3 "" H 1400 2100 50 0000 C CNN 1 1400 2100 1 0 0 -1 $EndComp Wire Wire Line 1350 2400 2150 2400 Wire Wire Line 1350 2400 1350 2450 Wire Wire Line 1500 2500 2150 2500 Wire Wire Line 1500 2500 1500 2750 Wire Wire Line 1500 2750 1350 2750 Wire Wire Line 1400 1800 1550 1800 Wire Wire Line 1550 2200 2150 2200 Wire Wire Line 600 2300 2150 2300 Wire Wire Line 600 2300 600 1800 Wire Wire Line 600 1800 800 1800 Wire Wire Line 1550 1200 1500 1200 Connection ~ 1550 1800 $Comp L R R1 U 1 1 5984D6FC P 4650 2700 F 0 "R1" V 4730 2700 50 0000 C CNN F 1 "1k" V 4650 2700 50 0000 C CNN F 2 "SM0805" V 4580 2700 50 0000 C CNN F 3 "" H 4650 2700 50 0000 C CNN 1 4650 2700 0 1 1 0 $EndComp $Comp L R R2 U 1 1 5984D799 P 2350 3200 F 0 "R2" V 2430 3200 50 0000 C CNN F 1 "1M" V 2350 3200 50 0000 C CNN F 2 "SM0805" V 2280 3200 50 0000 C CNN F 3 "" H 2350 3200 50 0000 C CNN 1 2350 3200 0 1 1 0 $EndComp $Comp L +3.3V #PWR08 U 1 1 5984D871 P 2200 3200 F 0 "#PWR08" H 2200 3050 50 0001 C CNN F 1 "+3.3V" H 2200 3340 50 0000 C CNN F 2 "" H 2200 3200 50 0000 C CNN F 3 "" H 2200 3200 50 0000 C CNN 1 2200 3200 -1 0 0 1 $EndComp Wire Wire Line 1900 3050 2650 3050 Wire Wire Line 2650 3050 2650 3550 Wire Wire Line 2500 3200 2650 3200 Connection ~ 2650 3200 Wire Wire Line 1900 2700 1900 3050 $Comp L LED-RESCUE-stm8l051 D1 U 1 1 5984DA01 P 4100 3050 F 0 "D1" H 4100 3150 50 0000 C CNN F 1 "LED" H 4100 2950 50 0000 C CNN F 2 "SM0805" H 4100 3050 50 0000 C CNN F 3 "" H 4100 3050 50 0000 C CNN 1 4100 3050 -1 0 0 1 $EndComp Wire Wire Line 4300 3050 4800 3050 Wire Wire Line 4800 3050 4800 2700 $Comp L +3.3V #PWR09 U 1 1 5984DAA0 P 3900 3050 F 0 "#PWR09" H 3900 2900 50 0001 C CNN F 1 "+3.3V" H 3900 3190 50 0000 C CNN F 2 "" H 3900 3050 50 0000 C CNN F 3 "" H 3900 3050 50 0000 C CNN 1 3900 3050 0 -1 -1 0 $EndComp $Comp L CONN_01X01 P2 U 1 1 5984DACB P 2850 3550 F 0 "P2" H 2850 3650 50 0000 C CNN F 1 "CONN_01X01" V 2950 3550 50 0000 C CNN F 2 "1Pin" H 2850 3550 50 0000 C CNN F 3 "" H 2850 3550 50 0000 C CNN 1 2850 3550 1 0 0 -1 $EndComp $Comp L CONN_01X07 P1 U 1 1 5984DE8E P 2250 1000 F 0 "P1" H 2250 1400 50 0000 C CNN F 1 "CONN_01X07" V 2350 1000 50 0000 C CNN F 2 "Pin_Header_Straight_1x07" H 2250 1000 50 0000 C CNN F 3 "" H 2250 1000 50 0000 C CNN 1 2250 1000 0 -1 -1 0 $EndComp Wire Wire Line 2450 1550 2450 1200 Wire Wire Line 2350 1200 2350 1450 Wire Wire Line 1600 1350 2250 1350 Wire Wire Line 2250 1350 2250 1200 Wire Wire Line 1550 2200 1550 1300 Wire Wire Line 1550 1300 2150 1300 Wire Wire Line 2150 1300 2150 1200 $Comp L STM8L051 U1 U 1 1 59B770A5 P 2650 2250 F 0 "U1" H 2450 2850 60 0000 C CNN F 1 "STM8L051" H 2650 1700 60 0000 C CNN F 2 "SSOP-20_6.5mm_HOMEPRINT" H 3050 2150 60 0001 C CNN F 3 "" H 3050 2150 60 0001 C CNN 1 2650 2250 1 0 0 -1 $EndComp Wire Wire Line 1900 2700 2150 2700 Wire Wire Line 3150 2700 4500 2700 $Comp L +3.3V #PWR010 U 1 1 59B779B6 P 1700 2500 F 0 "#PWR010" H 1700 2350 50 0001 C CNN F 1 "+3.3V" H 1700 2640 50 0000 C CNN F 2 "" H 1700 2500 50 0000 C CNN F 3 "" H 1700 2500 50 0000 C CNN 1 1700 2500 -1 0 0 1 $EndComp Wire Wire Line 2150 1900 1950 1900 Wire Wire Line 1950 1900 1950 1550 Wire Wire Line 1950 1550 2450 1550 Wire Wire Line 2350 1450 2050 1450 Wire Wire Line 2050 1450 2050 1800 Wire Wire Line 2050 1800 2150 1800 Wire Wire Line 2550 1200 2550 1650 Wire Wire Line 2550 1650 1850 1650 Wire Wire Line 1850 1650 1850 2000 Wire Wire Line 1850 2000 2150 2000 Wire Wire Line 2150 2100 1600 2100 Wire Wire Line 1600 2100 1600 1350 $Comp L +3.3V #PWR011 U 1 1 59B78123 P 2150 2600 F 0 "#PWR011" H 2150 2450 50 0001 C CNN F 1 "+3.3V" H 2150 2740 50 0000 C CNN F 2 "" H 2150 2600 50 0000 C CNN F 3 "" H 2150 2600 50 0000 C CNN 1 2150 2600 0 -1 -1 0 $EndComp $EndSCHEMATC