Instructor Info
Daniel Kohn
Email:
dekohn@memphis.edu
Office ET218
Office Hours
Course Info
Course Policies
Formal Report Guide
•
Numbering Equations in Word
GradeWatch Access
Submit Assignments
Textbooks
AVR M
icrocontrollers and ATMEL Studio for C Programming with Arduino by Warwick A. Smith ISBN 978-1-907920-46-2
Software
Microchip Studio 7
Arduino IDE (use Legacy IDE 1.8.x - for avrdude utility)
Course Outline
| Date | Topic | Reading | Handouts | Assignments |
| Aug 25 (T) | Welcome | Introduction | | No Lab |
| Aug 27 (R) | No Class | | | |
Reference Links
C Reference Card
NASA Style Guide
The C Programming Langague Reference
Info needed for Labs
Determine Com Port
With Arduino plugged in to computer's USB port
Win 10 - Search for "Powershell" and open
Type - "Get-WMIObject Win32_SerialPort" (no quotes)
check results for Arduino Uno (Com __ )
Atmel Studio
Setup Strings:
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe
-v -C "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -p atmega328p -c arduino -P COM7 -b 115200 -U flash:w:$(TargetDir)$(TargetName).hex:i
To get printf to work with floating point values:
Project |
nameofproject Properties | Toolchain : AVR/GNU Linker | General | Check "Use vprintf library(-Wl,-u,vfprintf)"
Project |
nameofproject Properties | Toolchain : AVR/GNU Linker | Miscellaneous | Other Linker Flags put into textbox | "-lprintf_flt" (leave off quotes).