Go to advanced search

by Bosse_B
Wed Nov 13, 2019 9:13 am
Forum: General discussion
Topic: Do I need to remove fake-hwclock if I use an RTC chip?
Replies: 0
Views: 71

Do I need to remove fake-hwclock if I use an RTC chip?

I have read a number of howto's regarding use of an RTC module (using the DS3231M chip). In some they mention the removal of fake-hwclock and in some this is not mentioned. THIS is a howto where they mention the removal.. What gives here? If I do not remove it what are the ramifications? And if I do...
by Bosse_B
Tue Nov 12, 2019 10:28 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Reading/Writing I2C devices in Raspbian?
Replies: 2
Views: 134

Reading/Writing I2C devices in Raspbian?

I need to read and write some I2C devices (RTC, EEPROM) on my RPi4. I am not using C, C++ or Python so I would like to know if there are some Linux basic commands operating on the /dev/i2c-1 device I can use from any language that can handle files? What I actually use is FreePascal and Lazarus IDE. ...
by Bosse_B
Mon Nov 11, 2019 10:43 am
Forum: General discussion
Topic: State of GPIO pins on startup?
Replies: 8
Views: 201

Re: State of GPIO pins on startup?

Then a 100K (or maybe as low as 10K) would suffice as pull-down to guarantee a low level input to the MOSFET until the application kicks in and sets the pins as outputs with 0V level. The pull-down must be such that the CPU can drive the GPIO pin up to 2.5V or higher for the MOSFET to switch on. I w...
by Bosse_B
Mon Nov 11, 2019 10:12 am
Forum: General discussion
Topic: State of GPIO pins on startup?
Replies: 8
Views: 201

Re: State of GPIO pins on startup?

Breadboarding (on an RPi2B+ unit)... I hooked up my scope to the relay pins I had selected and set it for a one-shot registration triggered on the rising edge at about 1V. Nothing happened on a power-up, so I guess I am good here. If I put an ID EEPROM on the board as well (connected to pins 27/28) ...
by Bosse_B
Mon Nov 11, 2019 9:32 am
Forum: General discussion
Topic: State of GPIO pins on startup?
Replies: 8
Views: 201

Re: State of GPIO pins on startup?

Are the CPU chip GPIO pins directly routed to the 40-pin connector without any external components connected such as pull resistors (up or down)?
I tried to find a circuit diagram but all I managed to find was a drawing that looks incomplete to me.
Is there no complete drawing available?
by Bosse_B
Mon Nov 11, 2019 8:50 am
Forum: General discussion
Topic: State of GPIO pins on startup?
Replies: 8
Views: 201

State of GPIO pins on startup?

I am designing a board to be plugged into the 40-pin header implementing a few interfacing circuits. Among these are a couple of power switching relays for activation of external equipment. I am using 2SK3018 MOSFET transistors to drive the relay coils and the MOSFET gates are hooked directly to GPO...
by Bosse_B
Sat Nov 09, 2019 1:52 pm
Forum: General discussion
Topic: HELP! GUI no longer working on RPi4B 4GB unit
Replies: 4
Views: 234

Re: HELP! GUI no longer working on RPi4B 4GB unit

I'm curious, with all that detective work on your history and such, did you ever discover what it was that you did that messed it up? Unfortunately not! I have been down this route twice now in the last few weeks and both times I had intended to check something I thought was safe (setting up WiFi a...
by Bosse_B
Sat Nov 09, 2019 10:59 am
Forum: General discussion
Topic: SD Card Copier to an old RPi SD-card - not allowed?
Replies: 2
Views: 120

Re: SD Card Copier to an old RPi SD-card - not allowed?

EXCEPT it takes an enormously long time ! It has been running now for 35 minutes and the progress bar is like at the 20% mark! So I am looking at more than 2.5 hours of copy time. Is this normal? When I used the same USB SD reader to make the original from the Raspbian download it took probably only...
by Bosse_B
Sat Nov 09, 2019 10:21 am
Forum: General discussion
Topic: SD Card Copier to an old RPi SD-card - not allowed?
Replies: 2
Views: 120

