Go to advanced search

by david_1234
Sun Jan 26, 2020 1:59 pm
Forum: Troubleshooting
Topic: can't reach PI using VNC after noraml update
Replies: 5
Views: 99

Re: can't reach PI using VNC after noraml update

Didn't know this

Thanks you so much - it help and now it's working
by david_1234
Sun Jan 26, 2020 1:52 pm
Forum: Troubleshooting
Topic: can't reach PI using VNC after noraml update
Replies: 5
Views: 99

Re: can't reach PI using VNC after noraml update

I'm trying it now ,
so when do I use "update" and when I use "Full-update"?
up until now I didn't now this command ....

Thanks ,
by david_1234
Sun Jan 26, 2020 1:41 pm
Forum: Troubleshooting
Topic: can't reach PI using VNC after noraml update
Replies: 5
Views: 99

can't reach PI using VNC after noraml update

Hello , I have a working PI 4 buster worked for 3 months now today I run sudo apt-get update sudo apt-get upgrade told me I need to reboot when finish now I can't enter VNC ,and I don''t get any display on the screen. why? can only enter using SSH what went wrong ? systemctl status vncserver-x11-ser...
by david_1234
Tue Jan 07, 2020 1:49 pm
Forum: Beginners
Topic: read data from Arduino
Replies: 14
Views: 383

Re: read data from Arduino

One last question so I will be sure I understand (and avoid any other electric problems): when I use a I2C device that power from 3.3V the SDA\SCL lines will also work on 3.3V? so if my "Other side" can read i2c device only from 3.3V it will be OK?(like PI for example) in that case I won't need any ...
by david_1234
Sun Jan 05, 2020 11:05 am
Forum: Beginners
Topic: UART problem
Replies: 8
Views: 363

Re: UART problem

The data is from Arduino ,
what does it matter?
it something in the pi config , no?
by david_1234
Thu Jan 02, 2020 1:44 pm
Forum: Beginners
Topic: UART problem
Replies: 8
Views: 363

Re: UART problem

No no something is not good , and I don't know what happand this is the config file dtparam=spi=on dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=12 dtoverlay=spi-bcm2835-overlay dtparam=audio=on [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_f...
by david_1234
Thu Jan 02, 2020 1:32 pm
Forum: Beginners
Topic: UART problem
Replies: 8
Views: 363

Re: UART problem

this is a good and important information ! - Thanks! so If I only use SPI,UART protocols is this all I have to config in /boot/config.txt? dtparam=spi=on dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=12 dtoverlay=spi-bcm2835-overlay disable_splash=1 enable_uart=1 dtoverlay=uart5 [pi4] # Enable...
by david_1234
Thu Jan 02, 2020 1:04 pm
Forum: General discussion
Topic: pi4 buster get stuck on "apt-update"
Replies: 7
Views: 346

Re: pi4 buster get stuck on "apt-update"

I guess there was a problem or something yesterday
I have try now (without changing anything) nad it update OK

stange ,

But thank you!
by david_1234
Thu Jan 02, 2020 12:57 pm
Forum: Beginners
Topic: UART problem
Replies: 8
Views: 363

Re: UART problem

This setting will be only for PI4 - if I will create a copy it will be to another PI4 I still can't understand what you are saying , and what is the reason I have this problem , pi won't boot when PIN28 is connected to serial tx sensor? now it's working when I'm using /dev/serial1 dtoverlay=i2c3 dto...
by david_1234
Thu Jan 02, 2020 9:38 am
Forum: Beginners
Topic: UART problem
Replies: 8
Views: 363

UART problem

Hello , Using PI4 Buster OS I need to have 2 serial ports I'm using serial0 without any problem my problem is the 2nd serial .... When I use UART2 which is PIN28 I can read the data from the sensor - everything is working great in the python code I'm opening /dev/serial1. But when I reboot the PI - ...
by david_1234
Thu Jan 02, 2020 8:45 am
Forum: Beginners
Topic: create 2 serial ports?
Replies: 2
Views: 162

Re: create 2 serial ports?

Didn't understand what you want to say , After seraching online I saw that I jsut need to add in /boot/config.txt this line: enable_uart=1 dtoverlay=uart2 then to use this setting in python code ser = serial.Serial( port='/dev/serial1', baudrate = 9600, parity=serial.PARITY_NONE, stopbits=serial.STO...
by david_1234
Wed Jan 01, 2020 1:49 pm
Forum: Beginners
Topic: create 2 serial ports?
Replies: 2
Views: 162

create 2 serial ports?

Hello , Using PI4 buster currentlly I'm using pin8 and pin 10 to read data from Arduino (which is Serial0) I need to read another Arduino , so I need to connect it to another serial port when I look at the pinout I see I can use pins 27&28 as Tx2\Rx2 do I need to change something in the condig file?...
by david_1234
Wed Jan 01, 2020 11:16 am
Forum: General discussion
Topic: pi4 buster get stuck on "apt-update"
Replies: 7
Views: 346

Re: pi4 buster get stuck on "apt-update"

wait more then 2 hours? ?

