Interactive Website to Learn Python for EE Student

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
estv
Messages
3
Reaction score
1
Hi, I'm trying to learn python for electrical engineering application. Is there any interactive website to learn this, especially the one with interactive compiler or result animation? Maybe equipped with microcontroller simulator, LED, and actuator? (if is it possible)
So far, I've tried codecademy, checkio, and treehouse; all three of them provide great interactive learning process, but I don't think they specifically teach about how to use python in microcontroller which I need it the most.
Thank you in advance!
 
  • Like
Likes   Reactions: berkeman
Physics news on Phys.org
Using python in a micro controller requires there be a python interpreter in the microcontroller, which is unlikely. Or that there be a python to assembly compiler for the microcontroller you are using, which is also unlikely. The other possibility is to compile python to C code, which is far from a robust art.

microcontroller development platforms are generally for C or assembly code.
 
  • Like
Likes   Reactions: estv
meBigGuy said:
Using python in a micro controller requires there be a python interpreter in the microcontroller, which is unlikely. Or that there be a python to assembly compiler for the microcontroller you are using, which is also unlikely. The other possibility is to compile python to C code, which is far from a robust art.

microcontroller development platforms are generally for C or assembly code.

Thank you for your explanation meBigGuy!
I see, so can you suggest specific interactive website for learning C for microcontroller?
 
There is a software forum on this site with a faq, and I think there are probably many threads on learning C. Personally I have no experience with any C tutorial sites.

You can search on Google for "tutorials on C for Arduino", maybe.
This looked like a good read (not interactive) http://www.dsc.ufcg.edu.br/~rangel/Beginning%20C%20For%20Arduino%20%282012%29.pdf

Basically you first need to learn general C programming, then you need to learn how to interface to hardware libraries for your controller.
https://www.arduino.cc/en/Tutorial/HomePage
 
Last edited by a moderator:
  • Like
Likes   Reactions: estv and Silicon Waffle
meBigGuy said:
There is a software forum on this site with a faq, and I think there are probably many threads on learning C. Personally I have no experience with any C tutorial sites.

You can search on Google for "tutorials on C for Arduino", maybe.
This looked like a good read (not interactive) http://www.dsc.ufcg.edu.br/~rangel/Beginning%20C%20For%20Arduino%20%282012%29.pdf

Basically you first need to learn general C programming, then you need to learn how to interface to hardware libraries for your controller.
https://www.arduino.cc/en/Tutorial/HomePage

Noted, thanks for the answers meBigGuy!
 
Last edited by a moderator: