How to Install Arduino on Lupu-500

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
gronos04
Posts: 54
Joined: Sun 31 Dec 2006, 00:54
Location: Radfordia QLD

How to Install Arduino on Lupu-500

#1 Post by gronos04 »

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-man ... tools.html

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

Would you mind adding a short description of what Arduino is, what it's good for? Thanks. :)

wooddave
Posts: 4
Joined: Mon 22 Jun 2009, 00:56

#3 Post by wooddave »

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. "

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#4 Post by GustavoYz »

:shock:
Thanks woodave!! :D
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)...

wooddave
Posts: 4
Joined: Mon 22 Jun 2009, 00:56

#5 Post by wooddave »

:D

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! :D

2lss
Posts: 225
Joined: Sun 20 Sep 2009, 23:54

#6 Post by 2lss »

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? :D

aarf

#7 Post by aarf »

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.

aarf

#8 Post by aarf »

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
Last edited by aarf on Sat 11 Sep 2010, 13:41, edited 1 time in total.

aarf

#9 Post by aarf »

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/b ... r/download
http://packages.ubuntu.com/lucid/i386/l ... l/download
http://packages.ubuntu.com/lucid/i386/l ... 2/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/j ... -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
Attachments
auli386debs.jpg
(31.55 KiB) Downloaded 11222 times

aarf

#10 Post by aarf »

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


aarf

#12 Post by aarf »

finally got my hot little mits on the hardware. how long has it taken me :roll:
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. :shock:

aarf

#13 Post by aarf »

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/dis ... d-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
Attachments
arduino packages installed red.jpg
(41.96 KiB) Downloaded 9626 times
arduino on 528.jpg
(32.43 KiB) Downloaded 9598 times

aarf

#14 Post by aarf »

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.

aarf

#15 Post by aarf »


nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#16 Post by nooby »

aarf cool. I trust many would love such. One can make fancy
Copters swishing around or whatever. I wish I was young and
with a good brain and I would build myself a Robot that could
be a friendly companion. :)
I use Google Search on Puppy Forum
not an ideal solution though

Zaven
Posts: 6
Joined: Sun 13 Mar 2011, 14:49

#17 Post by Zaven »

Works like a charm, thanks.

Running 528

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#18 Post by battleshooter »

Your Arduino package works well in Saluki too, thanks Aarf :)
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

aarf

#19 Post by aarf »

if you drop by check and see if linux is ready. http://www.modk.it/download
if it post here. this is what I thought was missing from arduino, a decent gui would make all the difference.
more info at http://www.kickstarter.com/projects/mod ... f=category
edit: they are going to sell kits not exactly cheaply for what it is.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#20 Post by muggins »

Thought I'd mention this portablelinuxapp arduino for lupu-based pups:

http://sourceforge.net/projects/portabl ... 1/download

Post Reply