Posts

Showing posts from October, 2016

The only way to enable text mode and back on Ubuntu 16.04

Another one of those setup configs', I wish not to forget. Therefore this post. So you installed Ubuntu 16.04 full version, don't panic, use the following command. sudo systemctl disable display-manager.service And to switch back run the below command. sudo service lightdm start && logout

Temperature and Humidity readings capture using DHT22/AM2302 on Raspberry PI

Image
Following from the previous article , in this one we are going to record temperature and humidity using the following setup, a link to the wiring can be found below. **A humble setup** **the wiring diagram*** First, follow the instructions to install wiringpi here . Further download and make the program to access the sensor readings, cd /opt/ git clone https://github.com/technion/lol_dht22 cd lol_dht22 ./configure make here's the output pi@raspberrypi:~/lol_dht22 $ sudo ./loldht 7 Raspberry Pi wiringPi DHT22 reader www.lolware.net Humidity = 55.20 % Temperature = 27.20 *C #7 is the Pi1 mobel B GPIO pin#

Raspberry Pi One Configuration from Scratch

I was doing an IoT project and had to go visit various websites to configure my old raspberry pi one from scratch, therefore I wanted to write all the steps I followed in this blog. Download Raspbian Lite from https://www.raspberrypi.org/downloads/raspbian/ Install Raspbian Jessie Lite on to your blank micro SD card using Win32DiskImager, this is just a case of copying the extracted files into the card. That's the what the program does. Ensure you have atleast network connectivity, some Wireless cards are supported by raspian by default some are not, therefore it's important to stay connected to the internet atleast through ethernet. I use a TP-LINK 300Mbps Mini Wireless N USB Adapter (TL-WN823N), install the drivers using the below link & commands wget https://dl.dropboxusercontent.com/u/80256631/install-wifi.tar.gz tar xzf install-wifi.tar.gz ./install-wifi 8192eu ** the dropbox user is some random guy if you want to try the mfr drivers there are in this li