Python Interactive Website to Learn Python for EE Student

Click For 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:
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 67 ·
3
Replies
67
Views
25K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
667
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K