Pages: [1]   Go Down
Author Topic: Usb serial communication with raspberry pi and software serial at the same time  (Read 6369 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, i want to connect arduino uno to my raspberry pi , i found a good tutorial here http://www.doctormonk.com/2012/04/raspberry-pi-and-arduino.html and i want to try it.

But before this , i want to know something... I have 2 sensors https://www.sparkfun.com/products/10167? and the reason i want to make the 2 boards to communicate is for sharing the sensors measurements.

I have 2 software serial devices working right now, a gsm shield (pins 2,3) and an lcd (pin 4) , so can i send serial commands from the usb the same time ?

Finally I will use an external power supply of 12V for my arduino , connecting the 2 boards requires a usb cable , what if i use only 2 wires (green white) , the data wires, and cutting red/black (power) wires of the usb cable , it will work ?

Thanks !
« Last Edit: December 09, 2012, 12:39:45 am by invader7 » Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you dont want to disconnect ground, thats bad mk? ("ground" can be at different levels on different devices, hook them together to make sure they are all at the same level)
Logged


Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes you are right i said it because i don't want to power arduino from external power at the same time with a usb cable.. i know it automatically switches but... im new and im afraid.... GND pin of arduino is also required ? i thought external power cable should be enough for arduino...
Logged

Pages: [1]   Go Up
Jump to: