Go to advanced search

by jorrit
Sun Nov 13, 2016 7:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Interfacing Raspberry Pi with Arduino and power safety
Replies: 7
Views: 1778

Re: Interfacing Raspberry Pi with Arduino and power safety

Well for now I'm only using USB connections (so serial) and no other connections between the Pi and the two arduino's. I want to keep it like that since that also makes it easier to prototype my java program on a normal laptop
by jorrit
Sun Nov 13, 2016 6:57 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Interfacing Raspberry Pi with Arduino and power safety
Replies: 7
Views: 1778

Re: Interfacing Raspberry Pi with Arduino and power safety

Well I have a good power supply for the PI and the Arduino's are not taking that much power I thought. Not doing any moving parts or such. Just sensors and audio output for a single loudspeaker.
by jorrit
Fri Nov 11, 2016 9:53 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Interfacing Raspberry Pi with Arduino and power safety
Replies: 7
Views: 1778

Re: Interfacing Raspberry Pi with Arduino and power safety

mikronauts wrote:By far the easiest is to keep using the USB/serial link that exists.

It is also the fastest.
That's interesting. How fast can I actually go with this? I'm used to doing Serial.begin(9600) in the Arduino code. How fast can I go with this?
by jorrit
Wed Nov 09, 2016 7:56 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Interfacing Raspberry Pi with Arduino and power safety
Replies: 7
Views: 1778

Re: Interfacing Raspberry Pi with Arduino and power safety

Nobody knows? Or is this the wrong place to ask?
by jorrit
Mon Nov 07, 2016 3:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Interfacing Raspberry Pi with Arduino and power safety
Replies: 7
Views: 1778

Interfacing Raspberry Pi with Arduino and power safety

Hi, not sure if this is the right board but I think it is so let's go for it. Basically I have a raspberry pi (3) and two Arduino's. The Arduino's are currently each connected with an USB cable (so the arduino's are getting power from the raspberry pi). A Java program runs on the pi using the RXTX l...
by jorrit
Mon Nov 07, 2016 9:14 am
Forum: Troubleshooting
Topic: How to execute a command at bootup?
Replies: 4
Views: 1010

Re: How to execute a command at bootup?

Thanks, just added it to rc.local and that works perfectly fine too
by jorrit
Sun Nov 06, 2016 10:05 am
Forum: Troubleshooting
Topic: Connecting a PI with two Arduino's
Replies: 5
Views: 1319

Re: Connecting a PI with two Arduino's

Ok, I managed to solve it with a bit of a hack:

sudo ln -s /dev/ttyACM0 /dev/ttyUSB1


i.e. RXTX can apparently only connect to a USB port if it is called /dev/tty/USB<x>

Now both Arduino's work fine
by jorrit
Sun Nov 06, 2016 9:44 am
Forum: Troubleshooting
Topic: Connecting a PI with two Arduino's
Replies: 5
Views: 1319

Re: Connecting a PI with two Arduino's

BTW, it seems the port should be /dev/ttyACM0 but for some reason RXTX cannot connect to that.

Note that this arduino is actually a 'real' arduino (official one) while the one that is working is the ATmega Uno R3 Board / ATmega328. So perhaps a compatibility problem somehow?
by jorrit
Sun Nov 06, 2016 9:35 am
Forum: Troubleshooting
Topic: Connecting a PI with two Arduino's
Replies: 5
Views: 1319

Re: Connecting a PI with two Arduino's

Ok, but the program is already written with two USB connections in mind (which makes it easier to develop the program on a laptop). Is this not possible? I would prefer to connect it with that
by jorrit
Sun Nov 06, 2016 9:20 am
Forum: Troubleshooting
Topic: Connecting a PI with two Arduino's
Replies: 5
Views: 1319

Connecting a PI with two Arduino's

Hi, I'm trying to connect a PI with two Arduino's (using USB cables) and then communicate to it using Java and the RXTX library. The java program works and can find one of the two Arduino's. However I'm having issues with the second Arduino'. First I tried to figure out the ports of the Arduino's. I...
by jorrit
Sat Nov 05, 2016 7:38 am
Forum: Troubleshooting
Topic: How to execute a command at bootup?
Replies: 4
Views: 1010

Re: How to execute a command at bootup?

Thanks for the reply. I will try them out. The command that I want to execute is this:

ifconfig wlan0 mtu 500 up
by jorrit
Sat Nov 05, 2016 6:39 am
Forum: Troubleshooting
Topic: How to execute a command at bootup?
Replies: 4
Views: 1010

How to execute a command at bootup?

Is there a script or something that gets executed when the Pi starts up? I need to set a command to make sure my wifi works and it is annoying to have to do that manually all the time.

