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 haven’t 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. Lahore Escorts

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. Im glad to have found this post as its such an interesting one! I am always on the lookout for quality posts and articles so i suppose im lucky to have found this! I hope you will be adding more in the future... Call girl in Lahore

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. vip actress models

I have seen some great stuff here. Worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website. Your work is truly appreciated around the clock and the globe. Escorts in Lahore

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

I visit your blog regularly and recommend it to all of those who wanted to enhance their knowledge with ease. The style of writing is excellent and also the content is top-notch.  Thanks for that shrewdness you provide the readers! Escort in Islamabad

Basically to follow up on the up-date of this topic on your web site and wish to let you know simply how much I loved the time you took to generate this valuable post. Within the post, you really spoke of how to actually handle this matter with all ease. It would be my pleasure to collect some more ideas from your web page and come as much as offer other people what I learned from you. Many thanks for your usual terrific effort. Visit:  https://pagaliworld.com/

I am impressed. I don't think Ive met anyone who knows as much about this subject as you do. You are truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. Really, great blog you have got here.  satta

I have been exploring for a little bit for any high-quality articles or blog posts on this sort of area . Exploring in Yahoo I at last stumbled upon this website. Reading this information So i am happy to convey that I’ve an incredibly good uncanny feeling I discovered exactly what I needed. I most certainly will make certain to do not forget this web site and give it a glance regularly. Visit: https://pagalworldl.com/

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. The iCon System

Pages