Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 14:09
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to Install Arduino on Lupu-500
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Author Message
gronos04

Joined: 30 Dec 2006
Posts: 54
Location: Radfordia QLD

PostPosted: Wed 28 Jul 2010, 01:30    Post subject:  How to Install Arduino on Lupu-500
Subject description: Microcontroller software development environment
 

I did this when Lupu first came out so I hope that it still stands. I have downloaded 505 and will run this set up on it when I get some time.

1. Make sure that your petsave is large enough . Don’t want to get half way and find that you have busted the limit. There are some fat boys here

2. Devx goes in.

3.JRE installed (I used the jre-1.6..0.20.1 pet). You can test this simply by punching java into your terminal and if it is OK then you will get a options page.

4. Get and install the following packages in this order from

http://packages.ubuntu.com/

binutils_2.20.1

binutils-avr_2.20

libmpfr1ldbl_2.4.2 (floating point libraries)

libgmp3c2_4.3.2+dfsg (prescision mathematical libraries)

gcc-avr_4.3.4

avr-libc_1.6.7 (must go in AFTER gcc-avr)

avrdude_5.10 *

avrprog_0.2.2 *

* I am not sure that these are required but at that stage anything that had AVR in the name was fair game.

5.Download and unpack the latest from Arduino

http://www.arduino.cc/en/Main/Software

It is static so that it can go where you like. The frugallists could be put both Arduino and Java out in the home directory and link but I would suggest that as another project.

6. Go into the arduino-00xx folder and drag the arduino file to the desktop

Stragely I couldn’t find an icon for the shortcut in the distribution but I googled one up.

7.Set up your comm port in the IDE

8.Hook up your Arduino and test load it.

9. Cheer the benevolent universe

All should be well

I did try to set this up on another Puppy Version and I was downloading and compiling but go to a point where ‘A’ wouldn’t compile without ‘B’ and’ B’ wouldn’t compile without ‘C’ and 'c’ wouldn’t compile without 'A’ at this point I had to go for a long walk.

The adventurous could compile this on another Puppy version or event make a Pet out of it.

It is good to be able to have the huge Ubuntu package world as a resource.

My thanks to Barry K and to the Lupu team.

Some links

http://www.arduino.cc/playground/Learning/Linux

http://www.nongnu.org/avr-libc/user-manual/install_tools.html
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11164
Location: Arizona USA

PostPosted: Wed 28 Jul 2010, 09:13    Post subject:  

Would you mind adding a short description of what Arduino is, what it's good for? Thanks. Smile
Back to top
View user's profile Send private message 
wooddave

Joined: 21 Jun 2009
Posts: 4

PostPosted: Wed 28 Jul 2010, 14:03    Post subject:  

Arduino is an open-source microcontroller and the software development environment that enables you to make it do what you want to. Here's an overview quoted from the website http://www.arduino.cc/

"Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.

Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators. The microcontroller on the board is programmed using the Arduino programming language (based on Wiring) and the Arduino development environment (based on Processing). Arduino projects can be stand-alone or they can communicate with software on running on a computer (e.g. Flash, Processing, MaxMSP).

The boards can be built by hand or purchased preassembled; the software can be downloaded for free. The hardware reference designs (CAD files) are available under an open-source license, you are free to adapt them to your needs. "
Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Thu 29 Jul 2010, 03:48    Post subject:  

Shocked
Thanks woodave!! Very Happy
Now I gonna be able to control Processing, Cinelerra, Ardour and/or PD (Even at the same time with the OSC protocol). Great information (CTRL+D right now)...
Back to top
View user's profile Send private message 
wooddave

Joined: 21 Jun 2009
Posts: 4

PostPosted: Thu 29 Jul 2010, 23:36    Post subject:  

Very Happy

I was >thoroughly< intimidated by the list of steps, especially at first when some of the items weren't in the package manager, but I'm up and running in one evening! I've made some changes to a simple sketch (Arduino program) and it's running so I can see the whole development chain is in place. V.e.r.y. cool - thanks so much gronos04 !!

Tomorrow and over the weekend hopefully I'll get my new < $10 wireless Arduino links tested so I can run my model trains wirelessly without a majorly expensive commercial controller.

Many cheers to the benevolent universe! Very Happy
Back to top
View user's profile Send private message 
2lss

Joined: 20 Sep 2009
Posts: 225

PostPosted: Fri 30 Jul 2010, 01:10    Post subject:  

