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

 I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks... Koeltechniek

Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended. Spouwmuurisolatie Lede

Fabulous post, you have denoted out some fantastic points, I likewise think this s a very wonderful website. I will visit again for more quality contents and also, recommend this site to all. Thanks. Vriescellen

It is included in my habit that I often visit blogs in my free time, so after landing on your blog. I have thoroughly impressed with it and decided to take out some precious time to visit it again and again. Thanks. Spouwmuurisolatie Lierde

Good website! I truly love how it is easy on my eyes it is. I am wondering how I might be notified whenever a new post has been made. I have subscribed to your RSS which may do the trick? Have a great day! Koelcellen

Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks Koeling

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

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! Spouwmuurisolatie Maarkedal

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

This is very interesting content!  I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them.  You are great. Reiki

Impressive web site, Distinguished feedback that I can tackle. Im moving forward and may apply to my current job as a  pet sitter, which is very enjoyable, but I need to additional  expand. Regards. Spouwmuurisolatie Moerbeke

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

Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended. selling vehicles uk

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! pokemon HOME

I have been impressed after read this because of some quality work and informative thoughts. I just want to say thanks for the writer and wish you all the best for coming! Your exuberance is refreshing. easy lunch ideas

We have Call Girls In Islamabad Escorts for Escorts Services in cheap rates.We know exactly what our clients want If you arelooking for a professional Call Girls In Islamabad Escorts then our Girls are always the best choice for you.Contact me: 03090966660Visit our website:- http://www.islamabadescorts.site/

Great post but I was wondering if you could write a little more on this subject? I’d be very thankful if you could elaborate a little bit further. Thanks in advance! İndirim kodu

Yes, I am entirely agreed with this article, and I just want say that this article is very helpful and enlightening. I also have some precious piece of concerned info !!!!!!Thanks. satta matka tips

It is included in my habit that I often visit blogs in my free time, so after landing on your blog. I have thoroughly impressed with it and decided to take out some precious time to visit it again and again. Thanks. matka

Only strive to mention one's content can be as incredible. This clarity with your post is superb! Thanks a lot, hundreds of along with you should go on the pleasurable get the job done. kalyan matka

I know this is one of the most meaningful information for me. And I'm animated reading your article. But should remark on some general things, the website style is perfect; the articles are great. Thanks for the ton of tangible and attainable help. satta matka

Wonderful blog! Do you have any tips and hints for aspiring writers? Because I’m going to start my website soon, but I’m a little lost on everything. Many thanks! dpboss

All the requirements of men are successfully fullled with us with the interactive process of New York Asian escort service oerings. We are here to meet the required intentions of men. We have the ability to dene and satisfy the needs of men. Our all-time goal is to fulll thedesired preferences of men. All the goals for sensual pleasure are perfectly dened here with us. We always render the quality services as per the bookings done by the client. new york asian escort

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! Medical marijuana

Pages