Welcome, Guest
Username: Password: Remember me
Software
  • Page:
  • 1

TOPIC:

PiLoggerMonitor dont work Config.txt Problem 3 years 5 months ago #1

  • 2paul
  • 2paul's Avatar Topic Author
  • Offline
  • Posts: 11
  • Thank you received: 1
Hi Forum,

dont know, what went wrong here, the data from my Config.txt are not read correctly, i can do what i want, but in the options always the values on the PiLogger side are complete destroyed.
On the RasPi side they are working and are read correctly, when I do changes.
I attached a picture from the problem.
Maybe someone can help me.

Greetings from Spain
Paul

Attachments:

Please Log in or Create an account to join the conversation.

PiLoggerMonitor dont work Config.txt Problem 3 years 5 months ago #2

  • PiLo-Heinz
  • PiLo-Heinz's Avatar
  • Offline
  • Posts: 105
  • Thank you received: 25
Hi Paul, welcome to the forum !
Your screenshot looks like you're having trouble with the I²C connection.
The values from the PiLogger part are read live via I²C. Also the measurement obviously is not successful.
Are you working on a Raspberry Pi 4 ?
Actually the I²C driver on Raspberry Pi does not work correctly and additionally for the model 4 using the old driver BCM2708 is not an option.
So, if you are working on a model 4, please modify the file config.txt from Raspberry Pi OS in the boot partition of the SD card:
- remove any entry like 'dtoverlay=i2c-bcm2708'
- add a line with:
dtparam=i2c_baudrate=30000
This will reduce speed on I²C to 30kBaud. By that a block transfer will last around 50 msec compared to the 'norma' 16 msec with standard baudrate of 100 k.

Hope this is helpful for you !

Greetings, PiLo-Heinz

Please Log in or Create an account to join the conversation.

Nichts ist unmöglich :-)

PiLoggerMonitor dont work Config.txt Problem 3 years 5 months ago #3

  • 2paul
  • 2paul's Avatar Topic Author
  • Offline
  • Posts: 11
  • Thank you received: 1
Woow, thx for the fast answer.
I want use a Raspberry Pi Zero W, and that have only:

dtparam=i2c_arm=on

in /boot/config.txt
no other "i2c" parameter.

should i still use your parameter ??

Please Log in or Create an account to join the conversation.

Last edit: by 2paul.

PiLoggerMonitor dont work Config.txt Problem 3 years 5 months ago #4

  • PiLo-Heinz
  • PiLo-Heinz's Avatar
  • Offline
  • Posts: 105
  • Thank you received: 25
Hi Paul,
no - just the other way round:
for raspi zero to raspi 3 the old BCM2708 driver does a good workaround.
So please add the line:
dtoverlay=i2c-bcm2708
best directly after 'dtparam=i2c_arm=on'.
btw: as described in the PiLogger manual :)
Have fun !
PiLo-Heinz
The following user(s) said Thank You: 2paul

Please Log in or Create an account to join the conversation.

Nichts ist unmöglich :-)
Last edit: by PiLo-Heinz.

PiLoggerMonitor dont work Config.txt Problem 3 years 5 months ago #5

  • 2paul
  • 2paul's Avatar Topic Author
  • Offline
  • Posts: 11
  • Thank you received: 1
perfecto, muchas gracias...
Both entries are working, but i will use your second aswer.
Yeah, I really gave my best to find the answer in your big manual... i missed :)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.331 seconds