Re: SD Card Copier to an old RPi SD-card - not allowed?

Problem solved!
I went back and repeated the drive selections and it seems like I have to select the target twice for it to be recognized!
by Bosse_B
Sat Nov 09, 2019 10:15 am
Forum: General discussion
Topic: SD Card Copier to an old RPi SD-card - not allowed?
Replies: 2
Views: 120

SD Card Copier to an old RPi SD-card - not allowed?

I want to copy my now working setup as a backup so I tried to use the RPi GUI. The target SDcard is a 16 GB card whereas the live card is 32 GB but the used size is only 12 GB, so it should fit on a 16GB card. I attached the target SD-card to my RPi4 using an USB memory reader and started "Accessori...
by Bosse_B
Sat Nov 09, 2019 8:17 am
Forum: General discussion
Topic: HELP! GUI no longer working on RPi4B 4GB unit
Replies: 4
Views: 234

Re: HELP! GUI no longer working on RPi4B 4GB unit

Not so long ago (some weeks) I hosed the same system when I tried to make the WiFi operate as an Access Point (without being a router) such that a person nearby could connect to its AP and then access the web based configuration system for the unit. After I failed to fix that I was left with a syste...
by Bosse_B
Fri Nov 08, 2019 7:29 pm
Forum: General discussion
Topic: Network time sync on Raspbian Buster???
Replies: 8
Views: 314

Re: Network time sync on Raspbian Buster???

I used ntp (sudo apt-get install ntp) for a long time, but have recently switched to chrony (sudo apt-get install chrony). Both work fine, but I'm sticking with chrony for now. chrony needs a little config file. Here's how I generate mine. 192.168.16.0 and 10.16.10.0 are subnets on my network; adju...
by Bosse_B
Fri Nov 08, 2019 7:25 pm
Forum: General discussion
Topic: Network time sync on Raspbian Buster???
Replies: 8
Views: 314

Re: Network time sync on Raspbian Buster???

Yes, odd is an understatement! This system worked fine until this morning when I enabled I2C using raspi-config in order to prepare for the RTC module. I have not used the desktop since a few days when I worked on designing the add-on board I am preparing for use with the RPi. It contains basically ...
by Bosse_B
Fri Nov 08, 2019 5:45 pm
Forum: General discussion
Topic: HELP! GUI no longer working on RPi4B 4GB unit
Replies: 4
Views: 234

HELP! GUI no longer working on RPi4B 4GB unit

I have had this RPi4 working for quite some time now and I usually access it via PuTTY for command line work) and RealVNC (for development in th GUI environment). It has constantly (weekly at least) been updated so it should be up-to-date. Today I set out to experiment with an RTC time module using ...
by Bosse_B
Fri Nov 08, 2019 4:28 pm
Forum: General discussion
Topic: Network time sync on Raspbian Buster???
Replies: 8
Views: 314

Network time sync on Raspbian Buster???

I have a difficult time getting my RPi4 with an updated Buster to time sync to the network... I have googled and found numerous commands, none of which works on my system. These do not even exist: ntptime ntpq And if I use timedatectl it still does not work even though it exists: $ sudo timedatectl ...
by Bosse_B
Fri Nov 08, 2019 3:16 pm
Forum: Troubleshooting
Topic: RTC DS3231 won't work on RPi4
Replies: 8
Views: 290

Re: RTC DS3231 won't work on RPi4

One way is to connect it to the Internet and let is sync to the correct time. Then do a sudo hwclock -w to store it in the RTC. The RPi4 is connected to the Internet. It has now passed 2 hours and the RPi4 clock is still off by some 40 s... Exactly how does one "sync to correct time"? This happens ...
by Bosse_B
Fri Nov 08, 2019 1:17 pm
Forum: Troubleshooting
Topic: RTC DS3231 won't work on RPi4
Replies: 8
Views: 290

Re: RTC DS3231 won't work on RPi4

