Software Setup (Arduino IDE 1.0.X)

Since our Macchina is based on an Arduino MEGA 2560, the normal Arduino IDE (version 1.0) can be used with a few additions. Refer to this post for IDE 1.5 and up.

To get your computer talking with the Macchina, follow these steps:

On a Mac, first you will want to hold down 'control' and click the Arduino application icon - then select "Show Package Contents". Next, find the file called "boards.txt" which is can be found at: Contents>Resources>Java>hardware>arduino .

On a PC, open the folder where the 'Arduino' application is found. Then find the file "boards.txt" which can be found at: hardware>arduino

Open the "boards.txt" file and paste the text below to the end of that document.

##############################################################

macchina.name=Macchina

macchina.upload.protocol=stk500v2
macchina.upload.maximum_size=258048
macchina.upload.speed=115200

macchina.bootloader.low_fuses=0xE0
macchina.bootloader.high_fuses=0xD8
macchina.bootloader.extended_fuses=0xFD
macchina.bootloader.path=stk500v2
macchina.bootloader.file=stk500boot_v2_mega2560.hex
macchina.bootloader.unlock_bits=0x3F
macchina.bootloader.lock_bits=0xFF

macchina.build.mcu=atmega2560
macchina.build.f_cpu=16000000L
macchina.build.core=arduino

macchina.build.variant=macchina

----

Next create a folder inside the 'variants' folder and call it "macchina". ('variants' can be found on a Mac at: Resources>Java>hardware>arduino>variants, on a PC at: hardware>arduino>variants)

Put this file: pins_arduino.h inside this new 'macchina' folder.

Restart the Arduino IDE to make sure all the new settings are loaded.

To verify that everything is set up correctly, try out the "Blink" example found in: Files>Examples>0.1 Basics>Blink.

Change the LED to one of the on-board LEDs on the Macchina like this:

Hit the upload button, and you should see the TX/RX LEDs blinking quickly, meaning the code is being sent to the Macchina.

If all is well, you should see a blinking LED!

Note: pin numbers 81 or 82 are the on-board LEDs on Macchina, these pins would not normally be available on a typical Arduino Mega.

Comments

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. k2 challan

We hold to enhance the performance of networks and communications with lasting, specific and big answers in numerous business markets. We agree with in exceeding expectancies and supplying most reliable fee to our clients to create a higher future, together. websitethemes.shop

We are proud to mention to our Visitors that our internet site is the quality web website online to shop for natural incense. We are valid natural incense carriers so that you are seeking out legit carriers, you're on the proper place. K2 chemical Spray for sale

It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post. Updated Ideas

Awesome article!  I want people to know just how good this information is in your article.  It’s interesting, compelling content.  Your views are much like my own concerning this subject. menu

Succeed! It could be one of the most useful blogs we have ever come across on the subject. Excellent info! I’m also an expert in this topic so I can understand your effort very well. Thanks for the huge help. Bokep

Temazepam is metabolised basically withinside the liver in which maximum of the unchanged drug is at once conjugated to the glucuronide and excreted withinside the urine. Less than 5% of the drug is demethylated to oxazepam and removed because the glucuronide. temazepam 20mg

You have performed a great job on this article.  It’s very precise and highly qualitative. You have even managed to make it readable and easy to read. You have some real writing talent. Thank you so much. Updated Ideas

Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive! 먹튀검증

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. https://math24x7.com/

You have a real talent for writing unique content.  I like how you think and the way you express your views in this article.  I am impressed by your writing style a lot. Thanks for making my experience more beautiful. Escorts in Lahore

Pages