preview

Setting up a Raspberry PI

Satisfactory Essays

STEP 1: SETTING UP OF RASPBERRY PI
 Installation of raspbianos in raspberry pi.
 Enabling SSH in pi for GUI.

STEP 2: CONNECTING PI WITH COMPUTER

RASPBERRY PI SIDE SETTINGS :
 ifconfig command is used to find the ip address of pi.
 To make the ip address static the following commands has to be given in LX terminal of pi.

sudocp/boot/cmdline.txt /boot/cmdline.normal sudonano /boot/cmdline.txt sudonano /boot/cmdline.txt ip=192.168.3.11 sudocp /boot/cmdline.txt /boot/cmdline.direct sudo reboot

LAPTOP SIDE SETTINGS:
 Installation of putty software in laptop.
 Enable SSH checkbox in putty window.
 Enter the ip address of the pi in the putty configuration window.
CONNECTING PI WITH COMPUTER:
 LX terminal of pi will be displayed inwindows terminal.
 Enter login id as ‘pi’ and password as ‘raspberry’.
 Now raspberry pi will be booted up and lot of files will be executed.
STEP 3: EXECUTING CODE THROUGH PUTTY
 To execute the code,give the command as gcc –lm codename.c
 Once the code is executed correctly, give the required input like new sample or testing.
 Output will be displayed in laptop screen.
STEP 4: DISPLAYING OUTPUT IN LCD
 Keypad and lcd are interfaced with raspberry pi through ATMEGA 8 microcontroller.
 Communication between pi and microcontroller is done through serial console.

STEP 1: SETTING UP OF RASPBERRY PI
 Installation of raspbianos in raspberry pi.
 Enabling SSH in pi for GUI.

STEP 2: CONNECTING PI WITH

Get Access