Search the Community
Showing results for tags 'tiny13'.
Found 2 results
The Full-Bridge (H-Bridge) is the most popular driver circuit to control brushed DC motors. The main advantage of a full bridge driver is the ability to change the rotation direction of the motor, without manually reversing the supply wires. I’ve already published the Half-bridge and H-bridge driver circuits before; however, I was receiving many requests and comments for a standalone H-Bridge driver to control the DC motors, without using any external board or a controller. Therefore, I introduced a cheap, compact, and standalone H-Bridge DC motor driver that can be embedded in a variety of mechatronic devices. A cheap ATTiny13 microcontroller controls everything and I used the Arduino IDE to write the microcontroller code. All components, except for the connectors, are SMD. The motor can be controlled in three modes: Forward, Stop, and Reverse. The user can adjust the rotation speed of the motor separately in the forward or reverse direction, using two panel-mounting potentiometers. The low ON-Resistance of the Mosfets allows you to use this circuit in high currents. To design the schematic and PCB, I used Altium Designer 22. The fast component search engine (octopart) allowed me to quickly collect the components’ data and generate the BOM as well. To get high-quality fabricated boards, I sent the Gerber files to PCBWay. To test the driver board, I disassembled an electric toy car and used its powerful 775 DC motor (plus the gearbox). It’s a cool experience, just build one and have fun! Specifications Input Voltage (Motor): 8-40VDC Supply Voltage (Controller): 12VDC PWM Frequency: 25KHz Motor Control: Forward-Stop-Reverse Motor Speed: [0 to 100%] Forward, [0 to 100%] Reverse References Article: https://www.pcbway.com/blog/technology/A_Standalone_Full_Bridge_DC_Motor_Driver_2c7c2086.html : ATTiny13 MCU: https://octopart.com/attiny13a-ssur-microchip-77761976?r=sp : 78L05 SOT89: https://octopart.com/ka78l05aimtf-onsemi-84329328?r=sp : IRF3205 D2PACK: https://octopart.com/irf3205strlpbf-infineon-65873335?r=sp : IR2104: https://octopart.com/ir2104spbf-infineon-65872813?r=sp : MicroCore Arduino Package: https://github.com/MCUdude/MicroCore : Complied HEX file: https://drive.google.com/file/d/1_FEbxj3XtWoZCNCxfpgcvCwcf9j8cqj-/view?usp=sharing
Proper thermal dissipation is an essential rule for nowadays electronics. The best operating temperature for the electronic components is 25 degrees (standard room temperature). Thermal dissipation in some commercial devices is not done properly which affects the lifetime and performance of the devices. So, embedding a compact automatic cooling Fan controller board would be useful. Also, it can be used to protect your own designed circuits and their power components, such as regulators, Mosfets, power transistors … etc. Previously, I had introduced a circuit to control the cooling fans, however, my intention was not to use any microcontroller and keep it as simple as possible. So, the device was a simple ON/OFF switch for the FAN, depending on the defined temperature threshold. This time, I decided to design a complete and more professional circuit to control the majority of the standard FANs (25KHz PWM) using an LM35 temperature sensor and an ATTiny13 microcontroller. I used SMD components and the PCB board is compact. It can control one or several standard 3-wires or 4-wires FANs, connected in parallel, such as CPU Fans. Moreover, the target device/component can be protected against over-temperature using a Relay. The user is also notified by visual/acoustic warnings (a flashing LED and a Buzzer). To design the schematic and PCB, I used Altium Designer 22 and the SamacSys component libraries (Altium plugin). To get high-quality fabricated PCB boards, you can send the Gerbers to PCBWay and purchase original components using the componentsearchengine.com. I initially tested the circuit on a breadboard. I used the Siglent SDM3045X multimeter to accurately examine the voltages and the Siglent SDS1104X-E oscilloscope to examine the shape, duty cycle, and frequency of the PWM pulse. References Ref: https://www.eeweb.com/pwm-cooling-fan-controller-and-over-temperature-protection-using-lm35-and-attiny13/ : ATTiny13 datasheet: https://componentsearchengine.com/Datasheets/1/ATtiny13-20SSU.pdf : 78L05 datasheet: https://www.st.com/resource/en/datasheet/l78l.pdf : 2N7002 datasheet: https://datasheet.datasheetarchive.com/originals/distributors/Datasheets-26/DSA-502170.pdf : 2N7002 schematic symbol, PCB footprint, 3D model: https://componentsearchengine.com/part-view/2N7002/Nexperia : L78L05 schematic symbol, PCB footprint, 3D model: https://componentsearchengine.com/part-view/L78L05ABD13TR/STMicroelectronics : ATTiny13 schematic symbol, PCB footprint, 3D model: https://componentsearchengine.com/part-view/ATTINY13-20SSU/Microchip : Electronic designing CAD software plugins: https://www.samacsys.com/library-loader-help : Altium Designer plugin: https://www.samacsys.com/altium-designer-library-instructions : MicroCore board manager: https://github.com/MCUdude/MicroCore#analog-pins : Siglent SDS1104X-E oscilloscope: https://siglentna.com/product/sds1104x-e-100-mhz/