Interactive Website to Learn Python for EE Student

Click For Summary

Discussion Overview

The discussion revolves around finding interactive websites for learning Python specifically for applications in electrical engineering, particularly in relation to microcontrollers. Participants explore the feasibility of using Python in microcontroller environments and seek alternatives for learning C programming for microcontroller applications.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant inquires about interactive websites for learning Python with a focus on microcontroller applications, expressing a need for features like compilers and simulators.
  • Another participant points out that using Python in microcontrollers is challenging due to the lack of Python interpreters on most microcontrollers and the complexity of compiling Python to assembly or C code.
  • A suggestion is made to search for C programming tutorials specifically for microcontrollers, particularly Arduino, as a more viable alternative.
  • Participants mention the need to first learn general C programming before interfacing with hardware libraries for microcontrollers.

Areas of Agreement / Disagreement

Participants generally agree on the challenges of using Python in microcontroller environments and the need to consider C programming as a more suitable option. However, there is no consensus on specific interactive resources for learning C or Python tailored to microcontroller applications.

Contextual Notes

Limitations include the lack of specific interactive Python resources for microcontrollers and the assumption that participants are familiar with general programming concepts. The discussion does not resolve the effectiveness of suggested resources.

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
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   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:

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
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K