Install Arduino on MacOS  Step by Step Guide ▷ 2020

The Arduino’s integrated programming environment is a very versatile tool, so you can download it on a computer with operating system MacOS. If you want to know how to do it, we invite you to continue reading.

We will teach you a complete guide to download and install the Arduino IDE in a fast and practical way. This will prevent you from making mistakes and having to redo all the steps all over again.

But that’s not all you’ll find in this post, we will also present you a list with the best projects with Arduino what can you do yourself from your MacOS. Let’s get started!

Learn step by step how to download and install the Arduino IDE on MacOS

To download and install the Arduino IDE on your computer with MacOS operating system you will have to follow this step by step:

Enter the official Arduino page

The first thing you will have to do is access the URL address with your browser https://www.arduino.cc/en/Main/Software . Then you must click on the tab software and finally in to download. This will allow you to see the tool Download the Arduino IDE. For more ease from InternetPasoaPaso we leave you below a direct link for downloading.

Download Arduino IDE for MacOS

Download the IDE

Download the IDE

In this step you will have to click on Download the Arduino IDE and then select the option located on the right of the screen Mac OS X 10.10 or newer. Next, you must choose if you want to support the Arduino software, for this case you will have to click on the option CONTRIBUTE AND DOWNLOAD. You can also download the program without having to pay anything. For this you will have to click on DOWNLOAD ONLY.

Install the program

After a few seconds A folder will open in which you must choose on your Mac the destination where you want to host the program. You are going to click on save and then run the installer. For this last step you will have to unzip the file arduino-1.8.13-macosx.zip and begin the installation process as prompted by the wizard. You should not forget that you will have to tell the operating system that the origin of the program is trusted.

Set the port and the type of Arduino board

Set the port and the type of Arduino board

Once you have installed the program, it is necessary to set the parameters to tell the software which port it is connected to and the board Arduino. For this it will be necessary to open the program and go to the tab Tools and click Board. This will allow you to select the type of Arduino you own. Then plug the board into a USB port on your Mac and go to the tab again Tools. Click on the tool Port and choose the port in which you connected the board.

List of the best Arduino projects that you can do yourself from a MacOS

Below, you can find the best Arduino projects that you can do yourself from a Mac computer:

Air quality sensor

Air quality sensor

This project can be done on your computer MacOS through the Arduino IDE. It is a sensor that measures air quality to determine the level of pollution that is in an environment. Although it is a test project, it will help you avoid environments with smoke, cigarette smoke and other pollutants. For this you will need an arduino board MKR WiFi 1010 and a shield Arduino MKR RGB.

Then you must enter these programming codes:

#include <ArduinoGraphics.h>

#include <Arduino_MKRRGB.h>

#include <WiFiNINA.h>

#include <ArduinoHttpClient.h>

#include <Arduino_JSON.h>

int max_level[] = {12, 35, 55, 150, 250, 500};

String labels[] = {"Good", "Moderate", "USG", "Unhealthy", "V Unhealthy", "Hazardous"};

int color[][3] = {{0, 255, 0}, {255, 255, 0}, {255, 128, 0}, {255, 0, 0}, {128, 0, 128}, {128, 0, 0}};

long timer = 0;

char ssid[] = SECRET_SSID;

char pass[] = SECRET_PASS;

String sensor_id = SECRET_SENSOR_ID;

int status = WL_IDLE_STATUS;

char server[] = "www.purpleair.com";

WiFiClient wifi;

HttpClient client = HttpClient(wifi, server, 80);

void setup() {

begin(9600);

while ( status != WL_CONNECTED) {

print("Attempting to connect to Network named: ");

println(ssid);

status = WiFi.begin(ssid, pass);

}

begin();

brightness(2);

textScrollSpeed(50);

}

void loop() {

getAirQuality();

delay(20000);

}

