My problem is this : I can write in hebrew on the Text Editor and also on the terminal (so the PI can read this) but when I try to read it and save it as string - I get "???????" all I do it this : Encoding encoding = Encoding.GetENcoding(1255); string path = @"/home/pi/test.txt"; string StringMessa...
Hello ,
I have a C# code that read a text file with chars that are eoncoding in windows-1255
is there a way to install the encoding?
or is there a linux\pi encoding for that?
After searching all over the net and ask in all kind of linux\pi\ubuntu forums
I understadn that I don't need to create a virtual port at all ,
I can just send the data as is to the server
doesn;t work and I guess it's becaue it's not a a ssh connection it's a serail connection in 10.0.0.100:4001 this is why I need to create a "demo" port maybe there is another way? this is what I have try to do in the PI socat pty,link=/dev/lio0,ignoreof,waitslave tcp10.0.0.100:4001 them open new ter...
yes it's called Moxa https://www.moxa.com/product/NE-4120S.htm it converte tcp to serial - so when you need to "talk" with a serail device you can connect to it using this device . maybe you can igonre this and jsut show me (please , if you know how) how can I talk with a serial device in IP 10.0.0....
but where do I config the rate of the serial? let me expalin my configuration: PI (ehternet = 10.0.0.1/24) -->IPtoSerailDevice(ip=10.0.0.100/24)-->serail Modem 4800,8N1 I want to be able to send command to the modem "at!reset" * in windows I use VSPE , I create serail connector then tell him that co...
Hello, I want to open a virtul tcp com on my pi to address 10.0.0.100 with port 4001 how do I do this? I have try to use se2net and also socat - but I don,t think it's working eventually I wat to send to this virtual com this message "1236\test\hello" and the device that connect to 10.0.0.100 will g...
is there any way to "save" the image and them install it on a new sd card?
becasue with this system - I need to have the PI everytime I want to duplicate it
I want to save a copy in my comuter , and duplicate it as many times as I wnat t( without the PI )
if I understand it correctly , I'm using 2 differents devices with 2 differents clock . so I need to connect the canbus to spi1 pins MOSI 38 20 MISO 35 19 SCLK 40 21 CS0 36 16 and my RFID to spi0 pins MOSI 19 10 MISO 21 9 SCLK 23 11 CS0 24 8 what do I need to do in the config - in order to make this...
I'm running this code in order to read the RFID data : import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.Date; import java.io.*; import java.net.*; import java.util.*; import java.util.Calendar; import java.util.concurrent.TimeUnit; import java.text.SimpleDateFormat; pub...
I'm trying to use MonoDevelop - but it doesn't work.
when I try to create a new project the software shutdown....
any idea why?
I'm using a fresh installation .
this is what I have PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" so...
Hello , strange problem I 'm using BlueJ to write some java after I complie and export to java , when I try to run the file I get the error pi@raspberrypi:~ $ sudo java -jar /home/pi/Desktop/FinalV2.jar Error: Unable to access jarfile /home/pi/Desktop/FinalV2.jar pi@raspberrypi:~ $ ls /home/pi/Deskt...
Spajk
can you say how did you do it?
how did you make it work?
I have install the Java-WebSocket
but can't run it
no matter what I do - I get this error :
packege org.java_websocket.WebSocket does not exist
Hello , I have a java code that run on the pi and collect data from temp\light sensor , that send me that data once every 10 min to my server. now I want to be able to enter the PI and see the data "live" . to be able to do so - I read and understadn I need to isnstall websocket and edit my code for...
Hello ,
I have build a pi with al kind of script\setting
and now I wnat to make 3-4 units the same
is there any whay to create the image from my working pi and then jsut upload\install it to other sd cars
then it will work on the pi?
Hello , I saw that in order to read data I can use 1-wire option but how do I use it? I have look here http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/ but it doesn't work I have also look here https://tutorials-raspberrypi.com/raspberry-pi-temperature-sensor...