Arduino - Start Arduino in MacOS
Install Arduino IDE and test in MacOS
- Go to Arduino Office Website: https://www.arduino.cc/en/software, choosing the download option you need. Then, press the corresponding text button and download it.
- Install the IDE: after installation, double chick the “.dmg” file. Then, pull the Arduino IDE icon to “Applications” to install the software.

- Open the IDE from “Launchpad (啟動台)” and enjoy it!
Install Rosetta 2
Rosetta 2 enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor.
Because Arduino development software is built for use on x86-64 processors. So, we need to install Rosetta for it.
How to install. In terminal, we just command:
1 | softwareupdate --install-rosetta --agree-to-license |
Done!
What if we don’t install Rosetta
I tested that before for you guys! If we uploaded Arduino code without Rosetta, it would show the compiled error like below content:
1 | fork/exec /Users/user/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++: bad CPU type in executable |
Test with Arduino
Requirement Device:
- Arduino device, e.g. Arduino UNO R3 board
- Cable: type A to type B USB
- USB hub (All in one to Type C USB)
- MacBook, e.g. MacBook Air M1
Test Steps:
- Connect the Arduino device with cable and USB hub, like picture below:

make sure Arduino is worked (yellow light keeps flashing)
- Open the Arduino IDE, select the correct Board to connect to your device. After selecting, it will show up your type of Arduino, e.g. “Arduino UNO” for my case.

- Test with the example code: we will test the Arduino with code called “Blink”, and this is a program make your Arduino LED blinking with delay time you set. We open the code from “File” > “Examples” > “01.Basics” > “Blink”, and it will open a window for this code.

- You can modify the delay time (I set 2 sec in this case), and then chick the “right arrow” button to upload the program into Arduino.

- If the LED on the Arduino turns on and off every two seconds, that is! Congratulations!
Conclusion
This is my first time playing with Arduino on MacOS. Initially, I thought it would be difficult to use Arduino with MacBooks, but I was wrong. Setting it up is as easy as it is on Windows. Finally, I can create some interesting things with my MacBook at home!
Arduino - Start Arduino in MacOS
2024/04/06/arduino-start-up-withMacOS-md/
Comments
Comment plugin failed to load
Loading comment plugin