Posts tagged with linux

Raspberry pi based Car Infotainment system

Out in the market, there are a handful of car infotainment systems that you can buy for 10 to 30k INR. But nothing beats the thrill of making one from scratch and put it on your own car. So this is my effort to make one from the scratch.

PlymouthTheme-TheRun

This is an another theme I created for Plymouth ( a bootsplash for Linux). This will replace your native boot and shutdown animation. Credits to Joel Roset for the FX animation.

Plymouth theme for Ubuntu

Bored of having the same boot animation screen again and again? There are plenty of Plymouth themes available out there. This is a theme I created by slicing some cool gif files I found online. You can download the theme and find the installation steps on my github account. Link

ESP8266 WiFi IOT chip | Programing the Firmware

ESP8266 is a cheap WiFi chip you can use in your embedded projects. You can communicate the chip using AT commands through UART. You can setup a WiFi hotspot, connect to an existing WiFi network, act as a web server, send data (TCP/UDP). The real fun is that you can reprogram the whole chip and you don’t need an other micro controller to control it. The ESP8266 ES1 come with 2 GPIO pins. There are other variants of this chip with more GPIO. This ESP 01 cost around Rs. 250 which is so cheap while comparing with other WiFi modules.

Display text in color - Linux terminal

Ever wanted to print text in colours? You can do it with ANSI escape characters. You can use ANSI codes in any programming language as long as the terminal supports it.

echo -e "\e[31mRed"

Red

echo -e "\e[32mGreen"

Green

Replace the number to get different colors. You can make text bold, italics, underline etc. Following is a short table describing several codes.

39     Default
30     Black     
31     Red   
32     Green   
33     Yellow   
34     Blue   
35     Magenta
36     Cyan   
37     Light gray   
97     White     

For a complete reference, link. (The page has a complete list of ANSI codes)