OpenPLC-with-LDmicro/C2/Installation-of-LDmicro-on-Windows/English
VISUAL CUE | NARRATION |
Slide 1:
Welcome slide |
Welcome to the spoken tutorial on Installation of LDmicro on Windows. |
Slide 2:
Learning Objectives |
In this tutorial, we will see how to install,
|
Slide 3:
System Requirements |
To record this tutorial I am using:
|
Now, we’ll see how to install LDmicro. | |
OpenPLC website | To download the installation files, open a web browser of your choice.
Make sure you have an active internet connection. Go to the website https://openplc.fossee.in |
OpenPLC website | In the top menu bar, click on Downloads tab. |
OpenPLC website | Here we will find a link to download LDmicro installation files for Windows. |
Click LDmicro for Windows | Click on ‘LDmicro for Windows’ link. |
Point .exe file | In the Downloads folder, downloaded .exe file is available. |
Double-click on the .exe file | Double-click on the .exe file.
We will get a warning message as: ‘Windows SmartScreen prevented an unrecognized app from starting’. |
Click ‘More info’ >> Click ‘Run anyway’ | Click on ‘More info’.
Then, click on ‘Run anyway’ button. |
This will open the LDmicro-Program Editor window.
Thus, we’ve successfully installed LDmicro. Close the window. | |
Next, we’ll see how to install AVRDUDE. | |
Slide 4:
What is AVRDUDE? |
What is AVRDUDE?
AVRDUDE stands for AVR Downloader Uploader. It is a tool for downloading or uploading the on-chip memories of AVR microcontrollers. |
Now we will see the installation of AVRDUDE. | |
Switch back to the browser. | |
Point Windows row
Point ‘WinAVR (avrdude)’ link |
In the Downloads page, in Windows row, click on WinAVR (avrdude). |
Click WinAVR (avrdude) | It will redirect to sourceforge.net website. |
Click on ‘Files’ | Click on the ‘Files’ tab. |
Click ‘WinAVR’ | Click on ‘WinAVR’ folder.
We can see a list of folders for different versions of AVRDUDE. |
Click ‘20100110’ | Click on the first folder available in the list, which indicates the latest version.
In my case, it is ‘20100110‘. |
Click WinAVR-20100110-install.exe | Then, click on WinAVR-20100110-install.exe.
This will download the executable file for AVRDUDE. It will take some time to download the file. |
Point .exe file | In the Downloads folder, the downloaded .exe file is available |
Right click on the .exe file.
Click on ‘Run as administrator’ |
Right click on it and select ‘Run as Administrator’. |
Click ‘Yes’ | A window will pop-up asking permission to install.
Click on ‘Yes’ button. |
Select ‘English’ >> Click ‘OK’ >> Click ‘Next’ >> Click ‘I Agree’ | Then another window pops up asking to select a language.
Select English and then click ‘OK’ button. Click ‘Next’ in the Setup Wizard window. Click ‘I agree’ in the License Agreement window. |
Browse the location | Browse to the location where you would want to install the software.
I’ll install it on Desktop. |
Click ‘Next’ >> Click ‘Install’ | Click on ‘Next’ button.
Click on ‘Install’ button. |
Click ‘Finish’ | It will take some time to install the software
After completion, click on ‘Finish’ button. |
Open Windows search | To make sure it is installed, open command prompt using Windows search. |
Type ‘avrdude’
Point the version number |
Type ‘avrdude’ and press ENTER.
We can see the version of AVRDUDE installed on the machine. |
Next, we will see about USBasp programmer. | |
Slide 5:
(picture of USBasp programmer, USBasp_Programmer.jpg) |
This is a picture of a USBasp programmer. |
Slide 6:
Why USBasp drivers? |
Why USBasp drivers?
|
Now, we’ll see how to install the USBasp driver. | |
Switch back to the browser. | |
I’m using Windows 8 OS to do the installation.
The procedure is the same for Windows 10 also. | |
First, we need to download the installation files. | |
Click ‘USBasp drivers’ link
Text box: These installation files are for both Windows 8 and Windows 10 |
In the Windows row, click on ‘USBasp drivers’ link to download them. |
Point the .zip file | In the Downloads folder, we can see a .zip file of USBasp drivers. |
Right click >> Click ‘Extract All’ | Right click on it and select ‘Extract All’. |
Click ‘Extract’ | Browse to the location where you want to extract and click ‘Extract’.
I’ll extract to the Downloads folder. |
Connect the USBasp programmer to one of the USB ports of your PC. | |
Open Windows search | Now, open Windows search. |
Type ‘Device Manager’
Press ENTER |
Search for ‘Device Manager’.
In Windows 8, we can find ‘Device Manager’ under Settings Click on Device Manager. |
Click ‘Other Devices’
Point ‘USBasp’ |
Click on ‘Other devices’.
We can see ‘USBasp’. |
Point yellow sign | The yellow sign near USBasp indicates that it’s not connected. |
Right click on ‘USBasp’ >> Click ‘Update Driver Software’ | Right click on it and select ‘Update Driver Software’. |
A window will pop up with ‘How do you want to search for driver software?’. | |
Click ‘Browse my computer for driver software’ | Click ‘Browse my computer for driver software’. |
Browse to the location
Click ‘Install’ |
Browse to the location where you have extracted the ‘USBasp drivers’ folder.
I’ll change to Downloads. Click on Next button. |
Point the message | But, we can see a message as:
‘Windows encountered a problem installing the driver software for your device’. |
This is because there is a driver restriction for non-digitally signed drivers.
Only digitally signed drivers are allowed in Windows 8 and Windows 10 Therefore we have to disable the signature checking. | |
Press SHIFT and Restart | To do that, hold the Shift key and restart the computer.
The computer will restart with some clicking options on the screen. |
Click ‘troubleshoot’ | Click on ‘Troubleshoot’ option. |
Click ‘Advanced Options’
Click ‘Startup Settings’ |
Then click on ‘Advanced Options’.
Click on ‘Startup Settings’. On Windows 10, it might be on a second page, after "Show more settings". |
Highlight the options | A new window opens with the message:
‘after restart you will be able to change some windows options’. |
Click ‘Restart’ | Now simply click on the Restart button.
When the computer reboots it will show some options on the screen. |
Press 7 | Press 7 in the keyboard to select option 7, i.e. ‘Disable driver signature enforcement’. |
After that, the computer will start Windows normally but now with disabled driver signature detection. | |
Now again go to the ‘Device manager’ and try installing the driver as before. | |
We’ll get a warning that says ‘Windows can’t verify the publisher of this driver software’. | |
Click ‘Install this driver software anyway’ | Ignore it, and click on ‘Install this driver software anyway’. |
We can see a message ‘Windows has successfully updated your driver software’.
Click on the Close button. | |
Point ‘USBasp’ in ‘Other devices’ | Now we can observe that the yellow sign at USBasp is not there.
Thus, USBasp drivers are successfully installed and working. |
This brings us to the end of this tutorial.
Let us summarize. | |
Slide 7: Summary
We learnt to install
|
In this tutorial, we learnt how to install
|
Slide 8:
About Spoken Tutorial project |
|
Slide 9:
Spoken Tutorial workshops |
The Spoken Tutorial Project team:
For more details, please write to us. |
Slide 10:
Forum for specific questions: |
|
Slide 11:
Forum for specific questions: |
Do you have general/technical questions on OpenPLC?
Please visit the FOSSEE forum and post your question. |
Slide 12:
Acknowledgment |
Spoken Tutorial Project is funded by MHRD, Government of India. |
Slide 13:
Thank you slide |
This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.
And this is Harsha Priyanka from FOSSEE team, signing off. Thanks for watching. |