If I have an Raspberry Pi 4, can I make something like this:
-to one USB port I connect pendrive
-the second USB port I connect with PC (with Windows10 system)
-when I move file from PC to pendrive, the file will be encrypted "inside" Raspberry(I want to create my own algorithm to this on Raspberry Pi)
-only way to decrypt file it will be connect pendrive to USB port in Raspberry and move back to PC.
Is this possible?
Related
I am working with an ESP32-CAM and have run into a bizarre problem with serial communication. I was able to burn the Edge Impulse (https://www.edgeimpulse.com/) firmware onto the ESP32 using a Raspberry Pi and their shell script, which invokes esptool. The firmware appears to write OK. Using esptool to query the chip id seems to work - it returns an id that changes when I swap ESP32 modules. However the Edge Impulse daemon cannot see the ESP32.
This is where it gets really weird. Using screen, I can't see anything on the USB port. I take the ESP32 and cable over to a different computer and I can see the firmware transmitting messages over USB if I use the Arduino serial monitor or the Termite serial program. However if I use Putty I see nothing. No messages, no gobbledygook, nothing at all, even if I reset the ESP32. I have checked (and re-checked) baud, port settings, flow control, local echo, CR/LF. I've tried resetting the ESP32 while watching output from Putty. I've also tried a different PC and gotten the same results.
I'd like to understand what is going on here. Can anyone offer an explanation?
thx
Burned firmware with esptool on Raspberry Pi - works
Queried chip_id with esptool on Raspberry Pi - works
(above shows that serial port, cable and ESP32 are good, I believe)
View USB output with screen and minicom on Raspberry Pi - nothing
View USB output with Arduino serial monitor and Termite from Windows 10 PC - works
View USB output with Putty from Windows 10 PC - nothing
I'm new to using the Raspberry Pi 4, and every time I want to turn my Pi on through remote desktop, I have to connect my ethernet cable to it so it turns on. The problem is that my ethernet is away from my computer.
How can I turn on the raspberry pi through remote desktop without an ethernet cable, even though I connected it to the WiFi?
I am using SIM7600 module with Beaglebone board connected thru UART2. It works well with ppp on /dev/ttyS2.
Since the application wants the GPS info simultaneously, trying to use CMUX with the n_gsm driver as given here
https://github.com/Rtone/cmux
The modem responds with OK for AT+CMUX=0,0,5,127,0,0,200.
The tty devices for the virtual ports 1 to 4 are created in the linux - /dev/ttyGSM[1-4].
But no serial port utilities work.
Anyone has any experience in this.
I have KOOKYE fingerprint scanner
Device:
https://www.amazon.co.uk/gp/product/B019TPP1UK/ref=s9_simh_gw_g147_i1_r?ie=UTF8&fpl=fresh&pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=desktop-1&pf_rd_r=0SHK4RN0THZ4NGT6PR3G&pf_rd_t=36701&pf_rd_p=026d359a-cb34-4790-9249-ec9f152ee8e2&pf_rd_i=desktop
I want to connect it to Raspberry Pi 3, but the only library available for this device is for Arduino.
Library:
http://kookye.com/2016/07/24/use-arduino-drive-fingerprint-sensor/
Which is the best way to use the scanner on raspberry pi? Do I need to rewrite the library or I can use an Arduino emulator on Pi? If an emulator is used, how do you make the emulator to listen to the Serial port of the Arduino and which would be better to use?
My school gave me a static IP address, sub/mask, DNS and alternate DNS in one of the outlets in my room.
What I want:
Set up through the SD card (windows explorer->sd->config something ip=)
Then I want to use putty to connect to it with the IP provided to me.
What I don't want is
To connect it to a monitor (I don't own one or a keyboard)
Can someone help me, I have no other way connecting to it.
You don't need a monitor to know the IP of Raspberry Pi.
Step 1: Connect it to ethernet.
Step 2: Find the IP of Raspberry Pi by a IP Scanner software or by accessing to the router (normally through address 192.168.1.1)
Step 3: Access to Raspberry Pi with the IP through Putty
Step 4: Set the static IP for Raspberry Pi with this tutorial
what you want is a direct connection between your raspberry and computer via a cross-over ethernet cable (wiki-link). If you are going for this solution you need to set up a DHCP-Server on your computer to give the raspberry an ip-address. If you done this you will be able to connect via ssh to you raspberry pi.
This isn't a trivial way to connect to your raspberry, i recommend you to get a screen and a keyboard. If this is not a option, i wish you good luck.