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 a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post. I will visit your blog regularly for Some latest post. Hero Instinct

’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read !! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site. His Secret Obsession

ProstaVive really stand out as the best prostate health supplement you'll find, we've also added a powerful blend of minerals to support prostate and overall health. PROSTAVIVE

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.    Spout Cap

CryptoSwifts offers a cost-effective solution for renting TRON energy, allowing users to significantly reduce transaction fees without freezing assets or burning TRX. We provide flexible, pay-as-you-go options with no bulk purchases required, all while maintaining security by never asking for private keys. For only 3 TRX you can rent 65000 energy for 1 hour instead of 14 trx 6 TRX instead of 28 trx for 131000 energy cheap tron energy fees

Bermain lebih keras jadilah Jagoan di Jago189! Taklukkan semua permainan yang ada di situs ini. Hadiah eksklusif menanti Anda, jadi pemenang disetiap evennya. Jago 189

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.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. classificações dos jogadores de atlético-mg x são paulo futebol clube

Eine leckere Süßigkeit, angereichert mit 10 mg Delta 9 THC, extrahiert aus Premium-Hanf. Gewinnung und Produktion. Hergestellt in den USA. 60 Gummibärchen pro Packung – 10 mg D9 THC pro Gummibärchen – VEED Gummibärchen für intensive Entspannung Thc gummibärchen 600mg

Bigwin189 is an exciting online game that takes players on an intergalactic adventure filled with stunning graphics, engaging gameplay, and the potential for cosmic rewards. The game often incorporates a space exploration theme, featuring various celestial elements that add to its appeal. Bigwin 189

livetotobet merupakan platform wadah untuk para player online. Situs Livetotobet ini menyediakan berbagai permainan totobet yang sangat menjanjikan di tahun 2024. Fitur unggulan dengan bermain tanpa hambatan. livetotobet

I would like to say that this blog really convinced me to do it! Thanks, very good post.I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info.It was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks. Acrylic Dispersing Agent

Pages