I picked up an arduino a few weeks back and started to make a pet for it. However the avr-tools pet that I was using as a base was extremely outdated and would not work. I was going to build everything and make a nice little sfs with arduino playground, but got distracted. I still plan to do so, maybe next week sometime.

I am pretty amazed with the little thing. It seems a lot more flexible than the basic stamp, is open source, has a huge following, and is relatively inexpensive. Whats not to love about it? Very Happy
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 05 Sep 2010, 14:19    Post subject:  

Still occasionally trying to locally source an atmega328 IC chip. Pleased that puppy is further along for when i finally get there. Mainly a bookmark for this thread and encouragement for this those doing the groundwork.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Tue 07 Sep 2010, 08:16    Post subject:  

aarf wrote:
Still occasionally trying to locally source an atmega328 IC chip..

all you have to do is google but why does it take me so long to do that i dont know. anyhows this is where you can find Arduinos in the world. if you are not there you may also be at http://arduino.cc/en/Main/Buy

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Last edited by aarf on Sat 11 Sep 2010, 09:41; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 11 Sep 2010, 09:25    Post subject:  

At arudino-ubuntu-lucid-i386-debs.tar is a tar.gz (17 MB) of the debs from
http://packages.ubuntu.com/lucid/i386/binutils/download
http://packages.ubuntu.com/lucid/i386/binutils-avr/download
http://packages.ubuntu.com/lucid/i386/libmpfr1ldbl/download
http://packages.ubuntu.com/lucid/i386/libgmp3c2/download
http://packages.ubuntu.com/lucid/i386/gcc-avr/download
http://packages.ubuntu.com/lucid/all/avr-libc/download
http://packages.ubuntu.com/lucid/i386/avrdude/download
http://packages.ubuntu.com/lucid/i386/avrprog/download.

not necessarily the same version numbers as above but what is given for the current lucid i386 packages from the ubuntu repository.
just click the tar.gz, extract them into individual debs, and then click on each .deb and they will automatically install.
havent tested these packages yet so any tests and problems please advise.
may attempt a sfs later.

java pet at http://puppylinux.org/wikka/JavaRuntimeEnvironment
or http://www.smokey01.com/01micko/lucid/jre-1.6.0-21-lucid.pet

java.sfs from http://puppeee.com/files/sfs/java_jre1.6.sfs may also work in lupu
i also assume it is this arduino
http://files.arduino.cc/downloads/arduino-0019.tgz
auli386debs.jpg
 Description   
 Filesize   31.55 KB
 Viewed   7568 Time(s)

auli386debs.jpg


_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 11 Sep 2010, 16:11    Post subject:  

Is it just python that is needed from the devx? Because there are python pets and bandwidth is limited.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Tue 21 Sep 2010, 03:43    Post subject:  

Download Arduino Starter Kit Manual 8Mb
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 02 Oct 2011, 22:48    Post subject:  

finally got my hot little mits on the hardware. how long has it taken me Rolling Eyes
1 mega, 1 duemilovani, 1 328 chip, bag of misc sensors, assorted wire connectors. will take a while to get this sorted.
not much stray puppy testing to be done in the near future. Shocked

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 09 Oct 2011, 04:52    Post subject:  

more to come soon. In short got a blinking led with luci528.

link to http://arduino.googlecode.com/files/arduino-0022.tgz

this java.sfs http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet-packages-lucid/java_jre-6u22-Lucid-sfs4.sfs can be used instead of the pet.
need to get a new
http://packages.ubuntu.com/lucid/i386/gcc-avr/download because the one in the tar.gz atarudino-ubuntu-lucid-i386-debs.tar wont install. rest of the deb packages were ok.

after installing into puppy see the
new revised manualThe Complete Beginners Guide to the Arduino 8Mb is well written and thorough. you can get started with just that manual if you come across a pdf reader that can copy the code from the pdf please advise
arduino packages installed red.jpg
 Description   
 Filesize   41.96 KB
 Viewed   5956 Time(s)

arduino packages installed red.jpg

arduino on 528.jpg
 Description   
 Filesize   32.43 KB
 Viewed   5939 Time(s)

arduino on 528.jpg

Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Tue 18 Oct 2011, 09:58    Post subject:  

Evince 2.29.92 can copy code out of PDFs, it is in Puppeee4.4rc2. May not need it as many examples are in the Arduino IDE already.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 29 Oct 2011, 12:04    Post subject:  

arduino on pussy beta preview.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0961s ][ Queries: 13 (0.0141s) ][ GZIP on ]