rillzp
Posts: 1
Joined: Tue Sep 01, 2015 10:57 am

Raspberry + Arduino problem?

Tue Sep 01, 2015 11:09 am

Hello, i just got my raspberry(Rasbian) and Sparkfun redboard and this is my first linux computer so having some trouble getting it to work. Would really appriciate som help..

I managed to download arduino, but when i start it with sudo arduino i get all these errors before it opens... I assume there is something wrong with java?

Code: Select all

(java:4484): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-entry-select-on-focus after class was initialised

(java:4484): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-entry-password-hint-timeout after class was initialised

(java:4484): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-can-change-accels after class was initialised

(java:4484): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-popup-delay after class was initialised

(java:4484): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-popdown-delay after class was initialised

(java:4484): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-bar-popup-delay after class was initialised

(java:4484): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-label-select-on-focus after class was initialised

(java:4484): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-scrolled-window-placement after class was initialised

(java:4484): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-button-images after class was initialised

Anyhow the program still opens and after a lot of trouble it even let me choose my serial port. but when im running anything it gives me the error:

Code: Select all

Binary sketch size: 1,034 bytes (of a 32,256 byte maximum)
avrdude: stk500_recv(): programmer is not responding
Any idea what im doing wrong? i been trying everything i can possible find on the internet, but as mentioned, im new to this kind of operating system. so i can still figure it out.


Best regards

User avatar
joan
Posts: 14960
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Raspberry + Arduino problem?

Tue Sep 01, 2015 12:11 pm

Ignore the gtk warnings. The gtk maintainers seem to be idiots who don't know when it is appropriate to issue warning or error messages.

For the actual problem see if you can find a solution in http://forum.arduino.cc/index.php?topic=28686.0

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: Raspberry + Arduino problem?

Tue Sep 01, 2015 12:31 pm

rillzp wrote:i start it with sudo arduino
in a terminal you install arduino by
sudo apt-get install arduino
you not start from CLI, not with sudo,
in desktop now have the menu entry ELECTRONICS / Arduino IDE / and start with click
( no terminal opens and you never see that gtk warnings... )
the arduino entry window NOT shows in linux, but still must wait TOO LONG
and the port selection might be grey ( can not select )
better reboot ( without a connected arduino )
plug in arduino ( not need power to arduino as USB is enough as long not use arduino I/O ),
wait, select port ttyACM0 ( original UNO)( some other models ttyUSB0 (FTDI?)) and BOARD == UNO
select a blink example and UPLOAD.

Return to “Beginners”