Author |
Message |
newbie314
Joined: 19 Aug 2008 Posts: 127
|
Posted: Sat 16 Jun 2012, 23:50 Post subject:
Upgrade Arduino IDE from 21 to 22 (and beyond) Subject description: How to upgrade the Ardiuno IDE based on the arduino21_wiring27.sfs |
|
I've been doing Arduino programming on my Puppy Linux computer (4.3) for about 8 Months using the arduino21_wiring27.sfs (Here is the forum topic with the link: http://www.murga-linux.com/puppy/viewtopic.php?p=523360&sid=810ed134b868f3f5c16f23a2b00910c6)
I found out for doing some other activities on Ardiuno (like programming an Attiny85), I need the software version 22.
Well I found a site of how to do that from Willy's Blog (http://blog.willygroup.org/puppylinux-modifica-dei-file-sfs.html).
Unfortunately it is not in English and the translators only work on the text not on the site link.
I used the translation and tried it today with no issue (besides loss of icons).
Here are the steps I've translated and changed to match what I did. I've also added commands like uncompressing a tgz (couldn't remember and had to find it).
Steps
1. Create a directory called 'sfstemp'
2. Download the Arduino tgz you want to sfstemp. I choose version 22. Link: http://arduino.googlecode.com/files/arduino-0022.tgz
3. Uncompress the tgz "tar zxvf arduino-0022.tgz"
4. Copy or Download "arduino21_wiring27.sfs" to sfstemp
5. Unsquash the sfs. The site mentions it might need to be installed but I had no problem. Just ran the command with no issues. Type "unsquashfs arduino21_wiring27.sfs"
6. Next I removed the contents of the ardiuno directory in the unsquashed sfs. Type "cd squashfs-root/usr/arduino/" and then "rm -R *"
7. Now to move the ardiuno directory from 23 into the unsquashed sfs. Type "cd ../../.." (make sure you're at the 'sfstemp' directory). Now type "cd arduino_0022" and then "cp -R * ../squashfs-root/usr/arduino/"
8. Come back to the sfstemp directory level. Type "cd .."
9. Create the new SFS. Type "mksquashfs squashfs-root/ arduino22_wiring27.sfs"
10. Now move the new sfs where you want to use it. I put mine at '/mnt/home' as the Puppy software looks for that there.
11. Finally clean up any extra software in 'sfstemp'. Can delete it if you wish.
This works fine for me with no issues. I assume version 23 or 1.0 might work as well. Not too sure on the java or wiring version.
Thanks to sternenstaub, Wally, Bing translation and Owen Kelly of linux.ie (got the command for tgz).
|
Back to top
|
|
 |
kooliepup

Joined: 13 Jan 2012 Posts: 302 Location: Victoria, Australia
|
Posted: Sun 17 Jun 2012, 03:35 Post subject:
|
|
Can't get arduino21_wiring27.sfs.
I think they are saying it doesn't exist.
Any other source for this that you know of?
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Sun 17 Jun 2012, 03:44 Post subject:
|
|
there is also this thread http://www.murga-linux.com/puppy/viewtopic.php?t=58147.
as a matter of interest what do the codes you have been working on perform?
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
Back to top
|
|
 |
newbie314
Joined: 19 Aug 2008 Posts: 127
|
Posted: Sun 17 Jun 2012, 10:50 Post subject:
|
|
Kooliepup, you're right. No link. Wonder where I can upload the sfs to.
Aarf, I assume your are referring to the codes I write for the arduino.
One project I used it to measuring a timing event to try and generate random numbers. The arduino would send the data to the puppy computer. The computer then ran monkey server and also did simple scripting to modify the data. Linux is so much easier to access the USB port than windows.
The most recent task is to fix the rolling ball clock by fascinations. Was doing multiple experiments and hacking into the circuit board. Right now the final script gives the motor a 100ms kick start to overcome static friction. The rest of the analog circuitry of the clock takes over after that. The script measures the voltage at a point to determine the switch is closed, kick starts the motor, then tirstates the node, and waits for the arm to finish the cycle before it triggers for the next kick.
The advantage of the puppy computer besides the USB port is the fact I have unlimited access to program as the main computer is used by the family.
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Sun 17 Jun 2012, 14:23 Post subject:
|
|
host for big files.
http://murga-linux.com/puppy/viewtopic.php?search_id=1769662732&t=3778 if you get it up in the next day or two I'll mirror it at russoodles site. Currently have fast connection to play with.
yes newbie314 it was the arduino codes I was inquiring about. thanks. have fun.
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
Back to top
|
|
 |
newbie314
Joined: 19 Aug 2008 Posts: 127
|
Posted: Sun 17 Jun 2012, 18:28 Post subject:
|
|
Uploaded 22 sfs for Puppy Linux
http://d-h.st/yHw
If anybody can fix the icons that would be great.
But then again the 21 version fixed itself after I reconnected to the sfs.
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Sun 17 Jun 2012, 19:21 Post subject:
|
|
newbie314 wrote: | Uploaded 22 sfs for Puppy Linux
http://d-h.st/yHw
If anybody can fix the icons that would be great.
But then again the 21 version fixed itself after I reconnected to the sfs. | ok got it now, ready to upload when I get a little more organised. thanks.
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Mon 18 Jun 2012, 16:54 Post subject:
|
|
http://meownplanet.net/puppylinuxstuff/aarf/arduino22_wiring27.sfs
http://meownplanet.net/puppylinuxstuff/aarf/arduino22md5sum.htm
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Tue 19 Jun 2012, 12:14 Post subject:
|
|
Putting this here so I don't lose it
https://sensormonkey.eeng.nuim.ie/
Sensor to web service with instructions.
http://www.instructables.com/id/Drive-a-webpage-in-real-time-using-Arduino-Sensor/
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
Back to top
|
|
 |
|