Set Up Procedures For Workshops

From media_wiki
Jump to: navigation, search

Windows 10

Arduino IDE The newest version 1.8.6 may not work for this Workshop!

  • Download Arduino Version 1.8.1 - https://www.arduino.cc/en/Main/OldSoftwareReleases
  • Select Windows not Windows Installer
  • Unzip arduino-1.8.1-windows.zip
  • Move unzipped folder to Documents folder (Optional)
  • Open Arduino IDE and update the following Arduino Libraries:
   Adafruit Unified Sensor, DHT Sensor Library, U8glib

AVRdude (avrdude.exe) The real power behind Arduino

Windows Setup
1. AVRdude Web Page:  http://savannah.nongnu.org/projects/avrdude 
2. Select [Download Area] 
3. Select latest Version: avrdude-6.3-mingw32.zip  
4. Unzip avrdude-6.3-mingw32.zip 
5. Create new folder for AVRdude. Move unzipped files to your newly created AVRdude_6_3 folder.
6. Open CMD.exe (Windows Command Line) 
7. Find and Open the AVRdude program. Windows Example: C: Documents\AVRDude-V6-3. cd Documents\AVRDude-V6-3
8. Type “avrdude”  The avrdude help menu should display a list of commands.

Zadig (zadig-2.4.exe)

Used for USBTiny & USBasp unsupported drivers in Windows 10

Do Not use until Instructed to do so!


Putty Used for RS232 serial interface Download Putty https://putty.org/

Run putty-64bit-0.70-installer.msi


Silicon Labs CP210x USB to UART Bridge RS232 Interface

URL for drivers: 
  https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
  • CP210x_Universal_Windows_Driver.zip

FDTI 232 interface - Nothing needed. Should automatically install.


Ubuntu 18.04

ARVdude The real power behind Arduino

Linux Setup
Check that AVRdude 6.3 is installed and working.
1. Open terminal and type "avrdude". AVRdude should display the help menu.
If it does not display the help menu then enter the following in the terminal:
sudo apt install avrdude. Repeat step one to ensure it is working.

Test USBTiny or USBasp works with AVRdude

  • Connect USBTiny or USBasp to a USB port.
  • Connect ATmega328 Target Board to to USBtiny or USBasp.
  • Open Terminal and type the follow: "avrdude -p m328p -c usbtiny -v"

Arduino IDE

  • 1. Open Ubuntu Software
  • 2. Search for Arduino IDE
  • 3. Select install.
  • 4. After Install completes Select permissions
  • 5. Select Launch
  • 6. Under tools tab select Programmer and pick your programmer.
  • 7. Under tools tab select Board - Arduino uno
  • 8. Open Blink sketch under examples in File Tab
  • 9. Upload Using Programmer under Sketch Tab

Windows 7

Arduino IDE The newest version 1.8.6 may not work for this Workshop!

  • Download Arduino Version 1.8.1 - https://www.arduino.cc/en/Main/OldSoftwareReleases
  • Select Windows not Windows Installer
  • Unzip arduino-1.8.1-windows.zip
  • Move unzipped folder to Documents folder (Optional)
  • Open Arduino IDE and update the following Arduino Libraries:
   Adafruit Unified Sensor, DHT Sensor Library, U8glib

AVRdude (avrdude.exe) The real power behind Arduino

Windows Setup
1. AVRdude Web Page:  http://savannah.nongnu.org/projects/avrdude 
2. Select [Download Area] 
3. Select latest Version: avrdude-6.3-mingw32.zip  
4. Unzip avrdude-6.3-mingw32.zip 
5. Create new folder for AVRdude. Move unzipped files to your newly created AVRdude_6_3 folder.
6. Open CMD.exe (Windows Command Line) 
7. Find and Open the AVRdude program. Windows Example: C: Documents\AVRDude-V6-3. cd Documents\AVRDude-V6-3
8. Type “avrdude”  The avrdude help menu should display a list of commands.

Adafruit USBTiny drivers: https://learn.adafruit.com/usbtinyisp/drivers

AdafruitDriver1.PNG
Click Install
Since 3 checkboxes were checked, the installer will install 3 drivers, asking about installing each one.
AdafruitDriver2.PNG
Check Device Manager
AdafruitDriver4.PNG
Your Done


AVRDUDE Class