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

Hey, I am so thrilled I found your blog, I am here now and could just like to say thank for a tremendous post and all round interesting website. Please do keep up the great work. I cannot be without visiting your blog again and again. Call girl in Lahore

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. Call Girls in Karachi

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. Call Girl in Karachi

This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs… Escort in Islamabad

 You delivered such an impressive piece to read, giving every subject enlightenment for us to gain information. Thanks for sharing such information with us due to which my several concepts have been cleared. Escorts in Islamabad

Thanks for your post. I’ve been thinking about writing a very comparable post over the last couple of weeks, I’ll probably keep it short and sweet and link  to this instead if thats cool. Thanks. rob wegner

If possible, as you gain expertise, would you mind updating your blog with more information. It is extremely helpful for me.I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.  ucf diploma

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. Info Redar

Japandi is a style of interior design that combines the best of Japanese and Scandinavian design. The result is a clean, minimalist aesthetic that is both elegant and serene. Japandi furniture is typically made from natural materials such as wood or bamboo, and the color palette is usually subdued and calming. This style of design is perfect for those who appreciate simplicity and functionality. If you are interested in learning more about japandi, the Home Design Institute Paris offers a wide range of courses that will teach you everything you need to know. japandi

Even though it doesn’t happen typically, Chime’s direct deposits are often late infrequently. within the event that there's a technical defect with the payroll system at your house of employment, your direct deposit may well be subject to a delay. chime deposit time

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. Info Redar

The courageous folks that accomplish that are called whistleblowers, and that they play a vital position in preserving organizations and industries accountable. They additionally shield taxpayer dollars. Blowing the whistle on fraud or some other unlawful hobby that is going in opposition to the general public hobby advantages the authorities and its people. Whistleblower Attorney

Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though. Info Redar

I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work.Nice knowledge gaining article. This post is really the best on this valuable topic.  cbd sante discount

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.i never know the use of adobe shadow until i saw this post. thank you for this! this is very helpful.  cbd lille

En matière de formation à la gestion d'entreprise, les options ne manquent pas. Cependant, tous les programmes de formation ne sont pas créés égaux. Startupo est largement reconnu comme le meilleur centre de formation en ligne en France, et pour de bonnes raisons. Notre programme complet couvre tout, de la comptabilité et de la finance au marketing et aux ventes, donnant aux étudiants les compétences et les connaissances dont ils ont besoin pour réussir dans le monde des affaires compétitif d'aujourd'hui. De plus, nos professeurs expérimentés ont une grande expérience du monde réel à partager, garantissant que les étudiants reçoivent les informations les plus récentes et les plus pertinentes possibles. Avec Startupo, vous pouvez être sûr que vous recevez une formation en gestion d'entreprise de la plus haute qualité qui soit. formation gestion d'entreprise

Pages