MAE 3185 - Introduction to Mechatronics

Logo

View the Project on GitHub Abhiricky1992/UTA-MAE3185-Notes

Software Installation

Before we go about writing the code for the microcontroller programming, it is important to make sure that everyone can follow along the coding process regardless of the operating system they use. Majority of the PCs or Laptops in today’s time would be running either 1. Windows, 2. MacOS or 3. Linux. Even though the software necessary for microcontroller programming can be set-up in many ways for each operating system, the goal here is to make the process independent of the operating system being used. Upcoming paragraphs discuss how this is achieved for each operating system.

MacOS

MacOS and Linux are very similar in operation for the purpose of the microcontroller programming in this book. The small changes necessary to make MacOS behave as expected are provided below.

Zsh Steps

Step 1

1

Step 2

2

Step 3

3

Step 4

4

Windows

To get Windows to a similar state, a virtual Linux operating system can be installed in it. Windows provides WSL for this purpose. A brief installation guide for WSL is provided at https://learn.microsoft.com/en-us/windows/wsl/install. Following are the step-wise instructions with images to install WSL.

Step 1

1

Step 2

2

Step 3

3

Step 4

4

Step 5

5

Step 6

6

Step 7

7

Step 8

8

Step 9

9

Step 10

10

Step 11

11

Step 12

12

Step 13

13

Step 14

14

Step 15

15

Step 16

16

Step 17

17

Step 18

18

Step 19

19

Checking Windows Build Number

Step 1

1

Step} 2

2

Step} 3

3

Step 4

4

Step 1

1

Step 2

2

Step 3

3

Step 4

4

Step 1

1

Step 2

2

Step 3

3

Step 4

4

Step 5

5

Next

The software necessary to develop the C/C++ code for the microcontroller can be installed now. Instructions for installing this software for Raspberry Pi Pico can be found in its Getting Started guide. Upcoming sections provide a more detailed version of the same.

Back

Back