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

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good workYes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. different tefl levels

We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work.Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that. Thanks so lot for your convene. Cau Chuyen Hoa Hong Phimmehd Org

Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too.I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. NumberLina.com Blog

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me.Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. Vermisster Arian Bremervörde Ritual

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place..This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. Faqlogin.com Home Improvement

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.Please continue this great work and I look forward to more of your awesome blog posts.It is a great website.. The Design looks very good.. Keep working like that!. Xannytech

NAZA789 Easy-to-crack money slot game entrance NAZA789 Slot website with no minimum We teach you how to play Naza789 NAZA game entrance NAZA online slots. naza789

SAKIDBET Easy-to-crack money slot game entrance SAKIDBET Slot website with no minimum We teach you how to play Sakidbet SAKIDBET play entrance Online slots. sakidbet

55GAGA Easy-to-crack money slot game entrance 55GAGA Slot website with no minimum We teach you how to play 55Gaga GAGA game entrance Online slots 55GAGA Teach how to play slots 55GAGA. 55gaga

I havent any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home. Random Video Chat

Fmovies stands out as an exceptional website, offering its users an extensive collection of high-quality and cost-free content. While numerous websites claim to provide free content, they often fall short of delivering on their promises. However, Fmovies distinguishes itself by consistently delivering a wide range of content without any subscription requirements. fmovies

At Sunstars Marbella Property Rental Management Agency, our dedicated team is committed to enhancing your stay or holiday experience in Marbella. With years of collective expertise in property management, we pride ourselves on our deep understanding of both guest needs and property care. Our mission is clear—to make every holiday unforgettable, extraordinary, and memorable. Rental Property Management in Marbella

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me.Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.    الف بار نيكوتين 50 مجم

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.This site seems to get a good amount of visitors. Trade capex app

At WOYOU, we highly appreciate every client who has chosen to partner with us. We actively listen and care about their opinions. At WOYOU, we don’t perceive ourselves merely as a “seller” of miners; instead, we are committed to evolving into a leading mining solution provider that brings and creates value for our customers’ mining journey. Kaspa miner supplier

ALTOGEL is an official online lottery site toto macau providing the best choice for its customers in terms of playing the most awaited lottery numbers by toto macau bettors. With various betting options and promos, Altogel has become the best choice for the official toto macau site since joining the international association since 2018. Situs Altogel

Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!..Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home.   Tiava Chat

I just found this blog and have high hopes for it to continue. Keep up the great work, its hard to find good ones. I have added to my favorites. Thank You.Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. XannyTech

Pages