Can you send data to a raspberry pi server that is out in the woods? - raspberry-pi

I am making a sort of rover where you control it from your computer and the rover will be outside. I want the computer to send data to the raspberry pi using a server that is on the raspberry pi. Will I be able to do that if the raspberry pi in in the woods?
If not is there anyway I can achieve this goal?

yeah but you need one of the following network connections:
cell phone
sat.
wifi setup to connect
you could use a small battery (like phone charger to power it for a few days and with a cell phone (battery powered or better plugged if you have power access. I have ducked tapped a pie to a cell phone and a big battery/plugin and set it up in the deep woods. mobile setup

Related

How Can I send AT commands to GPS module connected to a raspberry pi

My GPS module doesn't automatically turn on its GPS to receive data. The module uses AT commands to turn on GPS and the the GPS shuts down when you remove it from its power source.
The problem is I can turn on the GPS with PUTTY serial monitor when connected directly to my laptop for testing, but I don't know how to turn it on when connected to my raspberry pi because I don't know how to send the AT command through the raspberry pi to power it up.
Is there a way i can send AT commands to a connected device on my raspberry
I have tried the cu method but it doesn't seem to work as I receive no response when I input the AT code
So if I understand it correctly, you can connect the GPS module to your laptop directly and send the AT commands to it but, you are unable to do the same with your RPi.
Think of it like this, how is the computer being able to send the AT commands? Through a UART right? So that means you need a UART like connection between the 2 devices to be able to send AT commands.
Now, lets just replace the computer with the RPi, again you would need a UART connection between the GPS module and the RPi module, lets say a simple RS232 connectivity. Once you have this connection established, you will have to program your RPi to send the appropriate commands to the GPS modem via this connection. So probably what you need to google now is "RS232 communication using RPi". And of course you will need the Tx and Rx connections to be proper between the two devices.

How can I stream Kinect V2 tracking data from PC to Raspberry Pi 3 through WiFi?

I'm currently working with Kinect v2. I can do all sort of stuff on PC with it. What I want to do next is, to get the data I want on PC and control the Raspberry Pi with that data (for example, I will move the Pi with motors when I tilt my head to right). I have sorted out the motors and everything but I just don't know how to use that tracking data I have on PC to control the Pi.
I hope the question makes sense, i'm just extremely new to both Pi and Kinect.
Thanks for the help!
The first step is to choose the bus that will connect the
PC to the Raspberry PI.
Your options are:
Serial bus: Pi Serial tutorial,USB Serial to Pi cable
Network Socket (cable/wifi): Socket client/server c++ examples
i2c: i2c windows PC, Configuring i2c on Pi
I believe that the i2c or serial bus will be the easiest to start
with. But in the end all 3 options need to set up the connection, and send and receive bytes / byteArrays.

Use Raspberry Pi like GoPro, Live Videostream over WiFi direct connection between Pi and Android

In the last weeks I experimented with my Raspberry Pi B and with the PiCamera. I had the idea to establish a connection between the RasPi and an Android device or (if it is easier) to a windows notebook without an access point in between, just like the GoPro camera and its App. I would like to have a live stream from the PiCamera to the other device and the possibility to start/stop recording a video or simply take a picture.
The app itself is not my problem, I wrote some simple apps before. But I didn't yet find a tutorial or description how to set up the communication and the stream.
I bought a WiFi dongle (Fritz!WLAN Stick N - by AVM) that supports WiFi direct and my phone (Samsung Galaxy S5 mini) does as well.
My first question is how to set up this stick on Raspbian - yet it is not recognises as a wifi dongle, and the second is how to achieve what I descriebed above.
Could anyone please describe what I can do?
Thanks in advance!
PS: I prefer a description for bash because I use SSH

Forward Bluetooth socket to serial port

I've been trying to figure out how to turn my Raspberry Pi into a USB to Bluetooth serial adapter. I want to be able to send data over Bluetooth to the Pi which has a USB thermal printer registered at /dev/usb/lp0.
Using only standard command line apps such as hciconfig, hcitool, rfcomm, and sdptool I have been able to see the Pi as visible, and pair to it from an Android tablet using a Bluetooth SPP app on the Store. However, the tablet disconnects immediately, and no data is sent. rfcomm listen /dev/rfcomm0 1 also waits for a connection forever.
I think I'm able to achieve what I need without custom code, using solely standard command line apps, but I'm not entirely sure. socat will likely be of use to finally connect the sockets.
Figures that I'd get it right after posting. To anyone else looking to do something similar:
Pair with bluez-simple-agent
Create your serial port channel with sdptool add --channel=x sp
Listen for a connection on that channel with sudo rfcomm listen /dev/rfcomm0 x
Cross the streams with socat /dev/rfcomm0 /dev/usb/lp0
Beautiful. It's all so simple now.

Send data by ENC28J60 in stm32

I have a development board of stm32f103VE and i want to use enc28j60 to send data to PC .
I have a sample code from st.com .I used it but there wasn't any response and when i joint the cable from my board to PC ,the orange and green LED weren't on. I am not very familiar with this protocol to transmit data.
Can anybody help me to dissolve this problem?
Should i configure something in my PC?
Two ethernet devices would communicate if they are in the same subnet. so the subnet mask of the pc and what you set in your microcontroller must be same.
If you are directly connecting to PC (without any switch), use a cross ethernet cable