- View New Content
- OpenPandora
- General Information
-
Emulation
- Acorn Archimedes
- Acorn BBC Micro
- Amstrad CPC
- Android
- Arcade Machines
- Atari Classic Computer
- Atari ST
- Atari VCS7800
- Commodore Amiga
- Commodore 64 (and more)
- HP-48GX Calculator
- Laser Disc Arcade
- MS-DOS
- NEC PC Engine / TurboGrafx 16
- Nintendo Entertainment System
- Nintendo GameBoy / GameBoy Color
- Super Nintendo
- Nintendo GameBoy Advance
- Nintendo DS
- Sega Master System / GameGear
- Sega Genesis / MegaDrive and AddOns
- Sega Saturn
- Sharp MZ-Series
- SNK NeoGeo Pocket
- Sony MSX
- Sony PlayStation 1
- Sony PSP
- Texas Instruments TI-99
- ZX Spectrum
- Community
- Development
- Contact us
- Donate
-
More
Arduino
Started by WorldTripping, Sep 05 2011 10:53 AM
56 replies to this topic
#1
OFFLINE
Posted 05 September 2011 - 10:53 AM
Hi,
Does anyone know if the Arduino IDE has been ported to the Pandora yet?
If not, will it be any time soon?
Cheers.
Does anyone know if the Arduino IDE has been ported to the Pandora yet?
If not, will it be any time soon?
Cheers.
Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws.
Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
#2
OFFLINE
Posted 05 September 2011 - 12:29 PM
I have been using the Arduino IDE on a Genesi ARM computer from the Ubuntu depository. So the ARM port has been done, some one would have to package it, so it ran on Pandora.
Cheers
Carl
Cheers
Carl
#3
OFFLINE
Posted 05 September 2011 - 12:56 PM
Awesome I use the arduino frequently and it would be good iff I could use my pandora for coding
#4
OFFLINE
Posted 05 September 2011 - 01:09 PM
I have been using the Arduino IDE on a Genesi ARM computer from the Ubuntu depository. So the ARM port has been done, some one would have to package it, so it ran on Pandora.
Cheers
Carl
That is brilliant news.
I have just bought my first Arduino Uno and would love to be able to use the IDE on a Pandora rather than a laptop.
(When I get my Pandora that is.)
Would it be easy to package as the port has already been done ?
(Actually is there a 'Port Request' thread anywhere?)
I'll have to have a look into that.
Cheers.
Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws.
Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
#5
OFFLINE
Posted 05 September 2011 - 02:56 PM
I had the Arduino IDE running on the Pandora in Debian on an SD card, but it will surely work in a Debian extend ("sudo apt-get install arduino").
Semi-related, urjaman made a pnd with an AVR toolchain (AVR-Tools) for when you don't need/want to use the Arduino IDE and bootloader.
Semi-related, urjaman made a pnd with an AVR toolchain (AVR-Tools) for when you don't need/want to use the Arduino IDE and bootloader.
#6
OFFLINE
Posted 28 June 2012 - 06:52 PM
did anyone ever get the Arduino IDE packaged for Pandora? If so, can you let me know where I can get hold of it - I'd love to be able to program my Arduino from my Pandora.
#7
OFFLINE
Posted 28 June 2012 - 06:55 PM
I didn't try it yet under Slackware, but i think it should work.
#8
OFFLINE
Posted 29 June 2012 - 09:34 AM
I also have Arduino and Pandora. Would love to start using them together. Couldn't find any tutorials last time I looked and right now I´m ready for bed.
#9
OFFLINE
Posted 08 July 2012 - 01:56 PM
Okay, so whilst the Formula 1 Grand Prix was on the TV, I decided to multi-task and get Arduino & Pandora working together...
My initial findings were that it would not be efficient to try and get the Arduino IDE to run on the Pandora. I googled quite a bit and found that many people have used different front-ends to compile, build and deploy to the Arduino. I decided to strip back to basics for the Pandora and have documented the steps below.
Requirements:
Open Pandora 256Mb 800Mhz Super Zaxxon Final release
avrtools installed (as linked to in earlier post)
Arduino Atmel328p device
USB 1.1 Hub (could not get Open Pandora to detect Arduino directly plugged in, assumed this was due to it using USB 2.0?)
Arduino 1.0.1 IDE (only if want to compile own library file - see next link [and for getting the .h files])
copy /hardware/arduino/cores/arduino/*.* to Open Pandora /mnt/utmp/avrtools/include
copy /hardware/arduino/variants/standard/pins_arduino.h to Open Pandora /mnt/utmp/avrtools/include
libarduino.a (obtained from http://lastyearswish...aa5d80d3d1c6920 )
copy libarduino.a to Open Pandora /mnt/utmp/avrtools/lib
creation of makefile and copy to Open Pandora /mnt/utmp/avrtools (make sure that the commands have TAB and not spaces, otherwise you get errors)
creation of flash_led.c in /home/tony
Steps:
Plug Arduino into USB 1.1 Hub
Plug USB hub into Open Pandora
Open Pandora, Enable USB Host
navigate to /dev/
check for existence of ttyUSB0
This will indicate that the Arduino is accessible (occasionally I had to restart Open Pandora for it to pickup the USB 1.1 Hub)
From menu select, development | avrtools
This starts in Terminal mode
I found that I had to be root user to be able to have permissions to dowload to the Arduino
sudo -s
<password>
make all FILE=flash_led
(this will compile the .c file, output it to .elf, then convert .hex and download to the Arduino using avrdude. The makefile is reading and outputting to /home/tony - you'll have to change this to suit your setup)
flash_led.c
makefile
Here's the uploaded video. I'm very happy that I am now able to use 'mousepad' on my Pandora to write my Arduino code and then run 'make' as detailed above and have the code running on the Arduino!
EDIT: Here's the 2nd uploaded video showing the flashing of a real light
My initial findings were that it would not be efficient to try and get the Arduino IDE to run on the Pandora. I googled quite a bit and found that many people have used different front-ends to compile, build and deploy to the Arduino. I decided to strip back to basics for the Pandora and have documented the steps below.
Requirements:
Open Pandora 256Mb 800Mhz Super Zaxxon Final release
avrtools installed (as linked to in earlier post)
Arduino Atmel328p device
USB 1.1 Hub (could not get Open Pandora to detect Arduino directly plugged in, assumed this was due to it using USB 2.0?)
Arduino 1.0.1 IDE (only if want to compile own library file - see next link [and for getting the .h files])
copy /hardware/arduino/cores/arduino/*.* to Open Pandora /mnt/utmp/avrtools/include
copy /hardware/arduino/variants/standard/pins_arduino.h to Open Pandora /mnt/utmp/avrtools/include
libarduino.a (obtained from http://lastyearswish...aa5d80d3d1c6920 )
copy libarduino.a to Open Pandora /mnt/utmp/avrtools/lib
creation of makefile and copy to Open Pandora /mnt/utmp/avrtools (make sure that the commands have TAB and not spaces, otherwise you get errors)
creation of flash_led.c in /home/tony
Steps:
Plug Arduino into USB 1.1 Hub
Plug USB hub into Open Pandora
Open Pandora, Enable USB Host
navigate to /dev/
check for existence of ttyUSB0
This will indicate that the Arduino is accessible (occasionally I had to restart Open Pandora for it to pickup the USB 1.1 Hub)
From menu select, development | avrtools
This starts in Terminal mode
I found that I had to be root user to be able to have permissions to dowload to the Arduino
sudo -s
<password>
make all FILE=flash_led
(this will compile the .c file, output it to .elf, then convert .hex and download to the Arduino using avrdude. The makefile is reading and outputting to /home/tony - you'll have to change this to suit your setup)
flash_led.c
#include "/mnt/utmp/avrtools/include/arduino.h"
int led = 13;
void setup() {
pinMode(led, OUTPUT);
}
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
makefile
default:
avr-gcc -B /mnt/utmp/avrtools/lib -Os -mmcu=atmega328p -o /home/tony/${FILE}.elf /home/tony/${FILE}.c -larduino
avr-objcopy -O ihex -R .eeprom /home/tony/${FILE}.elf /home/tony/${FILE}.hex
upload:
avrdude -c arduino -p m328p -b 57600 -P /dev/ttyUSB0 -U flash:w:/home/tony/${FILE}.hex
all: default upload
Here's the uploaded video. I'm very happy that I am now able to use 'mousepad' on my Pandora to write my Arduino code and then run 'make' as detailed above and have the code running on the Arduino!
EDIT: Here's the 2nd uploaded video showing the flashing of a real light
#10
OFFLINE
Posted 08 July 2012 - 02:39 PM
Cool work indeed, this will also please Arduino people.
If you're into Arduino forums, please inform them too ;^).
If you're into Arduino forums, please inform them too ;^).
#11
OFFLINE
Posted 08 July 2012 - 02:42 PM
Good another great use of Pandora...
Anyway whenewer there are a F1 show on TV i couldn't take off my eyes from it....
i love F1
Anyway whenewer there are a F1 show on TV i couldn't take off my eyes from it....
Read also my Blog http://farox.rbnet.it/
#12
OFFLINE
Posted 11 July 2012 - 02:23 PM
I've got the Arduino IDE running on my Pandora... Just have to sort the USB serial port access out.
(It supports c++ too
)
Is there any demand for a fully self contained PND (Including JRE) for this?
Edit:
Except the linker segfaults. Buffer.
(It supports c++ too
Is there any demand for a fully self contained PND (Including JRE) for this?
Edit:
Except the linker segfaults. Buffer.
#13
OFFLINE
Posted 11 July 2012 - 05:50 PM
Nice !
Even if there's no express demand here, i think pushing a .pnd is a good idea.
Even if there's no express demand here, i think pushing a .pnd is a good idea.
#14
OFFLINE
Posted 11 July 2012 - 06:14 PM
I've got the Arduino IDE running on my Pandora... Just have to sort the USB serial port access out.
(It supports c++ too)
Is there any demand for a fully self contained PND (Including JRE) for this?
Edit:
Except the linker segfaults. Buffer.
I would be quite pleased if there was a pnd for this. When I find some time I was going to try to follow the directions for the previous posts, but would be happy to just be able to drop a PND instead.
Thanks
#15
OFFLINE
Posted 11 July 2012 - 07:03 PM
Hey, I'd opt for a .pnd if there is one available :-)
#16
OFFLINE
Posted 11 July 2012 - 10:15 PM
I got the Arduino Uno recently and when I get my 1 Giggy Panda (hopefully soon), it would be super sweet to be able to program it from that.
Definitely a PND version would be preferable...
If it is not around when I get my Pandora, then I just might have to look into making PND apps (if it is not too difficult)
Definitely a PND version would be preferable...
If it is not around when I get my Pandora, then I just might have to look into making PND apps (if it is not too difficult)
#17
OFFLINE
Posted 12 July 2012 - 11:13 AM
Yes. Most definitely.Is there any demand for a fully self contained PND (Including JRE) for this?
My poking electronic things (including arduini) table is too far away from my computer, being able to do it with my pandora would be awesome!
#18
OFFLINE
Posted 12 July 2012 - 11:16 AM
Well I've got the linker working. Just have to solve the serial port access.
#19
OFFLINE
Posted 12 July 2012 - 11:49 AM
Well I've got the linker working. Just have to solve the serial port access.
Sounds like what I was having issues with my USB development board.. I needed to run the software with sudo/root access, for some reason the USB devices in pretty much every distribution of linux don't give regular users proper permissions to directly access the USB devices.
#20
OFFLINE
Posted 12 July 2012 - 12:45 PM
Sounds like what I was having issues with my USB development board.. I needed to run the software with sudo/root access, for some reason the USB devices in pretty much every distribution of linux don't give regular users proper permissions to directly access the USB devices.
Have a look at the end of /etc/udev/rules.d/local.rules
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



