Hello , I running om my pi only zoneminder yesterday i notice I can't enter the server when I try to connect to the PI using ssh I got this error messges Message from syslogd@raspberrypi at Dec 23 08:33:19 ... in decoder error: Message from syslogd@raspberrypi at Dec 23 08:33:19 ... iled to create a...
it was INA219 but also a I2C LCD I remember I had some problem with the INA219 , and I wanted to check the i2c is working so I run a simple "show time " python code . maybe there is a simple sel-check or something I can do ? I think something went wrong in the PI because now I have also try to conne...
Hello , I'm working with PI4 buster I want to connect an I2C LCD device I have connected 5V,GND,PIN3(SDA),PIN5(SCL) enable the i2c on the config but when I run the command I don't see the device sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- ...
When I say remote I meant no one touch it (all the cables that connected to the card\pi are 15 cm max)
so you say maybe try with 3.3K resistors instead of 4.7K?
maybe this will solve the problem ?
it's start to work , saw the address , run the script - everything was working just great but after ~ 3 min It stop working , and when I run the search to see the address it take about 3 min to finish the scan. no one touch it \ change the wiring - it was on a remote table what it could be ? Thanks ,
maybe you can help me? I'm trying to connect INA219 usnig i2c I'm using PI4 , opened all i2c pins ,and I can see 4 of them /dev/i2c-1 /dev/i2c-3 /dev/i2c-5 /dev/i2c-6 but I can't see the device I have try in all i2c pins (I took the pinout from here) https://learn.pi-supply.com/make/raspberry-pi-4-p...
I saw on the internet that I can do this using a special card https://copperhilltech.com/content/PICAN2DUOUGB.pdf but can't I do the same using my own setting? I have try to add this lines in the boot/config.txt dtparam=spi=on dtoverlay=mcp2515-can0-overlay,oscillator=16000000,interrupt=12 dtoverlay...
Hello , wanted to know how can I read data from 2 canbus interfaces at the same time. Right now I'm using this configuration for 1 canbus : /boot/config.txt dtparam=spi=on dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=12 dtoverlay=spi-bcm2835-overlay and this connections GPIO CAN HEADR SIGNAL ...
OK - I can do this :-) just to see I got it right on t0 I have column1 , column2 , column3 .... on t1 I have column1_1 , column2_1 , column3_1 then I sub columns1_1-column1 ..... I get a "new" line with 7 values\numbers and from there I do waht I did before? CpuLoad = (100 - ((IdleCPU / TotalCPU) * ...
this is what I did for the last hour finally made this solution according to this explain https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk65143 String CpuFileName = "/proc/stat"; String line = null; String strArray[] = new String[12]; doubl...
Ok now I see it but now what ? this is what I ask here https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=247784&p=1562897#p1562897 what do I need to calcualte in order to see the current CPU use? I guess something from this line ? 12705560 1075 1114248 131286844 258837 0 58030 0 0 0 if I take ...
Hello , I'm having a strange problem I'm trying to read the CPU load using this commnad: top -n1 | grep "%Cpu" when I try to use this java code : try { ProcessBuilder GetCPU = new ProcessBuilder ("sudo" , top" ,"-n1","grep" , "%Cpu"); //*2 ProcessBuilder GetCPU = new ProcessBuilder ("sudo" , sh" , "...
OK so can I "trust" the answer I'm getting? meaning that if I get %Cpu(s): 6.8 us, 6.8 sy, 0.0 ni, 86.5 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st which I take from there only the idle "86.5" meaning beaing use 13.5% the real number is not that importent , I just want to make sure the pi is not "kiling" its...
Sorry for the bump I still can't find an answer for this , how to get the CPU Load. and it can't be that hard - becuase you can see it in the menu as "CPU Usage Monitor", so the number and calculation is there. so it must be a way to reach and get it , no? I understadn correctly this command top -n ...
Everything is OK like the guide Capture.PNG ****** I took this INA219 device and connected it to Arduino as suggested , and there it works and show me the data V\A\P. so no hardware problem for 100% maybe I need to allow \enable soemthing ?? I saw that maybe in old pis there is only 1 i2c pins , and...
I have try to do something else now I jumper A0 and A1 so when I run the scanner I can see this: sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: ...
I found Arduino Ethernet here use this code: #include <Wire.h> #include <Adafruit_INA219.h> Adafruit_INA219 ina219; void setup(void) { Serial.begin(115200); while (!Serial) { // will pause Zero, Leonardo, etc until serial console opens delay(1); } uint32_t currentFrequency; Serial.println("Hello!");...
because I found somewhere that this is the pip port use and ping github.com PING github.com (140.82.118.4) 56(84) bytes of data. 64 bytes from lb-140-82-118-4-ams.github.com (140.82.118.4): icmp_seq=1 ttl=49 time=99.4 ms 64 bytes from lb-140-82-118-4-ams.github.com (140.82.118.4): icmp_seq=2 ttl=49 ...