void getAirQuality() {

println("Requesting data from PurpleAir");

get('/json?show=' + sensor_id);

int statusCode = client.responseStatusCode();

String response = client.responseBody();

int level = 5;

if (statusCode == 200) {

int PM2_5 = atoi(myObject["results"][0]["PM2_5Value"]);

for (int i = 0; i < 6; i++) {

if (PM2_5 <= max_level[i]) {

level = i;

break;

}

}

println(PM2_5);

println(labels[level]);

timer = millis();

beginText(MATRIX.width() - 1, 0, color[level][0], color[level][1], color[level][2]); // X, Y, then R, G, B

print(PM2_5);

print(" ");

println(labels[level]);

endText(SCROLL_LEFT);

beginDraw();

stroke(color[level][0], color[level][1], color[level][2]);

rect(0, 0, MATRIX.width(), MATRIX.height());

endDraw();

}

}

Talking robot

Talking robot

This fun project can be done from your Mac computer. You can create a robot and configure it to speak in the language you wantIn the example that we leave you, you can find different alternatives to modify the words you want it to say. You will need a badge Arduino Nano R3, an SG90 servomotor, a TF module and an infrared range sensor.

Then you must enter the codes:

#include "ServoTimer2.h"

#include"SD.h"

#define SD_ChipSelectPin 10

#include"TMRpcm.h"

#include"SPI.h"

TMRpcm tmrpcm;

ServoTimer2 head;

ServoTimer2 lhand;

ServoTimer2 rhand;

int in1= 6;

int in2= 7;

int in3= 8;

void setup()

{

attach(2);

attach(3);

attach(4);

speakerPin=9;

begin(9600);

if(!SD.begin(SD_ChipSelectPin))

{

println("SD FAIL");

return;

}

}

void loop()

{

if(!(digitalRead(in3)))

{

play("welcome.wav");

write(2500);

delay(2000);

write(1200);

delay(9000);

}

if(!(digitalRead(in1)))

{

play("dont.wav");

write(300);

write(2000);

delay(3000);

}

if(!(digitalRead(in2)))

{

play("dont.wav");

write(2000);

write(1000);

delay(3000);

}

else

{

write(300);

write(1700);

write(1500);

}

}

Led tower

Led tower

In this project you will need a Arduino Micro board, necessary amount of LEDs and a kit of integrated circuits to create the tower. The design you want to give to the tower will depend on youIn the example we show you, it is a hexagonal tower of about 20 centimeters.

The codes that you will need to enter on your Mac are:

int pinsCount = 10 ;

int pines []  =  { 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 16 };

configuración vacía () {

for ( int  i = 0 ;  i < pinsCount ;  i = i + 1 ) {

pinMode ( pines [ i ], SALIDA );

}

}

bucle vacío () {

for ( int  i = 0 ;  i < pinsCount ;  i = i + 1 ) {

digitalWrite ( pines [ i ], ALTO );

retraso ( 50 );

digitalWrite ( pines [ i ], BAJO );

}

for ( int  i = pinsCount - 1 ;  i > 0 ;  i = i - 1 ) {

digitalWrite ( pines [ i ], ALTO );

retraso ( 50 );

digitalWrite ( pines [ i ], BAJO );

}

{

digitalWrite ( 2 , BAJO );

digitalWrite ( 3 , BAJO );

digitalWrite ( 4 , BAJO );

digitalWrite ( 5 , BAJO );

digitalWrite ( 6 , BAJO );

digitalWrite ( 7 , BAJO );

digitalWrite ( 8 , BAJO );

digitalWrite ( 9 , BAJO );

digitalWrite ( 10 , BAJO );

digitalWrite ( 16 , BAJO );

retraso ( 1000 );

escritura digital ( 2 , ALTA );

escritura digital ( 3 , ALTA );

escritura digital ( 4 , ALTA );

escritura digital ( 5 , ALTA );

escritura digital ( 6 , ALTA );

escritura digital ( 7 , ALTA );

escritura digital ( 8 , ALTA );

digitalWrite ( 9 , ALTO );

digitalWrite ( 10 , ALTO );

escritura digital ( 16 , ALTA );

retraso ( 1000 );

}

}

If you have any questions, leave them in the comments, we will answer you as soon as possible, and it will surely be of great help to more members of the community. Thank you! 😉

You may be interested:

Rate this post

Leave a Comment