13

Use udev rules. find your device information. udevadm -a -p /dev/path/device/ KERNELS=="1-3" SUBSYSTEMS=="usb" DRIVERS=="usb" ... ATTRS{quirks}=="0x0" ATTRS{authorized}=="1" ATTRS{manufacturer}=="SANDisk" ATTRS{product}=="USB DISK" ATTRS{serial}=="SD71011000019113" Then create your udev rules file for your device. When creating rules file, use ...


13

You're right in your understanding that the shared USB/ethernet bus is something of a bottleneck. One option is to use a Pi 3 over WiFi. The WiFi chip doesn't share a bus with the USB sockets and should run at full speed. Using any Pi other than a Pi 3, I'm led to believe that using a USB 3 Gigabit ethernet adapter in a USB socket can work wonders for ...


8

Yes this is fine because as you guessed, only the first 2GB has actual data. The rest of the space (either the original 14GB or the now 6GB) is unused, so it doesn't matter what's there or not. If you're going to the trouble of moving it though, you could enlarge the main partition with fdisk, format it and use cp -a to copy the files from the old (1.6GB) ...


7

USB 2.0 has a maximum transfer rate of 480Mb/sec (Megabits) Now, the actual transfer rate in the real world is far slower. My Pi 2 has a maximum of 220Mb/sec (Megabits) throughput over USB. The maxium the Pi can push over the 10/100 network port is about 90Mb/sec (Megabits) So: 480 Mb/sec (USB 2.0 maxium throughput) - 260 Mb/sec (For real-...


7

Run the command on your Mac: scp pi@raspberry.local:/path/to/file . And the file will be transferred to your current directory. Assuming your Raspberry Pi is accessible through its default hostname raspberry.local in the local network. Also assuming the user pi has read access to the file.


6

At those ranges Gigahertz comms (WiFi/Bluetooth) won't cut it. Check the Pi in the Sky project , which uses 433 MHz comms by default. Depending on your range requirements you might want someone with an Amateur Radio license for ARPS on your team. Another alternative is to use LoRA , which shouldn't need a license. Using a distributed system like UKHAS will ...


5

The Pi uses a single usb 2.0 bus for Ethernet in addition to all usb ports. A usb 2.0 bus can handle up to 480Mbits/s of bandwidth - a significant portion of that will be consumed by the overhead due to managing multiple devices, with exact numbers being hard to find, as they depend on each individual connected device, as well as what it is doing and how ...


5

The controller is a Microchip LAN9512 and the reason it is used instead of, e.g., a bunch of independent controllers is presumably: Price. Here's an example of somewhere you can buy 100 of them @ $5 each. Form factor. You may remember the Raspberry Pi being marketed or tech blogged about as "a credit card sized computer" or "a computer which fits in the ...


5

Does anyone know how much speed I would gain in the same scenario with a Pi3 (just about..)? Only if the Pi currently does this with a very high processor usage, say 75%+. This would indicate it is working hard to deal with the encryption, and might benefit from more horse power there. Otherwise, the bottleneck is the I/O, and as far as I am aware the Pi ...


4

The simplicity of these is that its a transparent UART channel so you can add as many transceivers as you like and all the nodes will get the data. You need to create some kind of simple model based on JSON, where you embed an ID, the NODE you are interested in a multi tenant environment, and the command or data. JSON is easy to read, compressed well when ...


4

SFTP (used by WinSCP) encrypts transferred data, what uses quite some CPU power, which is already heavily in use by XBMC even when idle (actually CPU usage is even greater on idle). So you do not always want to encrypt your data, if your network setup is secure by itself. There is an extensive guide how to setup the NAS server for RPi here: http://elinux....


4

SSH is a cryptographic network protocol for secure data communication, I guess that the CPU of the PI is not powerful enough to get high speeds. You could look at the output of the command "top". That way you can determine if the CPU is the bottleneck. Use a FTP server instead, I get the transfer speed of 12.5 MB/S to my PI.


4

If you backup a img file of your SD card, you can then flash it too the newer one like you would flash a normal Raspbian etc image. This should be a bit quicker than trying to copy all the files. First you need to backup up the image file - on Linux based systems this can be done with: dd if=/dev/sdX of=/path/to/image.img bs=4M Where /dev/sdX is the path ...


4

As a beginner it may seem a bit taunting on how to actually transfer data, or how to ask the correct question on how to do it. The reason is because there are so many ways to do. A popular way to be run a simple webserver on your "server". You can choose any language you like to run this simple webserver, python, node.js or C# MVC with API. On the node, ...


3

I'm going to take this apart a little bit: I am looking for a way to send files from a computer to a rpi without the rpi being able to send anything to the pc and therefore possibly get access the computer's network. I hate to be a stickler, lol, but you need to clarify some things, because on a literal level this is not possible. ALL network ...


3

You've chosen a difficult route. If there's anything whatsoever you can do to get some cables into the freezer you should do so. You can now do things with Bluetooth Low Energy (BLE) on a Pi without too much difficulty. Adafruit have a good writeup on making a Bluetooth beacon here. While I can't say with absolute certainty, I think that you're very likely ...


3

There are several solutions: quietnet -> https://github.com/Katee/quietnet minimodem -> http://www.whence.com/minimodem/ morse code


3

Since RPi 3 uses BCM2837 SoC, you're out of luck: BCM283x supports HDMI V1.3a. Not sure what the "rate of output" means, but HDMI 1.3a runs at a frequency of 340 MHz and a data rate of 10.2 Gbps. No need to measure that.


3

I am surprised your search did not find any solutions. How do you think computers communicate? The simplest solution is to use a serial link. For Arduino to Pi connect the Arduino's TX pin to the Pi's RX pin (pin 10, GPIO 15, RXD). For Pi to Arduino connect the Pi's TX pin (pin 8, GPIO 14, TXD) to the Arduino's RX pin. Note that the Pi's GPIO are 3V3 ...


3

Bluetooth 4 does not have the same speed capacities as bluetooth 3 + HS. The high speeds were deprecated after bluetooth 3. As written on this article.


3

satcomm module cost: $250 monthly fee: $15 https://www.sparkfun.com/products/13745


3

The default names and structure for linux are defined in the Linux Standard Base (LSB). Part of this document is the Filesystem Hierarchy Standard. Herein you find the definition for /media : Mount point for removable media and for /mnt : Mount point for a temporarily mounted filesystem. So if your harddrive is removable (e.g. USB-drive) it will be ...


3

The Raspberry Pi (all models) feature USB 2.0 ("Hi-Speed") only; which has a net data transfer of 40 MB/s at best (1); real life performance might even be less (2). Share that data rate between inbound (SSD) and outbound (HDD) traffic will yield 20 MB/s. So for 500 GB per hour that transfer is going to take about 25,000 seconds - which I believe are ...


2

Since you use WinSCP, I assume that the transfer is secured by SSH. I heard that SSH can be CPU-intensive and can slow down your transfer. To know whether SSH is guilty, I suggest to test the raw data transfer speed between your laptop and your RPi with iperf. Install iperf on both your laptop and your RPi. One will be the server and the other one, the ...


2

If you want to transfer files 'quickly' my view would be to not use your network! The throughput will be massively restricted by the network, regardless of transport protocol, FTP, SFTP, Samba - its still going to be relatively slow in comparison to copying files on a single machine. Unplug one of your USB drives from your raspberry pi and plug it into ...


2

SFTP (ssh) would definitely be your best bet. By setting it up with the proper key configuration you wouldn't even need to login, just shove the file. EDIT: I see in one of your comments to your question that you've asked not to use a wlan connection. If you want to do that over the network your only option would be a usb-wifi dongle. Other than that ...


2

Here is my understanding of the problem. For various reasons you need to get files from a PC to the Raspberry pi without a network connection. Given that constraint you could connect the PC to the Raspberry Pi using a USB->serial cable. You will need to disable the serial console and serial login on the Raspberry Pi. Follow these instructions. As an ...


2

TLDR: both sites you mention support uploading files through an API (using code instead of a web browser). TrainingPeaks has an upload-via-SOAP API. They also have a much easier non-soap method. It's less secure but it means you could test it without writing proper code (simply using curl). It appears they only accept PWX files, which are a Timex format. ...


2

There is a lot of ways to do this, and the best one depends on how will you use the generated data. Not having all the details of your particular setup, I'll assume the following: You want a regular text file stored with incoming data appended to the file. You have already properly connected Arduino and RPi so you receive, say, a stream of characters on a ...


2

If you don't like udev, you can take a look on devmon. It allows these options: --exec-on-device DEVICE "COMMAND" Execute COMMAND after mounting DEVICE --exec-on-label "LABEL" "COMMAND" Execute COMMAND after mounting LABEL --exec-on-video "COMMAND" Execute COMMAND after video DVD mount --exec-on-audio "COMMAND" Execute COMMAND after ...


Only top voted, non community-wiki answers of a minimum length are eligible