0% found this document useful (0 votes)
12 views4 pages

Digital Control

The document describes a digital control systems project that uses a Raspberry Pi along with ultrasonic sensor, IR sensor, buzzer, RGB LED, and pushbutton switches. It lists the members of the project team and components used. It then explains the functions of the Tkinter and RPi.GPIO Python libraries for creating a GUI and controlling the Raspberry Pi's GPIO pins, such as setting pin modes, reading/writing pin values, and creating PWM signals.

Uploaded by

abdofrend10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

Digital Control

The document describes a digital control systems project that uses a Raspberry Pi along with ultrasonic sensor, IR sensor, buzzer, RGB LED, and pushbutton switches. It lists the members of the project team and components used. It then explains the functions of the Tkinter and RPi.GPIO Python libraries for creating a GUI and controlling the Raspberry Pi's GPIO pins, such as setting pin modes, reading/writing pin values, and creating PWM signals.

Uploaded by

abdofrend10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

‫‪Digital Control Systems‬‬

‫‪Members:‬‬

‫ايمن محمد نبيل محمد ‪ -‬سكشن ‪ 2‬‬


‫حسام بهاء ابراهيم محمود ‪ -‬سكشن ‪ 3‬‬
‫جمال محمد عبدالعزيز موسى ‪ -‬سكشن ‪ 3‬‬
‫عبدالرحمن محمد محمد احمد الالوندى ‪ -‬سكشن ‪ 4‬‬
‫عبدالرحمن مدحت ابوالعنين حسونه ‪ -‬سكشن ‪ 4‬‬
‫مصطفى عبدهللا مصطفى حسن ابوسالمه – سكشن ‪ 7‬‬
Components:

 Raspberry Pi
 Ultrasonic sensor
 IR sensor
 Buzzer
 RGB LED
 Pushbutton Switches

Functions:

 Tkinter: It is a Python library that can be used to


construct a GUI.
 RPi.GPIO: It is a library that provides a Python module
to control the GPIO on Raspberry Pi.
 GPIO.setmode(): It is used to set pin numbering format.
 GPIO.setup(): It is used to set a pin as an input or
output.
 GPIO.output(): It is used to set the output state of the
pin.
 GPIO.input(): It is used to read the value of the pin.
 GPIO.PWM(): It is used to create a PWM instance.
 GPIO.ChangeDutyCycle(): It is used to change the duty
cycle.
 tkinter.TK(): It is used to create an instance of tkinter
window.
 window.title(): It is used to create a title for the
window.
 window.geometry(): It is used to change the size of the
window.
 window.update(): It is used to refresh the window.
 window.destroy(): It is used to close the window.
 .label(): It is used to display a text on the window.
 .set(): It is used to set and change the value stored in a
variable.
 .Button(): It is used to add a button on the window.
 .pack(): It is used to organize the widgets on the
window.

You might also like