Difference between revisions of "OpenPLC-version1-with-LDmicro/C2/Installation-of-LDmicro-on-Windows/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "'''Title of the script''':''' '''Installation of LDmicro on Windows '''Author:''' Harsha Priyanka '''Reviewer: '''Akshay Chipkar '''Keywords:''' Ladder Logic, LDmicro, LDm...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''Title of the script''':''' '''Installation of LDmicro on Windows
 
 
'''Author:''' Harsha Priyanka
 
 
'''Reviewer: '''Akshay Chipkar
 
 
'''Keywords:''' Ladder Logic, LDmicro, LDmicro Installation, AVRDUDE installation, USBasp programmer drivers installation, Disable driver signature enforcement, Video tutorials
 
 
{| style="border-spacing:0;"
 
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| <center>'''Visual Cue'''</center>
 
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| <center>'''Narration'''</center>
 
  
 +
{| border="1"
 +
|-
 +
|| '''VISUAL CUE'''
 +
|| '''NARRATION'''
 
|-
 
|-
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 1:  
+
|| Slide 1:  
  
 
Welcome slide
 
Welcome slide
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Welcome to the spoken tutorial on '''Installation of LDmicro on Windows'''
+
|| Welcome to the spoken tutorial on '''Installation of LDmicro on Windows.'''
 
+
|-  
|-
+
|| Slide 2:  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 2:  
+
 
+
 
Learning Objectives
 
Learning Objectives
  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| In this tutorial, we will see how to install,
+
|| In this tutorial, we will see how to install,
 
+
 
* '''LDmicro'''
 
* '''LDmicro'''
 
* '''AVRDUDE'''
 
* '''AVRDUDE'''
 
* '''Drivers''' for '''USBasp programmer'''
 
* '''Drivers''' for '''USBasp programmer'''
 
+
|-  
|-
+
|| Slide 3:
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 3:
+
  
 
System Requirements
 
System Requirements
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| To record this tutorial I am using:
+
|| To record this tutorial I am using:
 +
* '''Windows 8''' operating system
 +
* '''USBasp programmer'''
  
* Windows 8 operating system
+
|-
* USBasp programmer
+
||
 +
|| Now, we’ll see how to install '''LDmicro.'''
 +
|-
 +
|| OpenPLC website
  
|-
+
|| To download the '''installation files,''' open a '''web browser''' of your choice.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 4a:
+
  
What is LDmicro?
+
Make sure you have an active '''internet connection'''.
  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| What is '''LDmicro'''?
+
Go to the '''website''' [https://openplc.fossee.in/ https://openplc.fossee.in]
 +
|-
 +
|| OpenPLC website
 +
|| In the top '''menu bar''', click on '''Downloads''' tab.
 +
|-
 +
|| OpenPLC website
  
* '''LDmicro''' is an open source software.
+
|| Here we will find a '''link''' to download '''LDmicro installation files''' for '''Windows'''.
* It is used to draw a '''ladder diagram '''or''' ladder logic''' to program PLCs.
+
|-  
 
+
|| Click LDmicro for Windows
|-
+
|| Click on '''‘LDmicro for Windows’ link'''.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 4b:
+
|-  
 
+
|| Point .exe file
What is LDmicro?
+
|| In the '''Downloads '''folder, downloaded '''.exe file''' is available.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| * We can simulate this '''ladder diagram '''or''' ladder logic''' in real time on our computer.
+
|-  
* It can also generate native code for certain '''PIC16''' and '''Atmel AVR microcontrollers'''.
+
|| Double-click on the .exe file
 
+
|| Double-click on the '''.exe file.'''
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Now, we’ll see how to install '''LDmicro'''
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| OpenPLC website
+
 
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| 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 https://openplc.fossee.in]
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| OpenPLC website
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| In the top menu bar, click on the '''Resources''' link.
+
 
+
Click on '''User Downloads''' link present under the '''Downloads '''tab'''.'''
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| OpenPLC website
+
 
+
<nowiki><point to various links></nowiki>
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Here we will find link to download '''LDmicro''' installation files for '''Windows'''.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click LDmicro for Windows
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click on '''LDmicro for Windows '''link.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Point .exe file
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| In the '''Downloads '''folder, the downloaded .exe file is available.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Double-click on the .exe file
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Double-click on the '''.exe''' file
+
  
 
We will get a warning message as:
 
We will get a warning message as:
  
 
'''‘Windows SmartScreen prevented an unrecognized app from starting’'''.
 
'''‘Windows SmartScreen prevented an unrecognized app from starting’'''.
 +
|-
 +
|| Click ‘More info’ >> Click ‘Run anyway’
 +
|| Click on '''‘More info’.'''
  
|-
+
Then, click on '''‘Run anyway’ '''button.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘More info’ >> Click ‘Run anyway’
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click on '''‘More info’.'''
+
||  
 
+
|| This will open the '''LDmicro-Program Editor''' window.
Then, click on '''‘Run anyway’ '''button'''.'''
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| This will open the '''LDmicro-Program Editor window.'''
+
  
 
Thus, we’ve successfully installed '''LDmicro'''.
 
Thus, we’ve successfully installed '''LDmicro'''.
  
 
Close the window.
 
Close the window.
 
+
|-  
|-
+
||  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
|| Next, we’ll see how to '''install AVRDUDE'''.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Next, we’ll see how to install '''AVRDUDE'''.
+
|-  
 
+
|| Slide 4:
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 5:
+
  
 
What is AVRDUDE?
 
What is AVRDUDE?
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| What is '''AVRDUDE'''?
+
|| What is '''AVRDUDE'''?
  
 
'''AVRDUDE '''stands for '''AVR Downloader Uploader'''.
 
'''AVRDUDE '''stands for '''AVR Downloader Uploader'''.
  
It is a tool for downloading or uploading the on-chip memories of AVR microcontrollers.
+
It is a tool for downloading or uploading the on-'''chip memories''' of '''AVR microcontrollers'''.
 
+
|-  
|-
+
||  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
|| Now we will see the '''installation''' of '''AVRDUDE.'''
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Now we will see the installation of '''AVRDUDE'''
+
|-  
 
+
||  
|-
+
|| Switch back to the '''browser'''.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Switch back to the browser
+
|| Point Windows row
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Point Windows row
+
  
 
Point ‘WinAVR (avrdude)’ link
 
Point ‘WinAVR (avrdude)’ link
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| In the '''User Downloads''' page, in''' Windows''' row, click on '''WinAVR (avrdude).'''
+
|| 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.'''
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click WinAVR (avrdude)
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| It will redirect to '''sourceforge.net''' website.  
+
|| Click ‘20100110’
 +
