Skip to main content

Posts

Showing posts from 2019

5v DC power supply flyback converter

This project is about a 5v DC power supply. The flyback converter is an isolated power converter that is used in both AC/DC and DC/DC applications. It is a buck-boost converter. In this example the input voltage is 220v AC and output is 5v DC. There is a simulation in Multisim. Download link: https://drive.google.com/open?id=1f5FgKm2o6YyhhGk4a7Rgl1bIExREqID4

Up-counting 7-segment using Arduino

This project is about 1 digit 7-segment that is connected to Arduino. This 7-segment counts from 0 to 9 every 1 second The delay is optional and you can change it in the program. Firstly you have to define a string to show which pins of 7-segment will be on in every circle. It depends on whether your 7-segment is common cathode or common anode. For example if you want to write 7 in 7-segment you should turn on three (A,B,C) segments of it. turning on the segments does not mean you must connect it in 5v. It depend on your 7-segment whether it was CA or CC. Mine was CA so whenever I wanted to turn it on I connected that special segment to 0v or ground. Download link: https://drive.google.com/open?id=1XmKQOCeNbkfAc3I3XwSb8M4fwXhutfWX

Single phase full-wave diode rectifiers

This project is about simulating how some full-wave rectifiers work. Single phase full-wave rectifier with resistive load: Single phase full-wave rectifier with R-L load: Single phase full-wave center-tapped transformer rectifier: Single phase full-wave rectifier capacitor filter: Download link: https://drive.google.com/open?id=1G_NOCdJ_ZJbSNSWd6K4_vSgQORKfrQGA

Three phase diode rectifiers

This project is about simulating a three phase half-wave and full-wave rectifier with resistive load. Rectifiers are circuits that convert AC voltage to unregulated DC voltage. They are used (especially a full-wave rectifier, half-wave rectifier is not used due to its high ripple factor) as the first step in converting three phase or single phase rectifier to regulated DC voltage in some DC power supplies. There is a simulation in NI Multisim. Three phase half-wave rectifier: Three phase full-wave rectifier: Download link: https://drive.google.com/open?id=15-X6cVsHbHjgXT1YAPoddkiJX75C7u0B

Traffic light by STM32F103C8T6

This project is about simulating a traffic light. There is a 1-digit common anode 7-segment which shows how long each signal is on. I connected three 220v signal lamp as its lights by a relay board which its relays work at 5v. Output voltage of stm32f103c8t6 is 3.3v so I used three transistors as switches to convert 3v output to 5v that is needed for relay board. Download link: https://drive.google.com/open?id=1UVHMYvGlCxITk0jRz3Y8TPV_h8HHZmJN

Single phase half-wave diode rectifiers

Half-wave rectifier with resistive load: Half-wave rectifier with R-L load: Half-wave rectifier with freewheeling diode: Half-wave rectifier with capacitor filter: Download link: https://drive.google.com/open?id=1609_GDuzLA2BWE0a7nPnaERC9rhMrg8N                          

Star Delta Starter with Arduino Nano

This project about star delta connection for a three phase motor. I did'n have three phase induction motor so I used three signal lamp instead. In star delta connection first, star connection actives and then after a while delta connection will active. The time between star and delta connection depends on how powerful your motor is. In this project it is possible to change the time from 0 second to 100 seconds by potentiometer connected to A0. I used Arduino Nano instead of any industrial PLC. The outputs of the Arduino is connected to the relay board and then it is connected to contactors. Contactor is a devise that can connect three phase voltage to an induction motor. There is a video of how this circuit works. Download link: https://drive.google.com/open?id=1rkaE7WTPg93gEQ8l0ehYUHintUx-WcQG

Joystick module by Arduino Uno

This project is about connecting joystick module to an Arduino. Joystick is like two potentiometer that gives analog value. My joystick has two dimensions, One is X axis and the second is for Y axis. The analog value of the joystick is from 0v to 5v that you can read it directly by analog pins of your controller. There is an additional digital switch on joystick like the usual on/off switches. I used 3 led's, the brightness of the two first led's depend on the value that joystick gives. The third led is for that digital switch that mentioned. Download link: https://drive.google.com/open?id=1JrW17CRuOFuVAfMn9MnDMbYLmpaNFCz0

I2C LCD with Arduino Nano

This project is about connecting 16*2 LCD thorough I2C protocol with Arduino Nano. The advantage of using I2C protocol for connecting LCD is that it uses only 2 ports of your Arduino while if you want to connect LCD directly to the arduino  it uses at least 6 ports. There is a shield of course to translate I2C commands for LCD and first you need to get I2C library for arduino and install it on your IDE. Download link: https://drive.google.com/open?id=1iuaCFyH-HoGGssdio45KEtStTvtxIGD2

Servo motor by Arduino Nano

This project is about running a servo motor using Arduino Nano. My servo is SG90 and that is a really small servo motor. I did not supply my servo with 5v output of Arduino because that takes much current from Arduino Nano. Instead, I used LM7805 regulator for my servo. There is a potentiometer (variable resistor) I used to change the position of the servo. Arduino Nano reads the analog voltage that resistor creates and thorough PWM port changes the position of the servo. My servo can be in position from 0 to 180. There is a simulation in Proteus. Download link: https://drive.google.com/open?id=1e6uJFJrLWT9k6E190ZGtiRgQX9Ur2c1D

DC motor with L298N driver by ATmega16A

This project is about connecting a DC motor to ATmega16A. I used a variable resistor connected to A7 as an analog reference for controlling motor speed. PORTD.7 is used as a PWM port and it is connected to L298N driver ENABLE pin. We can not connect the motor directly to our micro controller because micro controller's ports are not strong enough to provide that amount of current for motor. I wrote my codes in Arduino IDE, that means I did not use codevision and do all my programming in Arduino IDE and then exported HEX file and transfered it into ATmega16A. There is a simulation in Proteus. Download link: https://drive.google.com/open?id=1Ajby-pgiQ6JoATmxOYWNndSCTNNeJvbz