Python Interactive Website to Learn Python for EE Student

AI Thread Summary
For learning Python specifically for electrical engineering applications involving microcontrollers, the discussion highlights the challenges of using Python due to the lack of interpreters or compilers for most microcontroller platforms, which typically support C or assembly code. Users are encouraged to explore learning C programming, as it is more compatible with microcontroller development. Recommendations include searching for tutorials on C for Arduino and utilizing resources like the Arduino website and a specific PDF guide on C for Arduino. The consensus is that foundational knowledge in C programming is essential before learning to interface with hardware libraries for microcontrollers.
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 berkeman
Technology 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 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 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:
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top