|| Click on the first folder available in the list, which indicates the latest version.
  
|-
+
In my case, it is '''‘20100110‘'''.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click on ‘Files’
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click on the ‘'''Files'''’ tab.
+
|| Click WinAVR-20100110-install.exe
  
|-
+
|| Then, click on '''WinAVR-20100110-install.exe.'''
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘WinAVR’
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click on '''WinAVR'''’ folder.
+
  
We can see a list of folders for different versions of '''AVRDUDE'''
+
This will download the '''executable file''' for '''AVRDUDE.'''
  
|-
+
It will take some time to download the '''file'''.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘20100110’
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click on the first folder available in the list, which indicates the latest version.
+
|| Point .exe file
 
+
|| In the '''Downloads''' folder, the downloaded '''.exe file''' is available
In my case, it is ‘'''20100110'''‘.
+
|-  
 
+
|| Right click on the '''.exe file'''.
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click WinAVR-20100110-install.exe
+
 
+
 
+
 
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Then, click on '''WinAVR-20100110-install.exe.'''
+
 
+
This will download the executable file for '''AVRDUDE.'''
+
 
+
It will take some time to download the file.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Point .exe file
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| In the '''Downloads''' folder, the downloaded .exe file is available
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Right click on the .exe file  
+
  
 
Click on ‘Run as administrator’
 
Click on ‘Run as administrator’
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Right click on it and select ‘'''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.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘Yes’
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| A window will pop-up asking permission to install.
+
|| Select ‘English’ >> Click ‘OK’ >> Click ‘Next’ >> Click ‘I Agree’
 
+
|| Then another window pops up asking to select a language.
Click on ‘'''Yes'''’ button
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Select ‘English’ >> Click ‘OK’ >> Click ‘Next’ >> Click ‘I Agree’
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Then another window pops up asking to select a language.
+
  
 
Select '''English''' and then click ‘'''OK'''’ button.
 
Select '''English''' and then click ‘'''OK'''’ button.
  
Click ‘'''Next'''’ in the Setup Wizard window.
+
Click ‘'''Next'''’ in the '''Setup Wizard''' window.
  
Click ‘'''I agree'''’ in the License Agreement window.
+
Click ‘'''I agree'''’ in the '''License Agreement''' window.
 
+
|-  
|-
+
|| Browse the location
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Browse the location
+
|| Browse to the location where you would want to '''install''' the '''software'''.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Browse to the location where you would want to install the software.
+
  
 
I’ll install it on '''Desktop'''.
 
I’ll install it on '''Desktop'''.
 
+
|-  
|-
+
|| Click ‘Next’ >> Click ‘Install’
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘Next’ >> Click ‘Install’
+
|| Click on ‘'''Next'''’ button.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click on ‘'''Next'''’ button.
+
  
 
Click on ‘'''Install'''’ button.
 
Click on ‘'''Install'''’ button.
 
+
|-  
|-
+
|| Click ‘Finish’
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘Finish’
+
|| It will take some time to '''install''' the '''software'''
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| It will take some time to install the software
+
  
 
After completion, click on ‘'''Finish'''’ button.
 
After completion, click on ‘'''Finish'''’ button.
 
+
|-  
|-
+
|| Open Windows search
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Open Windows search
+
|| To make sure it is installed, open '''command prompt''' using '''Windows search.'''
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| To make sure it is installed, open '''command prompt''' using Windows search.
+
|-  
 
+
|| Type '''‘avrdude'''
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Type ‘avrdude''''''
+
  
 
Point the version number
 
Point the version number
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Type ‘'''avrdude'''’ and press '''ENTER.'''
+
|| Type ‘'''avrdude'''’ and press '''ENTER.'''
  
We can see the version of''' AVRDUDE''' installed on the machine.
+
We can see the version of''' AVRDUDE installed''' on the machine.
 
+
|-  
|-
+
||  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
|| Next, we will see about '''USBasp programmer.'''
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Next, we will see about '''USBasp programmer'''
+
|-  
 
+
|| Slide 5:
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 6:
+
  
 
(picture of USBasp programmer, '''USBasp_Programmer.jpg''')
 
(picture of USBasp programmer, '''USBasp_Programmer.jpg''')
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| This is a picture of a USBasp programmer
+
||  
  
|-
+
This is a picture of a '''USBasp programmer'''.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 7:
+
|-  
 +
|| Slide 6:
  
 
Why USBasp drivers?
 
Why USBasp drivers?
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| * A '''USBasp''' programmer is used to program the controller on '''OpenPLC''' main board
+
|| Why '''USBasp drivers'''?
* '''AVRDUDE''' will not recognize the '''USBasp''', if drivers are not installed.
+
*A '''USBasp programmer''' is used to '''program''' the '''controller''' on '''OpenPLC Mainboard'''.
 +
* '''AVRDUDE''' will not recognize the '''USBasp''', if '''drivers''' are not '''installed'''.
  
|-
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
||  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Now, we’ll see how to install the '''USBasp''' driver
+
|| 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.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Switch back to the browser.
+
||  
 +
|| 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
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| I’m using '''Windows 8 OS''' to do the installation.
+
  
The procedure is same for '''Windows 10 '''also'''.'''
+
|| In the '''Windows''' row, click on ‘'''USBasp drivers’ link''' to download them.
 
+
|-  
|-
+
|| Point the .zip file
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|
+
|| In the '''Downloads''' folder, we can see a '''.zip file''' of '''USBasp drivers'''.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| First, we need to download the installation files.
+
|-  
 
+
|| Right click >> Click ‘Extract All’
|-
+
|| Right click on it and select ‘'''Extract All'''’.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘USBasp drivers’ link
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| In the Windows row, Click on ‘'''USBasp drivers'''’ link to download them.
+
|| Click ‘Extract’
 
+
|| Browse to the location where you want to extract and click ‘'''Extract'''’.
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Point the .zip file
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| In the '''Downloads''' folder, we can see a .zip file of '''USBasp''' drivers
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Right click >> Click ‘Extract All’
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Right click on it and select ‘'''Extract All'''’.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘Extract’
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Browse to the location where you want to extract and click ‘'''Extract'''’.
+
  
 
I’ll extract to the '''Downloads''' folder.
 
I’ll extract to the '''Downloads''' folder.
 
+
|-  
|-
+
||  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
|| Connect the '''USBasp programmer''' to one of the '''USB ports''' of your PC.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Connect '''USBasp '''programmer to one of the USB ports of your PC.
+
|-  
 
+
|| Open Windows search
|-
+
|| Now, open '''Windows search'''.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Open Windows search
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Now, open Windows search.
+
|| Type ‘Device Manager’  
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Type ‘Device Manager’  
+
  
 
Press ENTER
 
Press ENTER
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Search for ‘'''Device Manager'''’.
+
|| Search for ‘'''Device Manager'''’.
  
In Windows 8, we can find '''‘Device Manager’''' under '''Settings '''
+
In '''Windows 8''', we can find '''‘Device Manager’''' under '''Settings '''
  
 
Click on '''Device Manager.'''
 
Click on '''Device Manager.'''
 
+
|-  
|-
+
|| Click ‘Other Devices’
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘Other Devices’
+
  
 
Point ‘USBasp’
 
Point ‘USBasp’
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click on ‘'''Other devices'''’.
+
|| Click on ‘'''Other devices'''’.
  
 
We can see ‘'''USBasp'''’.
 
We can see ‘'''USBasp'''’.
 
+
|-  
|-
+
|| Point yellow sign
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Point yellow sign
+
|| The yellow sign near '''USBasp''' indicates that it’s not connected.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| 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'''’.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Right click on ‘USBasp’ >> Click ‘Update Driver Software’
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Right click on it and select ‘'''Update Driver Software'''’.
+
||  
 
