Author: AliOs

Custom Splash Screen for Raspberry Pi (Raspbian)

This is a quick and dirty solution for an unanimated custom splash screen during boot. This solution works but there are a few seconds of text shown before the boot image appears. First of all, you need to install fbi: Shell apt-get install fbi 1 apt-get install fbi   Copy your custom splash image to /etc/ and name it “splash.png“. Presumably the resolution to use is 1920x1080px. Next, create an init.d script called “asplashscreen” in “/etc/init.d/“. The file name is “asplashscreen” with an “a” at the beginning to be sure it starts first. Shell sudo nano asplashscreen 1 sudo nano asplashscreen...

Read More

Connect to C.H.I.P. in headless mode

Headless mode means that we’ll be using C.H.I.P. with no monitor, keyboard, or mouse connected. To set up for this tutorial, you’ll simply need a C.H.I.P. right out of the box, and a micro USB cable. I’ll be using a Windows 10 PC. Step 1: Connect C.H.I.P. To Your PC Connect micro USB of the C.H.I.P. to a USB port on your PC. That’s it for this step. The C.H.I.P. should now be powered and running.   Step 2: Find The Device COM Number Open up Windows Settings. Click on Devices. Select “Connected Devices” and you should see a...

Read More

Set Date and Time From a Linux Shell

Use the date command to display the current date and time or set the system date / time over ssh session. You can also run the date command from X terminal as root user. This is useful if the Linux server time and/or date is wrong, and you need to set it to new values from the shell prompt. You must login as root user to use date command.   Linux Display Current Date and Time Just type the date command: Shell $ date 1 $ date Sample outputs: Shell Wed Apr 23 10:32:59 CDT 2014 1 Wed Apr...

Read More

Using the I2C Bus

The physical I2C bus This is just two wires, called SCL and SDA. SCL is the clock line. It is used to synchronize all data transfers over the I2C bus. SDA is the data line. The SCL & SDA lines are connected to all devices on the I2C bus. There needs to be a third wire which is just the ground or 0 volts. There may also be a 5 volt wire is power is being distributed to the devices. Both SCL and SDA lines are “open drain” drivers. What this means is that the chip can drive its...

Read More