]> www.fi.muni.cz Git - tinyboard.git/blob - projects/step-up/README
3830997a59e14b23a50735913d9b6987c0bd0a4c
[tinyboard.git] / projects / step-up / README
1 Step-up converter with current feedback measurement.
2
3 CPU: ATtiny45
4 Driven by PWM output OC1B (PB4 pin) with MOSFET.
5 Current feedback measured at ADC3 (PB3 pin).
6 Output on the PB4 header (pin 1 is negative, pin 2 is positive side).
7
8
9 Bill of materials:
10
11 C1,C2   1.5uF tantalum
12 C3,C51  10uF ceramic
13 D50     SS24 Schottky diode (SMB package, 40V, 2A)
14 L50     470uH, 390mA, 200 mil pin distance (probably too big for 20mA LEDs :-)
15 PB4     two-pin header soldered to pins 1 and 2 of PB4
16 Q50     IRLML6344TRPBF N-channel MOSFET, 30V, 5A, SOT-23 package
17 R40     220nF capacitor (not resistor!)
18 R45     1K5
19 R50     15K
20 R51,R53 0R00 (zero-ohm link)
21 R55     1R0 (can safely measure currents from ~8 mA up, for smaller currents use higher value)
22 U1      ATtiny45-20SU
23 U2      MCP1703T-5V
24
25
26 Firmware:
27
28 The firmware is a dumbed-down version of firmware for my other
29 project: http://www.fi.muni.cz/~kas/bike-lights/, modified
30 for ATtiny45.
31