+
|| A window will pop up with ‘'''How do you want to search for driver software?'''.
|-
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
|| Click ‘Browse my computer for driver software’
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| A window will pop up with ‘'''How do you want to search for driver software?'''.
+
|| Click ‘'''Browse my computer for driver software'''’.
 
+
|-  
|-
+
|| Browse to the location
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘Browse my computer for driver software’
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘'''Browse my computer for driver software'''’
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Browse to the location
+
  
 
Click ‘Install’
 
Click ‘Install’
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Browse to the location where you have extracted the ‘'''USBasp drivers'''’ folder.
+
|| Browse to the location where you have extracted the ‘'''USBasp drivers'''’ folder.
  
 
I’ll change to '''Downloads.'''
 
I’ll change to '''Downloads.'''
  
 
Click on '''Next''' button.
 
Click on '''Next''' button.
 
+
|-  
|-
+
|| Point the message
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Point the message
+
|| But, we can see a message as:
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| But, we can see a message as:
+
  
 
‘'''Windows encountered a problem installing the driver software for your device’'''.
 
‘'''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'''
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| This is because there is 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'''.
 
+
|-  
Therefore we have to disable the signature checking.
+
|| Press SHIFT and Restart  
 
+
|| To do that, hold the '''Shift''' key and '''restart''' the computer.
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Press SHIFT and Restart  
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| To do that, hold the '''shift''' key and '''restart''' the computer.
+
  
 
The computer will restart with some clicking options on the screen.
 
The computer will restart with some clicking options on the screen.
 
+
|-  
|-
+
|| Click ‘troubleshoot’
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘troubleshoot’
+
|| Click on ‘'''Troubleshoot'''’ option.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click on ‘'''Troubleshoot'''’ option.
+
|-  
 
+
|| Click ‘Advanced Options’
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘Advanced Options’
+
  
 
Click ‘Startup Settings’
 
Click ‘Startup Settings’
  
Text box
+
|| Then click on ‘'''Advanced Options'''’.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Then click on ‘'''Advanced Options'''’.
+
  
 
Click on ‘'''Startup Settings'''’.
 
Click on ‘'''Startup Settings'''’.
  
On Windows 10, it might be on a second page, after "'''Show more settings'''"
+
On '''Windows 10''', it might be on a second page, after "'''Show more settings'''".
 
+
|-  
|-
+
|| Highlight the options
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Highlight the options
+
|| A new window opens with the message:
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| A new window opens with the message:
+
 
+
  
 
‘'''after restart you will be able to change some windows options'''’.
 
‘'''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.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘Restart’
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Now simply click on the '''Restart''' button.
+
|| 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’.'''
  
When the computer reboots it will show some options on the screen.
+
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.
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Press 7
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Press 7 in the keyboard to select option 7, i.e ‘'''Disable driver signature enforcement'''’.
+
||  
 
+
|| This brings us to the end of this tutorial.  
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| After that, the computer will start windows normally but now with''' '''disabled driver signature detection.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Now again go to ‘'''Device manager'''’ and try installing the driver as before
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| We’ll get a warning that says ‘'''Windows can’t verify the publisher of this driver software’'''
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Click ‘Install this driver software anyway’
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Ignore it, and click on ‘'''Install this driver software anyway'''’
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| We can see a message ‘'''Windows has successfully updated your driver software’.'''
+
 
+
Click on the '''close''' button.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Point ‘USBasp’ in ‘Other devices’
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Now we can observe that the yellow sign at '''USBasp''' is not there.
+
 
+
Thus, '''USBasp''' drivers are successfully installed and working
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"|  
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| This brings us to the end of this tutorial.  
+
  
 
Let us summarize.
 
Let us summarize.
 +
|-
 +
|| Slide 7: Summary
  
|-
+
We learnt to install
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 8:
+
*LDmicro
 +
*AVRDUDE
 +
*Drivers for USBasp programmer
  
Summary
+
|| In this tutorial, we learnt how to install
 
+
*'''LDmicro'''
* How to install LDmicro
+
*'''AVRDUDE'''
* How to install AVRDUDE
+
*'''drivers''' for '''USBasp programmer'''
* How to install drivers for USBasp programmer
+
|-  
 
+
|| Slide 8:
 
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| In this tutorial, we learnt How to install
+
 
+
* LDmicro
+
* AVRDUDE
+
* drivers for USBasp programmer
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 9:
+
  
 
About Spoken Tutorial project
 
About Spoken Tutorial project
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| * The video at the following link summarises the Spoken Tutorial project.
+
||  
* Please download and watch it
+
* The video at the following link summarises the Spoken Tutorial project.
 
+
* Please download and watch it.
|-
+
|-  
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 10:
+
|| Slide 9:
  
 
Spoken Tutorial workshops
 
Spoken Tutorial workshops
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| The''' Spoken Tutorial Project''' team:
+
|| The''' Spoken Tutorial Project''' team:
 
+
 
* conducts workshops using spoken tutorials and
 
* conducts workshops using spoken tutorials and
 
* gives certificates on passing online tests.
 
* gives certificates on passing online tests.
  
For more details, please write to us
+
For more details, please write to us.
 
+
|-  
|-
+
|| Slide 10:
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 11:
+
  
 
Forum for specific questions:
 
Forum for specific questions:
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Do you have questions in THIS Spoken Tutorial?
+
||  
 
+
* Do you have questions in THIS Spoken Tutorial?
 
* Please visit this site
 
* Please visit this site
 
* Choose the minute and second where you have the question
 
* Choose the minute and second where you have the question
 
* Explain your question briefly
 
* Explain your question briefly
 
* Someone from our team will answer them
 
* Someone from our team will answer them
 
+
|-  
|-
+
|| Slide 11:
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 12:
+
  
 
Forum for specific questions:
 
Forum for specific questions:
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Do you have any general/technical questions on OpenPLC?
+
|| Do you have general/technical questions on OpenPLC?
  
 
Please visit the FOSSEE forum and post your question.
 
Please visit the FOSSEE forum and post your question.
 
+
|-  
|-
+
|| Slide 12:
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 13:
+
  
 
Acknowledgment
 
Acknowledgment
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
+
|| Spoken Tutorial Project is funded by MHRD, Government of India.
 
+
|-  
More information on this mission is available at
+
|| Slide 13:
 
+
this link.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| Slide 14:
+
 
+
  
 
Thank you slide
 
Thank you slide
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.176cm;"| This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.
+
|| This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.
  
 
And this is Harsha Priyanka from FOSSEE team, signing off.
 
And this is Harsha Priyanka from FOSSEE team, signing off.
  
 
Thanks for watching.
 
Thanks for watching.
 
+
|-
 
|}
 
|}

Latest revision as of 18:03, 20 January 2021

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,
  • LDmicro
  • AVRDUDE
  • Drivers for USBasp programmer
Slide 3:

System Requirements

To record this tutorial I am using:
  • Windows 8 operating system
  • USBasp programmer
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?
  • A USBasp programmer is used to program the controller on OpenPLC Mainboard.
  • AVRDUDE will not recognize the USBasp, if drivers are not installed.
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

  • LDmicro
  • AVRDUDE
  • Drivers for USBasp programmer
In this tutorial, we learnt how to install
  • LDmicro
  • AVRDUDE
  • drivers for USBasp programmer
Slide 8:

About Spoken Tutorial project

  • The video at the following link summarises the Spoken Tutorial project.
  • Please download and watch it.
Slide 9:

Spoken Tutorial workshops

The Spoken Tutorial Project team:
  • conducts workshops using spoken tutorials and
  • gives certificates on passing online tests.

For more details, please write to us.

Slide 10:

Forum for specific questions:

  • Do you have questions in THIS Spoken Tutorial?
  • Please visit this site
  • Choose the minute and second where you have the question
  • Explain your question briefly
  • Someone from our team will answer them
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.

Contributors and Content Editors

Nancyvarkey, Nirmala Venkat, Priyanka.guntaka123