I do not think a soldered-on one would fit on that tiny module inside the FLIRC case. Yes, my idea was to use a wired CR2032 holder. This one below is identical (in terms of the pictures) to the one I have: The dimensions listed (in mm) are roughly the same as the one I have. The module was bought off of eBay a year+ ago so I can't get a link for it (seller not there anymore) but I just checked the module and it does resemble the one on the link below (not the red PCB image, the one below it and in the customer reviews): The module I got was installed inside the FLIRC case without any modifications, other than a little bit of electrical tape on top in case it contacted the case. If you previously got a number different to 68, change 0圆8 match that number (0x11 if your number is 11 for example): To do this, run one of the following commands below. So, with that in mind, some text needs to be placed in the /boot/firmware/config.txt file to tell Ubuntu to load the kernel module for the RTC module. Instead of using the config.txt file that is stored in /boot, they made it so that you needed to place it in /boot/firmware. It turns out that Ubuntu decided that they would do things a little differently. This is what stung me for a while as all the guides available showed how it was done on RaspberryPi OS and when followed, the kernel module would not load. Instead, what needs to be done is to tell Ubuntu to load the kernel module as part of the boot sequence. Press enter and you will then be taken back to the command prompt.Īlthough the module is now working, if the system is rebooted, the kernel module for the RTC module will not be loaded so you will need to go through the setting up of it again. You will need to use those credentials with the following command:Įnter fullscreen mode Exit fullscreen mode Use this guide to set it up.Īs part of the Raspberry Pi Imager setup, you specified a username and password to use. Windows: PowerShell SSH (Needs to be enabled in Windows 10.macOS: Terminal (built-in) or iTerm2 (download).Linux: Terminal, X-Term or the console screen if you have no GUI installed.Some examples that are available include: Which application you use depends on your computers Operating System. You will need to use a terminal application to use SSH. SSH is used to remotely connect to Ubuntu (or Linux in general) to allow you to run terminal commands. You can then install the MicroSD card and connect up the Ethernet cable and power adapter to the Pi. I placed a bit of electric tape over the RTC module as it was going into an aluminium case which it shouldn't come into to contact with but I figured it's better safe than sorry. For my RTC module, I needed to install it onto pins 1, 3, 5, 7 and 9 but yours might be different. You can then proceed to install the module onto the GPIO pins on the Pi. You should be able to find this by looking at the text on the module or you can find it from the vendors description from where you bought it, which might be easier. To begin with, you will need to check which chipset is on your RTC module. This should have 64-bit listed under the title. When you get to step 2, instead of selecting Raspberry Pi OS, go to Other general purpose OS > Ubuntu > Ubuntu Server 20.04.4 LTS (RPI 3/4/400). Ubuntu Server 20.04 64-bit for Raspberry Pi (downloaded via the Raspberry Pi Imager).įirst, download the Raspberry Pi Imager application for your operating system and install it.įor a step-by-step guide on how to image the MicroSD card with Ubuntu 20.04 LTS, follow the steps in the YouTube video below.Here is the equipment / software I used for this little project: I managed to figure out what was causing it, after many hours of troubleshooting and as a result I decided to write this article (my first one ever) to cover the setup and configuration. Well, for 98% of it, the setup was the same, but there was one part of the setup that was different which made it so that when I would reboot the Pi, the module could not be detected. No real issue, it can't be that different for Ubuntu, right? I was able to find a few guides on how to do it but there was a problem all of the guides were for Raspbian OS. Recently, I was looking to setup a Raspberry Pi 4 Server that would run Ubuntu Server 20.04 (latest available at the time) and I wanted to add an RTC battery to it as I would be running a PostgreSQL database that would be storing date and time values in some of the tables.Īs a result, I picked up an RTC battery module from eBay for a few pounds and proceeded to install it. Configure Ubuntu To Use The RTC Module.RTC Module With A Raspberry Pi 4 And Ubuntu Server 20.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |