Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

devancakra/Arduino-Pro-Mini-based-Conveyor-Motor-Speed-Control-System-using-PWM-Method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Love License: MIT GitHub last commit Project

Arduino-Pro-Mini-based-Conveyor-Motor-Speed-Control-System-using-PWM-Method

Solo Project: Conveyor Motor Speed Control System using PWM Method

Conveyor is a mechanical system used to move goods or materials from one place to another that is carried out continuously. The purpose of this project is to provide education to the wider community on how to make a simple mini conveyor. This project has been implemented and takes approximately 1 week. To adjust how fast the conveyor machine can move, you can use a potentiometer. To change the direction of movement of the conveyor machine as well as stop it, you can use a push button. The benefit of making this project is none other than to add insight. The results show that this system can function properly.



Project Requirements

Part Description
Development Board Arduino Pro Mini
Code Editor Arduino IDE
Programmer Tools PL2303 USB
Driver PL2303 USB Driver
Programming Language C/C++
Actuators Gear Motor / Motor DC (x1)
Other Components • Jumper cable (1 set)
• Adaptor DC 12V 2A (x1)
• Motor driver L298N (x1)
• Breadboard (x1)
• Potentiometer (x1)
• Push button 12 x 12 mm (x2)
• Wood stickers (1 set)
• Wood planks (x2)



Download & Install

  1. Arduino IDE

    https://bit.ly/ArduinoIDE_Installer
    

  2. PL2303 USB Driver

    https://bit.ly/PL2303_USB_Driver
    



Project Designs

Block Diagram Pictorial Diagram
Block-Diagram Pictorial-Diagram
Wiring
Wiring



Arduino IDE Setup

  1. Open the Arduino IDE first, then open this project by clicking File -> Open :

    pwm_conveyor.ino


  2. Board Setup in Arduino IDE

    How to setup the Arduino Pro Mini board

    Click Tools -> Board -> Arduino AVR Boards -> Arduino Pro or Pro Mini


  3. Change Processor in Arduino IDE

    Click Tools -> Processor -> ATmega328P (5V, 16 MHz)


  4. Port Setup in Arduino IDE

    Click Port -> Choose according to your device port (you can see in device manager)


  5. Before uploading the program please click: Verify.

  6. If there is no error in the program code, then please click: Upload.

  7. Some things you need to do when using the Arduino Pro Mini board with PL2303 USB :

    Arduino IDE information: Uploading... -> immediately press the RESET button and release it.

    • Wait until the message appears: Done Uploading -> The program is directly operated .


  8. If there is still a problem when uploading the program, then try checking the driver / port / others section.



PL2303 USB Setup



Notes:

• This Arduino Pro Mini is not equipped with a USB port, so you need an additional device in the form of a USB to TTL Serial to connect to a laptop or PC. USB to TTL Serial like the PL2303 USB is commonly used as an intermediate medium for uploading programs.

• You can see the wiring between the PL2303 USB and the Arduino Pro Mini board in the picture above.

• To upload a program, in addition to using the PL2303 USB, you can also use other programming tools such as: CP2102 USB, CH340 USB, or with FTDI USB. Based on experience, I admit that using FTDI USB or CP2102 USB is much better than PL2303 USB or CH340 USB because they are known to be more stable in performance.



Get Started

  1. Download and extract this repository.

  2. Make sure you have the necessary electronic components.

  3. Make sure your components are designed according to the diagram.

  4. Configure your device according to the settings above.

  5. Please enjoy [Done].



Highlights

pwm_conveyor



Appreciation

If this work is useful to you, then support this work as a form of appreciation to the author by clicking the ⭐Star button at the top of the repository.



LICENSE

MIT License - Copyright © 2024 - Devan C. M. Wijaya, S.Kom

Permission is hereby granted without charge to any person obtaining a copy of this software and the software-related documentation files to deal in them without restriction, including without limitation the right to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons receiving the Software to be furnished therewith on the following terms:

The above copyright notice and this permission notice must accompany all copies or substantial portions of the Software.

IN ANY EVENT, THE AUTHOR OR COPYRIGHT HOLDER HEREIN RETAINS FULL OWNERSHIP RIGHTS. THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, THEREFORE IF ANY DAMAGE, LOSS, OR OTHERWISE ARISES FROM THE USE OR OTHER DEALINGS IN THE SOFTWARE, THE AUTHOR OR COPYRIGHT HOLDER SHALL NOT BE LIABLE, AS THE USE OF THE SOFTWARE IS NOT COMPELLED AT ALL, SO THE RISK IS YOUR OWN.