This problem is making me crazy! I need to send a CSV file from one raspberry pi to another raspberry pi via bluetooth,
The CSV file will be about max 4MB, I have no problem with changing the language if anyone have a better solution.
By the way, I can't read the csv and send it line by line, I don't need that, I need to send just one file, like a compress file, to process it in the other raspberry.
Thank you very much! I will appreciate any help!
Could you use SCP to copy it over on the command line?
Related
I been looking everywhere online for this exact configuration but can't find much.
I want to program my AtMega328p MCU (its on a breadboard) using Python from my Raspberry Pi 4 but I am not sure how to check if communication is going on between them? I have the MISO, MOSI, SCLK, and CE0 pins from the Pi connected to the MISO, MOSI, SCK, SS pins on the AtMega328p respectively.
I understand I have to use SPI communication, however how can I exactly send data from the Raspberry Pi to the MCU to ensure there is communication between the two? Maybe some code to send to the MCU and receive it back? I been using the SPI Dev Python libraries but can't find much info on it. Thank you in advance!!
To load code onto the AVR (program it), you want to use existing software like avrdude that already speaks the AVR ISP protocol. avrdude already has support for using the RPi SPI headers - just use the linuxspi programmer type.
Here's an article by the author that explains it (although there are probably more recent articles if you search around) http://kevincuzner.com/2013/05/27/raspberry-pi-as-an-avr-programmer/
Is there a reason you want to do this from Python specifically? Or are you referring to communicating between the uC firmware and some Python code on the Pi?
I am trying to send a log file using LoRa module where the log file has simple strings, 4 to be exact. I would like to open that file then read it and finally transmit each string one by one to the receiver. I currently used the Github guide of sending "ACK" but unable to figure how I can send string which I need to read from a file. I am using it with Raspberry Pi 3b+. I would like some help in this please
https://github.com/rpsreal/pySX127x/blob/master/LORA_SERVER.py
I want to access data from devices like RFID reader,CCTV camera which will be connected to a device which has SUSE Linux in it.This is a proprietary device --> Huawei AR515.
But, I am not sure in what format, data will be produced by these devices. If i want to get data, say using Python/C++ what will I have to do?
Help in this regard will be appreciated
In python, maybe this way can helps you
Reading serial data in realtime in Python
In C/C++ for linux platform, you can read directly in /dev/.
In both cases, is mandatory knows whats commands and sequences the device require. In general lines, if you before never try this and you're begginer, the first steps more appropriate are the AT commands.
This can help How to Send/Receive SMS using AT commands?
I am new at Raspberry and Python, so I will be very glad if you help me at my problem. I need to read some data from weight scale when button on scale is pressed. When I connected this scale via USB on PC, I saw that it works as HID. When I pressed the button, data were written in some text document for example. So, now I am going to connect this scale on Raspberry Pi to read and manipulate with data. Can you give me some example, advice, which library I need to import? I want to write a script, that waits for incomming data and then something do with it. Thanks for help.
I am new to python so please forgive me in advance ;-) I am trying parse a log file for a name that always occurs after a known word and print that name to an LCD using the GPIO library. I have the LCD working and can print a given message but not sure how to use python to grep the log file and output that information to the LCD. Any help would be great, thanks...