0

Looking for help learning Advanced Arduino
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Looking for help learning Advanced Arduino

by tkinsman on Fri Nov 03, 2017 12:21 am

I do community education with students in middle school, but I also want to be able to use Arduino to teach college students -- especially first and second year students.

I'm curious to learn more about what goes on under the covers inside the Arduino. For example: How does is the heap arranged? How can I write assembly language for an Arduino? How can you use the different types of memory correctly? What if I want to write my own device driver for a speaker? I also have questions about how some of the software pieces program the chip ... like what is Avrdude?

Is there any ~one~ place to go to learn about these lower-level aspects? Or, would I need to learn about each specific chip?

I'm hoping at least the Admins can help send me in the right directions.

tkinsman
 
Posts: 60
Joined: Sun Sep 25, 2016 2:04 pm

Re: Looking for help learning Advanced Arduino

by adafruit_support_bill on Fri Nov 03, 2017 5:59 am

We have a basic tutorial on Arduino memory here: https://learn.adafruit.com/memories-of- ... ot-dot-dot
For more detailed information about how things work at the lower level, there is the Arduino source code up on Github and the experts that maintain it over at the Arduino.cc forums.
https://github.com/arduino/Arduino
https://forum.arduino.cc/

There are a few tutorials out there on doing inline assembly on the Arduino. Here's one:
https://ucexperiment.wordpress.com/2016 ... utorial-1/

For more low level detail on things like avrdude and Atmel internals, there is the avrfreaks forum. (fair warning: a thick skin is helpful there)
http://www.avrfreaks.net/

adafruit_support_bill
 
Posts: 63350
Joined: Sat Feb 07, 2009 10:11 am

Re: Looking for help learning Advanced Arduino

by tkinsman on Fri Nov 03, 2017 4:45 pm

Thank you Bill!

tkinsman
 
Posts: 60
Joined: Sun Sep 25, 2016 2:04 pm

Re: Looking for help learning Advanced Arduino

by anros on Wed Dec 06, 2017 10:07 am

Hey all,
I teach level 1 Arduino and level 2 Arduino to kids ages 10-14. However I have a kid whose parents want me to teach him level 3 Arduino by private lessons. My standard classes are 4 hours a day, for 5 days. So, in total for both classes, thats 40 hours of material. So I am running out of lessons for my private classes, aka, another 20 hours. Does anybody have any ideas?
Thanks for advance

anros
 
Posts: 1
Joined: Wed Dec 06, 2017 9:46 am

Re: Looking for help learning Advanced Arduino

by adafruit_support_bill on Wed Dec 06, 2017 10:23 am

What is covered in your level-1 and level-2 courses? I would expect that after 40 hours of instruction, the student is probably ready to take on a project of moderate complexity with some supervision and mentoring. There are lots of on-line projects that can be completed as-is, or can serve as a starting point for somethign that the student would like to build.
https://learn.adafruit.com/

adafruit_support_bill
 
Posts: 63350
Joined: Sat Feb 07, 2009 10:11 am

Re: Looking for help learning Advanced Arduino

by tkinsman on Thu Dec 07, 2017 11:06 pm

I'm curious about what's in level 1 and level 2 also.

There are many many books of ideas at this point.

You could go into the memory architecture -- stack vs. heap, and the diff between SRAM and EEPROM, etc... You could show how to do some assembly language...

tkinsman
 
Posts: 60
Joined: Sun Sep 25, 2016 2:04 pm

Re: Looking for help learning Advanced Arduino

by kcl1s on Fri Dec 08, 2017 12:29 am

As an Arduino instructor I think the hardest step for students is project planning. In my ongoing weekly Arduino group, I have several students with 150 - 200 hrs of club time. They come every week and learn from the process. I try repeatedly to get the senior group members to take more of a lead role with me as adviser. We have had many trys but the projects always get bogged down and I end up stepping in to see them to completion. I don't know if its lack of confidence, laziness or something else. This is a library program that they attend voluntarily so I can't push too hard. Teaching the Arduino skills is not hard. Teaching them to think at the project level is another thing.

Keith

kcl1s
 
Posts: 456
Joined: Tue Aug 30, 2016 12:06 pm

Re: Looking for help learning Advanced Arduino

by franklin97355 on Fri Dec 08, 2017 6:29 pm

You could go into the memory architecture -- stack vs. heap, and the diff between SRAM and EEPROM, etc... You could show how to do some assembly language...
These things are not Arduino related but more processor related and a totally different subject. Arduino is more about having hardware that allows you to accomplish a goal using programming.

franklin97355
 
Posts: 17047
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Looking for help learning Advanced Arduino

by danhalbert on Fri Dec 08, 2017 11:35 pm

This book follows on from the beginner books: https://www.amazon.com/Programming-Ardu ... 0071830251, but it's a few years old now. It's more about fancier devices, with a little about internals. You can see a lot of the text in the Amazon preview.

danhalbert
 
Posts: 213
Joined: Tue Aug 08, 2017 12:37 pm

Please be positive and constructive with your questions and comments.