top of page

Week 4

Assalamualaikum and good evening everyone !!

Finally, This week I am able to do work on campus!! Alhamdulillah. 

 

For this week, since I am at the campus, I start the FYP project with the component that I already buy last semester. I start by checking my coding and if there is any correction then, it can be detected by using the Arduino IDE software.

download.png

After that, if the coding is correct, I must compile it and upload it on Arduino. For starter, I only construct two codings with a different function. The first one is the motor's coding. This coding will control the movement of the motor. As I plan, the rotation of the motor will rotate 180 degrees forward and 180 degrees backward. The motor that I use is a Nema23 stepper motor with 200 step/revolution. The component needed aside from stepper motor and Arduino is a motor driver which function to control the movement of the stepper motor. The image and video below is the coding and the stepper motor that functions well. 

Screenshot 2021-02-25 014927.jpg

But there is some problem regarding this test. Here two problems that need to take care of by me:

1. The rotation of the stepper motor cannot be stopped after I got the result that I want. It means that after it rotates 180 degrees forward and 180 degrees backward, the stepper motor does not stop and continuously rotate. This problem is surely come from the coding, so I must check back and make a little bit of correction for the coding.

2. The motor driver (L298n) that I am using in this project is overheated in a short time. After doing a bit of inspection, I found that the motor driver is not suitable to be used with the Nema23 as this motor produces 1.5A current per phase and it is a 2 phase stepper motor while the motor driver only supports 2A of current. It really makes me realise the mistake that I do which is not doing deep research before bought the component. The solution is to buy a new motor driver that supports the stepper motor operation current.

The second coding is to work on RFID. For this, I found not much problem in doing the coding for RFID because the coding is quite easy to understand. The only problem is maybe because the coding is a bit long and it makes me took some time to finish it.  

Screenshot 2021-02-25 014859.jpg

Some of the codings of RFID and a sneak peek at how the RFID function. The identity card is register to the system and the green LED will be light up (Authorised access). Meanwhile, the tag is not registered to the system and the red LED will light up (Access denied).

 

 It still not fully finish because I must combine these two codings together to make a full program. Not to mention, I planned to add some more components so that this machine will be a versatile machine and not just a machine to serve certain technologies. Please bear with me and wait for the next upgrade 😉😉  

We'd Love To Know What You Think
Rate UsPretty badNot so goodGoodVery goodAwesomeRate Us

Thanks for submitting!

bottom of page