Thanks,
by jorrit
Wed Nov 02, 2016 7:08 pm
Forum: Troubleshooting
Topic: 5'' LCD Touch screen not being fully used
Replies: 4
Views: 734

Re: 5'' LCD Touch screen not being fully used

Ok. I did the config setting and that worked to get the screen fully used. So that part is ok. However, I also tried to do this: tar xzvf /boot/LCD-show-YYMMDD.tar.gz cd LCD-show/ ./LCD5-show And now I get a kernel panic when I reboot my pi. How can I fix this and what is the correct driver to use f...
by jorrit
Wed Nov 02, 2016 6:47 pm
Forum: Troubleshooting
Topic: Problem with ssh from linux to raspberry
Replies: 10
Views: 1550

Re: Problem with ssh from linux to raspberry

I have one further question about this. Is it possible to add this command to some kind of bootup script or something? Because I have to do it everytime the Pi boots up

Thanks
by jorrit
Fri Oct 28, 2016 10:37 am
Forum: Troubleshooting
Topic: 5'' LCD Touch screen not being fully used
Replies: 4
Views: 734

Re: 5'' LCD Touch screen not being fully used

I haven't had the time to try this yet but I'm a bit confused about these instructions. First it talks about the brand 'WaveShare'. Is that actually what I'm having as I cannot find that brand anywhere. Also it talks about downloading a new OS but I already have an OS. Can I dump the driver on that ...
by jorrit
Wed Oct 26, 2016 6:11 pm
Forum: Troubleshooting
Topic: 5'' LCD Touch screen not being fully used
Replies: 4
Views: 734

5'' LCD Touch screen not being fully used

Hi, I have a Raspberry Pi 3 and I recently bought a 5'' LCD touch screen on eBay. More specifically this one: http://www.ebay.com/itm/221952432326?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT It works but I have two problems: I don't know how to configure the touchscreen The right part...
by jorrit
Wed Oct 26, 2016 6:08 pm
Forum: Troubleshooting
Topic: Problem with ssh from linux to raspberry
Replies: 10
Views: 1550

Re: Problem with ssh from linux to raspberry

Ok, for future reference. This command exactly solved my problem:

sudo ifconfig wlan0 mtu 500 up
by jorrit
Wed Oct 26, 2016 5:10 pm
Forum: Troubleshooting
Topic: Problem with ssh from linux to raspberry
Replies: 10
Views: 1550

Re: Problem with ssh from linux to raspberry

Oh! Turns out I was wrong. It is actually broken from windows too. But it worked before I did sudo apt-get update/upgrade on the PI. Seems that the upgrade has broken something. Anyway to fix this as it is pretty annoying trying to edit files on the pi this way. Can it be that somehow the terminal s...
by jorrit
Wed Oct 26, 2016 4:59 pm
Forum: Troubleshooting
Topic: Problem with ssh from linux to raspberry
Replies: 10
Views: 1550

Re: Problem with ssh from linux to raspberry

I'm using 'konsole' from kubuntu. I have only access to my own Pi
by jorrit
Tue Oct 25, 2016 7:21 pm
Forum: Troubleshooting
Topic: Problem with ssh from linux to raspberry
Replies: 10
Views: 1550

Re: Problem with ssh from linux to raspberry

I was just using ssh -l pi 192.xxxx

Nothing else
by jorrit
Tue Oct 25, 2016 6:49 pm
Forum: Troubleshooting
Topic: Problem with ssh from linux to raspberry
Replies: 10
Views: 1550

Problem with ssh from linux to raspberry

Hi, I have a raspberry pi 3. If I ssh (using putty) from windows to the pi all is ok. I can do 'vi', 'nano' and such. However if I do that from linux I get a terminal. I can type commands but all tools like vi (or vim), nano, top that do a bit more advanced terminal activity cause the ssh session to...
by jorrit
Mon Oct 17, 2016 11:55 am
Forum: Beginners
Topic: Problem connecting with WIFI
Replies: 1
Views: 340

Problem connecting with WIFI

We recently got a Raspiberry Pi 3 which has WIFI. The Pi can see our network just fine but then when I try to connect it asks me for a 'Pre Share key'. I have no clue what to enter there. I tried our usual wifi password (which works for other devices like smartphones) but it doesn't work. Internet t...
by jorrit
Mon Oct 17, 2016 10:51 am
Forum: Beginners
Topic: Interfacing the Pi with two arduino's
Replies: 1
Views: 514

Interfacing the Pi with two arduino's

Hi, my son has to do a project for school and he chose to do a setup with one Raspberry PI and two arduino's. Basically one arduino will do sound: there is an open source library for aduino that can provide 4 channel sound, Nothing spectacular but it will suffice for this. The other arduino will be ...

Go to advanced search