Getting Started With Raspberry Pi Complete RFID Starter Kit

Download code and library

https://fs.keyestudio.com/KS3015

Description:

Raspberry Pi is a small computer in the size of a credit card and at low cost. It can serve as a personal server and router. You could get a camera monitor by plugging a camera to it. Equally, the voice interactive function could be achieved if a microphone or a speaker is connected with it.

What’s more, it extends 40pins out to link with sensors ans modules, which makes conducting all kinds of experiments possible.

And this purpose-built kit is for Raspberry Pi enthusiasts. With the help of it, you could acquire knowledge of Linux, Python and other programming related skills as well as the applications of sensors and modules.

Kit List:

Product Name

QTY

Picture

GPIO Extension Board

1

LED - Green

5

image-20230427120008303

LED - Red

10

0cc05386fde8f322c52e1431f1bff123

LED - Yellow

5

7c73c16eb685ce33673a1f78eec776bf

LED - RGB

1

13e57f8a3d24268911b4259dd1c4d50e

220Ω Resistor

10

df103cacd3f526fe80b0f89e4f19b04a

10KΩ Resistor

10

4c0ddff5b76dff489cf1d9c484ce4916

100Ω Resistor

10

96200e59add7e804b04d4af6b1864148

10KΩ Potentiometer

1

bbf20bffeac2379c141410e00fc22cfe

Active Buzzer

1

f05a177b0d2d9c0effccf535151bbfdb

Passive Buzzer

1

d1ea1bb2b2749820cab389d5b85b838b

Button Sensor

4

Ball Tilt Sensor

2

image-20230427120053607image-20230427120053930

Photoresistor

3

image-20230427120100867image-20230427120101180image-20230427120101193

Flame Sensor

1

0814397ad6e0bc8baecb08b519e93446

LM35DZ Temperature Sensor

1

e7ab9953efc2f4085bfc0e07fc7344b6

74HC595N Chip

1

4c653a3dd887b27f8cef84b7a16ad35c

L293D Chip

1

c2c155294f770976d009900cc996eefe

1 Digit 7-segment LED Display

1

44f6ed69f58b019b0ba472702daafa1f

4 Digit 7-segment LED Display

1

bd1f6bca550938a634da14b7574ce97c

8*8 LED Dot Matrix

1

1602 LCD Display

1

ab2009681c764ad0c6281cc0fc404338

IR Receiver Sensor

1

6f2e3e718359065cb560cd189f021cbe

IR Remote Control

1

5bb408f57f39accf4cbcc9479018fb05

Servo

1

e28493649f65fa5c30538a88efd27d43

ULN2003 Driver Board

1

efe23615da298d4eb8dd5e431f86015e

5V Stepper Motor

1

8ebb14a35091dc8d02d95cb6748dd1e9

PCF8591 A/D Converter Module

1

99a773f39b28fa8d8d09665e67d7c8fa

Joystick Module

1

dc66680eb5fb489fd577c9c66d03ec15

Relay Module

1

b0d26e6eea0e84c833f7f535fec9cf54

0.96 Inch OLED Display

1

image-20230427165602831

Sound Module

1

e315ef2757b4154299e38350c4e93462

PIR Motion Sensor

1

image-20230427165555970

MQ-2 Analog Gas Sensor

1

23c8cf53545ee20d4be213d977e4ee07

MPU6050 Module

1

6118fe78d22cb3be8c78ac4c4c2dfffc

HC-SR04 Ultrasonic Sensor

1

image-20230427165542681

DS3231 Clock Module

1

image-20230427165610942

DHT11 Temperature and Humidity Sensor

1

image-20230427165616945

Soil Humidity Sensor

1

image-20230427165622872

Water Level Sensor

1

RFID-RC522 Module

1

image-20230427165631349

RFID Card

1

image-20230427165637562

Access Key

1

image-20230427165642200

Water Pump

1

image-20230427165646743

4*4 Membrane Switch Keypad

1

fcd187eb009098d691927511606c991b

Motor*1

1

image-20230427165658529

Water Pipe

1

image-20230427165709275

830-Hole Breadboard

1

c5aadd2106124e3a345af17ce33176ca

Male to Female DuPont Line

20

image-20230427120224693

Jumper Wire

30

59e2b3c392cfc81704bb1fa62fadf227

40-Pin Line

1

image-20230427120235338

Screwdriver

1

Resistance Color Code Table

1

417726be3c87e14a4d4b394efa52895c

Install Raspberry Pi OS System:

Hardware Tool:

  • Raspberry Pi 4B/3B/2B

  • Above 8G TFT SD Card

  • Card Reader

  • Computer and other parts

Install Software Tool

Windows System:

Install putty:

Download Putty:https://www.chiark.greenend.org.uk/~sgtatham/putty/

After downloading the driver file,double-click it and tap“Next”

Click“Next”

Select“Install Putty files”and click“Install”.

After a few seconds, click“Finish”.

SSH Remote Login software -WinSCP

Download WinSCP: https://winscp.net/eng/download.php

After the download, clickand .

Click“Accept”

Follow the below steps to finish the installation.

SD Card Formatter

Format TFT card tool

Download SD Card Formatter :

http://www.canadiancontent.net/tech/download/SD_Card_Formatter.html

Unzip the SDCardFormatterv5_WinEN package, double-click to run it.

