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. Tuinontwerp

Efficiently written information. It will be profitable to anybody who utilizes it, counting me. Keep up the good work. For certain I will review out more posts day in and day out. Tuinontwerpen

It is truly a well-researched content and excellent wording. I got so engaged in this material that I couldn’t wait reading. I am impressed with your work and skill. Thanks. Zwembadbouw

Excellent to be visiting your blog again, it has been months for me. Rightly, this article that I've been served for therefore long. I want this article to finish my assignment within the faculty, and it has the same topic together with your article. Thanks for the ton of valuable help, nice share. Polypropyleen zwembad

Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed browsing your blog posts. After all I’ll be subscribing to your feed and I hope you write again soon! Spouwmuurisolatie

This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! Muurisolatie

Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done. Alarmsystemen

That is the excellent mindset, nonetheless is just not help to make every sence whatsoever preaching about that mather. Virtually any method many thanks in addition to i had endeavor to promote your own article in to delicius nevertheless it is apparently a dilemma using your information sites can you please recheck the idea. thanks once more. Chapewerken

It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read even more things about it! Dakisolatie

Wow, this is fascinating reading. I am glad I found this and got to read it. Great job on this content. I liked it a lot. Thanks for the great and unique info. Alarmsysteem

Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks. Chape

Hey There. I found your blog using msn. This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return. Warmtepompen

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! Webdesign

Very efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. 온라인바둑이

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info. 먹튀사이트

Wow, excellent post. I'd like to draft like this too - taking time and real hard work to make a great article. This post has encouraged me to write some posts that I am going to write soon. 먹튀검증

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info. minecraft server

I admit, I have not been on this web page in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. I thank you to help making people more aware of possible issues. 먹튀검증

Whenever I have some free time, I visit blogs to get some useful info. Today, I found your blog with the help of Google. Believe me; I found it one of the most informative blog. 토토사이트

Thanks for picking out the time to discuss this, I feel great about it and love studying more on this topic. It is extremely helpful for me. Thanks for such a valuable help again. 토토사이트

Pretty good post. I have just stumbled upon your blog and enjoyed reading your blog posts very much. I am looking for new posts to get more precious info. Big thanks for the useful info. 먹튀검증

You have done a great job on this article. It’s very readable and highly intelligent. You have even managed to make it understandable and easy to read. You have some real writing talent. Thank you. 안전놀이터

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. 안전놀이터

I am incapable of reading articles online very often, but I’m happy I did today.  It is very well written, and your points are well-expressed.  I request you warmly, please, don’t ever stop writing. Warmtepompen

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. Warmtepomp

Pages