how to change mirror?
by david_1234
Wed Jan 01, 2020 10:47 am
Forum: General discussion
Topic: pi4 buster get stuck on "apt-update"
Replies: 7
Views: 346

pi4 buster get stuck on "apt-update"

Starnge issue I can't upgrade the pi get stuck on 18% (like this for 2 hours now) Get:1 http://ftp.harukasan.org/raspbian/raspbian buster/main armhf libwebkit2gtk-4.0-37 armhf 2.26.2-1~deb10+1+rpi1 [9,934 kB] Get:1 http://ftp.harukasan.org/raspbian/raspbian buster/main armhf libwebkit2gtk-4.0-37 arm...
by david_1234
Tue Dec 31, 2019 2:53 pm
Forum: Python
Topic: Read serial show me 2 reading at the same time
Replies: 0
Views: 118

Read serial show me 2 reading at the same time

Hello , I have a script that read data from serial sensor the data is sent in BR 9600 i'm waiting 500ms from each reading - so I'm getting 2 reading at one time how can I avoid this ? this is the code : import serial import time ser = serial.Serial( port='/dev/serial0', baudrate = 9600, parity=seria...
by david_1234
Tue Dec 31, 2019 2:08 pm
Forum: Beginners
Topic: read data from Arduino
Replies: 14
Views: 383

Re: read data from Arduino

it doesn't
no metter I look in all the PDF I have found - didn't say it have a 5V pullups

this is the device I have bought

https://www.adafruit.com/product/904


so you say maybe try to connet it using no pull-ups and 3.3V only?
meaning wire to wire , without any pull-ups\divider ?

Thanks ,
by david_1234
Tue Dec 31, 2019 11:21 am
Forum: Beginners
Topic: read data from Arduino
Replies: 14
Views: 383

Re: read data from Arduino

I'm sorry butI didn't understand the all post so let me show you what I did understand : I think it unlikely that using your sensor with pull-ups to 5V would have stopped I2C working on the Pi I used 5V pull-ups and everything work for 2 hours , then stop . It would likely eventually damage the GPIO...
by david_1234
Tue Dec 31, 2019 9:26 am
Forum: Beginners
Topic: read data from Arduino
Replies: 14
Views: 383

Re: read data from Arduino

me again :-) could this be the reason why my PI won't work with the INA219 ? if I have operated the INA219 with 5V then the SCL\SDA will also work on 5V? maybe this was my problem ? also will it be to work on the same side and connect the INA219 to the pi using the volt divider also? or am I talking...
by david_1234
Tue Dec 31, 2019 9:10 am
Forum: Beginners
Topic: read data from Arduino
Replies: 14
Views: 383

Re: read data from Arduino

OK , didn't know this .
I thought 5V is also OK

I will add the divider

Thanks !
by david_1234
Tue Dec 31, 2019 8:56 am
Forum: Beginners
Topic: read data from Arduino
Replies: 14
Views: 383

Re: read data from Arduino

OK ,
I have try to see what I'm getting without the divider
and it's seem to work
I have connected
ARD PI
8 --> 10
9 --> 8
gnd-->gnd

and when I'm sending

Code: Select all

SendToPI.print(current_mA);
I get the data on my PI
so maybe I don't need it?

Thank you ,
by david_1234
Tue Dec 31, 2019 8:07 am
Forum: Beginners
Topic: read data from Arduino
Replies: 14
Views: 383

Re: read data from Arduino

OK - good tho know it's doable :-) The Arduino is 5V so I have 2 questions,please: 1. where do I need to put the divider? can you show me? and also which values do I need for the 2 resistors? I forget the formula.... 2. I don't need to use any convertor at all(to check the pi is working with my comp...
by david_1234
Mon Dec 30, 2019 2:53 pm
Forum: Beginners
Topic: read data from Arduino
Replies: 14
Views: 383

read data from Arduino

Hello , is there any what to connect Arduino to PI ? not by USB only with 2 or 3 wires(Tx,RX,GND)? this is the logic of my question : I need to read my INA219 sensor , while it connect to a computer that works on 24VDC 300mA(MAX). no metter what I did - couldn't make it work on PI(try to use 3.3K\4....
by david_1234
Thu Dec 26, 2019 3:22 pm
Forum: General discussion
Topic: PI get stuck after boot - showing only error messages
Replies: 19
Views: 628

Re: PI get stuck after boot - showing only error messages

yes , it's works
I have dupicate 2 SD card , boot up without any problem

Thanks !
by david_1234
Thu Dec 26, 2019 3:07 pm
Forum: General discussion
Topic: Create a simple web page on apache2 showing sensor ?
Replies: 0
Views: 75

Create a simple web page on apache2 showing sensor ?

Hello , I want to know if I can do this: I have a working PI that run zonminder using apache2 server I understand I can create antoher webpage on the server called tempurture.html(for example) so I wil be able to enter http://10.0.0.100/tempurture.html - to see my temp sensor http://10.0.0.100/zm - ...
by david_1234
Thu Dec 26, 2019 1:31 pm
Forum: General discussion
Topic: unabel to save PI image for backup&restore
Replies: 8
Views: 352

Re: unabel to save PI image for backup&restore

I will try this,

Thanks!

Go to advanced search