this post was submitted on 20 Nov 2024
8 points (100.0% liked)

Ask Electronics

3335 readers
11 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 1 year ago
MODERATORS
 

I wanted to learn more about electronics, and I found this https://www.open.edu/openlearn/science-maths-technology/an-introduction-electronics/content-section-0 to start from so I can have a grasp on theories first, and I want to try learning microcontrollers afterwards but I can't afford to buy any IRL atm, are there any softwares to simulate them to assist on learning without having the physical hardware? I'd be happy if anyone could give me any tips toward that, thank you if you read this far

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 week ago* (last edited 6 days ago)

Depends on what your focus is. If you want to build understanding of electronic components and how they interact through experimentation, Paul Falstad's circuit simulator is a great start.

If you want to focus on digital logic, Logisim is great.

But here's the thing: A microcontroller is controlled only through code. You want to learn electronics, you can simulate those. You want to learn about a specific microcontroller, read the manual for that controller. You want to learn to code a particular language, you learn that language.

You want to code on a microcontroller, get a microcontroller.

The raspberry pi pico is $4.

Edit:

Okay, so i was clicking around on Falstad's site as i haven't been there for a while and i found a thing called AVR8JS

This is literally what you are looking for! It allows you to set up a circuit, and use a simulated microcontroller to run C code on the circuit!