Close

First Post!

jonathanJonathan wrote 5 days ago • • 5 min read • Like

Hi all, I decided to start this hackaday account to document my journey of learning electronics. 

While I have some programming background in Java and C++ from high school courses and built Lego robotics in elementary school, I felt a bit self-conscious saying I wanted to pursue electrical engineering without hands-on microcontroller experience.

On social media, I see people creating cool but simple projects using materials such as a microcontroller, a few wires, motors, sensors, and some code. While that definitely glosses over the circuit design, debugging, and hardware constraints, it made me eager to explore.

Accompanying me on this journey is a W55MH32L_EVB board. Browsing the quick reference guide, the first thing that caught my eye was its support for MicroPython. Having standard Python syntax available on bare metal makes the learning curve much friendlier. The board also features an integrated Ethernet port, allowing it to interface directly with local networks or the internet.

Picture of W55MH32L_EVB Board Connected to Laptop

Getting started physically was pretty straightforward: I plugged a USB-C cable into the DAP-LINK port to handle power and programming, opened Thonny IDE, pointed the interpreter to generic MicroPython, and had a working session right away. Something interesting I discovered was that MicroPython uses Read-Eval-Print Loop or REPL. It is an interactive programming environment that takes user inputs, executes them, and returns the result immediately.

Instead of writing a full program, saving it, compiling/running it, and checking the output, a REPL lets you run code one line or expression at a time.

Something cool I discovered is that I can write algebraic expressions in the shell and it will be evaluated.

 Example of Algebraic Expressions being Evaluated in Thonny IDE Shell

Before diving into complex projects, I spent the past few days wrapping my head around the basic communication protocols and networking features exposed on the board’s pinout.

Hardware Communication Protocols

I spent some time looking at how microcontrollers actually talk to outside components. Technically, they are called Serial Communication Protocols. However we need to first, we need to start with learning about buses and clocks:

Now we can start looking at the some of those different communication protocols

Networking Concepts & Ethernet

Having onboard Ethernet makes this board pretty unique compared to typical beginner boards. I learned about the foundational protocols and ideas that makes the network happen:

So far, my progress has just been a bunch of background research. It's a small start, but understanding the difference between these buses and protocols makes the hardware world feel a lot less intimidating. 

Like

Discussions