I am now facing another possibly related problem: I can no longer connect using VNC, or rather I can connect but it does not show anything but an evenly gray screen, no desktop visible. And when I connect using PuTTY I get this: $ date Fri 08 Nov 2019 02:16:02 PM CET This happens when the actual tim...
by Bosse_B
Fri Nov 08, 2019 11:46 am
Forum: Troubleshooting
Topic: RTC DS3231 won't work on RPi4
Replies: 8
Views: 290

Re: RTC DS3231 won't work on RPi4

OK thanks, so I now did this: 1) Commented out the two lines I added into /etc/modules only keeping i2c-dev, which was already present 2) Edited the boot/config.txt and added this immediately before the [pi4] section: dtoverlay=i2c-rtc,ds3231 3) Rebooted the RPi4. Now I had to wait more than 2 minut...
by Bosse_B
Fri Nov 08, 2019 9:20 am
Forum: Troubleshooting
Topic: RTC DS3231 won't work on RPi4
Replies: 8
Views: 290

RTC DS3231 won't work on RPi4

I have used an RTC module on an RPi2 with Jessie and now that I am working on an RPi4 I moved it over to the new box. It was a long time since I set up the RPi2 I have forgotten all about it so I searched the web for advice and found a few promising tutorials which I followed. It did the following o...
by Bosse_B
Thu Nov 07, 2019 5:20 pm
Forum: General discussion
Topic: Building an RPi4 HAT - how to use the serial port
Replies: 4
Views: 584

Re: Building an RPi4 HAT - how to use the serial port

After looking around a bit on the net I have reached the conclusion that I should add an EEPROM to the board to act as the ID memory. New questions regarding this: 1) Is a 4K EEPROM sufficient? We have such a part in use on other boards already so it would be good to reuse the same part on the RPi b...
by Bosse_B
Tue Nov 05, 2019 3:02 pm
Forum: General discussion
Topic: Building an RPi4 HAT - how to use the serial port
Replies: 4
Views: 584

Re: Building an RPi4 (HAT) - how to use the serial port

Thanks for the reply, I just got back home to read it... So, I did not know that "HAT" is a term defining a specific type of add-on board including an identification EEPROM on board for the operating system to use to set up drivers and such.... Since I am not intending for my board to ever be sold s...
by Bosse_B
Tue Nov 05, 2019 10:32 am
Forum: General discussion
Topic: Building an RPi4 HAT - how to use the serial port
Replies: 4
Views: 584

Building an RPi4 HAT - how to use the serial port

I am now going to design a HAT PCB, which will plug into the GPIO pins (2x20 connector). I will use this for a project where I have used an USB/RS232 converter to implement the RS232 serial connection during prototyping. But now since I am making the PCB I thought that the built-in serial port would...
by Bosse_B
Mon Nov 04, 2019 7:37 pm
Forum: General discussion
Topic: My RPi4B locks up about once a day...
Replies: 1
Views: 303

My RPi4B locks up about once a day...

I have a problem with my RPi4B-4GB RAM model in that it seems to lock up approximately once every 1-2 days. What happens is that suddenly my PuTTY window connected to the RPi4 plings and shows a loss of network connection to the RPi. The RPi is not rebooting, it seems just to have hung... Waiting a ...
by Bosse_B
Mon Nov 04, 2019 11:11 am
Forum: General discussion
Topic: How to view coded channels using tvheadend on RPi4
Replies: 4
Views: 563

Re: How to view coded channels using tvheadend on RPi4

The reason I am looking at this is that my HUMAX digital TV PVRT box (Swedish version BXR HD+2 with 500GB disk) is beginning to act up and there are no such devices available for sale anymore I have found. Everything seems to be geared towards the Internet nowadays so we who are living (part of the ...
by Bosse_B
Mon Nov 04, 2019 8:56 am
Forum: General discussion
Topic: How to view coded channels using tvheadend on RPi4
Replies: 4
Views: 563

How to view coded channels using tvheadend on RPi4

I am looking at a new RPi4 project: Building a RPi based PVRT for DVB-T and DVB-T2 using the Raspberry Pi TV HAT So far I have found a good HOWTO at PiHut, so it looks like it will be doable at least. But what I would like to know is if there is a way to use a provider's PCMCIA card to decode protec...

Go to advanced search