Click“Next”and choose, then tap“Next”

c. Click“Next”and“Install”.

After a few seconds, click“Finish”

Burn Win32DiskImager

Download Link:https://sourceforge.net/projects/win32diskimager/

After the download, double-click and tap“Run”

Select and tap“Next”.

Click“Browse…”and find out the folder where the Win32DiskImager is located, tap“Next”.

Tick, click“Next”and“Install”

After a few seconds, click“Finish”.

The installation is finished

Scan to search ip address software tool—WNetWatcher

Download Link:http://www.nirsoft.net/utils/wnetwatcher.zip

Raspberry Pi Imager

Download Address:

https://www.raspberrypi.org/downloads/raspberry-pi-os/

(recommend downloading the version with desktop and commonly used software)

Install Raspberry Pi OS on Raspberry Pi 4B

Insert TFT RAM card to card reader, then interface card reader to USB port of computer.

Format TFT RAM card with SD Card Formatter software, as shown below:

Burn System

Burn the Raspberry Pi OS system to TFT card using Win32DiskImager software

Don’t eject card reader after burning mirror system, build a file named SSH, then delete .txt.

The SSH login function can be activated by copying SSH file to boot category, as shown below.

Eject Card Reader

Log in system(raspberry and PC should be in the same local area network)

Insert TFT card into Raspberry, connect internet cable and plug in power.

If you have screen and HDMI cable of Raspberry Pi, you could view Raspberry Pi OS system activating.

If not, you can enter the desktop of Raspberry Pi via SSH remote login software—WinSCP and xrdp login.

Remote Login

Enter default user name, password and host name on WinSCP to log in.

The same network only receives one Raspberry Pi

Check ip and mac address

Click to open terminal input the password:raspberry, and press“Enter”on keyboard.

Logging in successfully, open the terminal, input ip a and tap“Enter”to check ip and mac address.

Form the above figure, mac address of this Raspberry Pi is a6:32:17:61:9c, and ip address is 192.168.1.128(use ip address to finish xrdp login)

Since mac address never changes, you could confirm ip via it.

Fix ip address of Raspberry Pi

Ip address is changeable, therefore, we need to make ip address fixed for convenient use.

Follow the below steps:

Switch to root user

If without root user’s password

①Set root passward

Input passwordin the terminal:sudo passwd root to set password

②Switch to root user

su root

③ Fix the configuration file of ip address

Firstly change ip address of the following configuration file

(##New ip address:address 192.168.1.99)

Copy the above new address to terminal and press“Enter”

Configuration File:

echo -e ‘

auto eth0

iface eth0 inet static

##Change IP address

address 192.168.1.99

netmask 255.255.255.0

gateway 192.168.1.1

network 192.168.1.0

broadcast 192.168.1.255

dns-domain 119.29.29.29

dns-nameservers 119.29.29.29

metric 0

mtu 1492

‘>/etc/network/interfaces.d/eth0

As shown below:

④Reboot the system and activate the configuration file

Input the restart command in the terminal: sudo reboot

You could log in via fixed ip afterwards.

⑤Check IP and insure ip address fixed well

Log in Desktop on Raspberry Pi Wirelessly

In fact, we can log in desktop on Raspberry Pi Wirelessly even without screen and HDMI cable.

VNC and Xrdp are commonly used to log in desktop of Raspberry Pi wirelessly. Let’s take example of Xrdp.

Install Xrdp Service in the terminal

Install Command:

Switch to Root User: su root

Install :apt-get install xrdp

Enter y and press “Enter”

As shown below:

Open the remote desktop connection on Windows

Press WIN+R on keyboard and enter mstsc.exe

As shown below:

Input ip address of Raspberry Pi, as shown below.

Click“Connect”and tap“Connect”.

192.168.1.99 is ip address we use, you could change into yours ip address.

Click“Yes”.

Input user name: pi, default password: raspberry, as shown below:

Click“OK”or“Enter”, you will view the desktop of Raspberry Pi OS, as shown below:

Now, we finish the basic configuration of Raspberry Pi OS.

Raspberry Pi 4B:

Raspberry Pi 4B

Raspberry Pi 4B Model

image-20230427121016003

image-20230427121019353

Hardware Interfaces:

40-Pin GPIO Header Description

GPIO pins are divided into BCM GPIO number, physics number and WiringPi GPIO number.

We usually use WiringPi GPIO number when using C language and BCM GPIO and physics number are used to Python, as shown below:

ca74a57f9eb9086f102688bf043e49fd

Note: pin(3.3 V) on the left hand is square, but other pins are round. Turn Raspberry Pi over, there is a square GPIO on the back.(you could tell from pin(3.3V).

Note: the largest current of each pin on Raspberry Pi 4B is 16mA and the aggregate current of all pins is not less than 51mA.

GPIO Extension Board:

This extension board is led out by 40-pin headers of Raspberry Pi for convenient connection.

Note: the silk mark is also printed according to BCM GPIO number.

Connection Diagram

Resources:

  1. https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up/6

  2. https://wiki.keyestudio.com/KS3001(3002,_3003,…..3012)Raspberry_Pi_Complete_Device_Kit

  3. https://www.raspberrypi.org/documentation/installation/installing-images/README.md

  4. https://www.raspberrypi.org/software/

  5. https://fs.keyestudio.com/KS3015