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

Thank you because you have been willing to share information with us. Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks      slot auto wallet

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.I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up.      สล็อต pg เว็บตรง ไม่ผ่านเอเย่นต์ฝากถอนไม่มีขั้นต่ํา

Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome!Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.I love seeing blog that understand the value of providing a quality resource for free.I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article...I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... kora star

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article...This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful     demo slot pp

Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. personal statement

Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking. sportfogadas

All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks sportfogadás

I really loved reading your blog. It was very well authored and easy to undertand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he ejoyed it as well! sportfogadás

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. case de pariuri

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! uk betting sites list

It is a good site post without fail. Not too many people would actually, the way you just did. I am impressed that there is so much information about this subject that has been uncovered and you’ve defeated yourself this time, with so much quality. Good Works! list of online bookmakers uk

Nice to be visiting your blog once more, it has been months for me. Well this article that ive been waited for therefore long. i want this article to finish my assignment within the faculty, and it has same topic together with your article. Thanks, nice share. casino no deposit bonus

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. free spins

I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. free spins

กำจัดปลวกพะเยา ( Phayao termite control ) เป็นบริษัทกำจัดปลวกพะเยาฉีดปลวกพะเยาราคาถูก เน้นความคุ้มค่า เพื่อลดค่าใช้จ่ายของลูกค้า กําจัดปลวกพะเยาราคา บริษัทกําจัดปลวกพะเยาราคา ฉีดปลวกพะเยาราคา กําจัดปลวกพะเยาราคา เริ่มต้นเพียง 3,500 บาท โปรโมชั่นสำหรับลูกค้าที่ฉีดเพื่อป้องกันปลวกประจำปี ตามขนาดพื้นที่ของบ้าน โดยอัดน้ำยาฉีดปลวกใต้ดิน ฉีดปลวกทั้งภายใน และภายนอกบ้าน วางเหยื่อล่อปลวก และ วางท่อปลวก พร้อมทั้งให้คำปรึกษาตามความต้องการของลูกค้าได้ทุกรูปแบบ.ประเมินราคาฟรี ไม่มีค่าใช้จ่ายใดๆ  รับกำจัดปลวกพะเยา อำเภอเมือง , กำจัดปลวกเวียงพะเยา , กำจัดปลวกแม่ต๋ำ พะเยา , กำจัดปลวกแม่นาเรือ พะเยา , กำจัดปลวกบ้านตุ่น พะเยา , กำจัดปลวกบ้านต๊ำ พะเยา , กำจัดปลวกบ้านต๋อม พะเยา , กำจัดปลวกแม่ปืม พะเยา , กำจัดปลวกแม่กา พะเยา , กำจัดปลวกบ้านใหม่ พะเยา , กำจัดปลวกจำป่าหวาย พะเยา , กำจัดปลวกท่าวังทอง พะเยา , กำจัดปลวกแม่ใส พะเยา , กำจัดปลวกบ้านสาง พะเยา , กำจัดปลวกท่าจำปี พะเยา , กำจัดปลวกสันป่าม่วง พะเยา , กำจัดปลวกจุน พะเยา , กำจัดปลวกเชียงคำ พะเยา , กำจัดปลวกเชียงม่วน พะเยา , กำจัดปลวกดอกคำใต้ พะเยา , กำจัดปลวกปง พะเยา , กำจัดปลวกแม่ใจ พะเยา , กำจัดปลวกภูซาง พะเยา , กำจัดปลวกภูกามยาว พะเยา ฉีดปลวกราคาถูกพะเยา

Pages