• EOL

Raspberry Pi. Recipes - Simon Monk

Index: KSZ-02796

Translation: Konrad Matuk. Publisher: Helion. The book describespractical "recipes" for using Raspberry Pi.

Raspberry Pi. Recipes - Simon Monk
€13.57
€12.93 tax excl.
Unavailable
Discontinued product
PayPal payment
Manufacturer: Helion
Compatibility: Raspberry Pi

Attention!

The sale of the product has been completed. Check otherbooks in this category.

Product description: Raspberry Pi. Recipes - Simon Monk

Raspberry Pi was designed to learn programming, but its capabilities opened the way to conquer the electronic world. The popularRaspberry Piis growing rapidly, and thanks to numerous examples and libraries it is accessible to every electronics enthusiast.

From the book, the reader will learn the most important information about the design and capabilities of the minicomputer. The author of the manual gives more than 200 practical "recipes" for using Raspberry Pi. It shows how to work on a Linux operating system and introduces basic programming in Python. Additionally, the reader will learn how to control engines, how to collect data from sensors and how to connect Raspberry Pi to Arduino.

Thanks to the information contained in this book:

  • you will start working with Raspberry Pi,
  • you will connect Raspberry Pi to the network,
  • you will work in a Linux-based environment,
  • you will use the ready-made applications designed for Raspberry Pi,
  • you will control the operation of systems connected to the GPIO connector,
  • You will learn how to control different engines with the Raspberry Pi,
  • you will start working with switches, key blocks and other digital input devices,
  • you will take various measurements with sensors connected to Raspberry Pi,
  • connect various displays - including LED matrices - to the Raspberry Pi,
  • you will create dynamic projects that take advantage of Arduino and Raspberry Pi.

Sample projects used in the book are availablefor download. Fragment of the book toread on-line.

Table of contents

Introduction (11)

Connection and configuration (15)

  • 1.0. Introduction (15)
  • 1.1 Selection of the Raspberry Pi model (15)
  • 1.2 Closing the Raspberry Pi in its housing (17)
  • 1.3 Power supply selection (18)
  • 1.4 Choice of operating system distribution (19)
  • 1.5 NOOBS - SD card storage (20)
  • 1.6 Manual recording of the SD card (Macintosh computers) (22)
  • 1.7 Manual recording of the SD card (Windows) (23)
  • 1.8 Manual recording of SD card (Linux) (25)
  • 1.9 Connecting external devices to Raspberry Pi (26)
  • 1.10. Connecting a monitor equipped with DVI or VGA interface (27)
  • 1.11. Using a television or monitor connected via a composite video connection (28)
  • 1.12. Using the full capacity of the SD card (29)
  • 1.13. Changing the size of the image displayed on the monitor (30)
  • 1.14. Maximising productivity (32)
  • 1.15. Change of password (34)
  • 1.16. Starting the Raspberry Pi directly in GUI mode (35)
  • 1.17. Switching off Raspberry Pi (36)
  • 1.18. Installation of the camera module (37)

2 Networking (41)

  • 2.0. Introduction (41)
  • 2.1 Connection to the wired network (41)
  • 2.2 Establishing your own IP address (43)
  • 2.3 Connection to the wired network (44)
  • 2.4 Changing the name under which Raspberry Pi is visible in the network (45)
  • 2.5 Connecting to a wireless network (46)
  • 2.6 Use of console cable (48)
  • 2.7 Raspberry Pi remote control using SSH protocol (50)
  • 2.8 Raspberry Pi control via VNC (51)
  • 2.9 Sharing files on a Macintosh network (52)
  • 2.10. Sharing the Raspberry Pi screen on a Macintosh (54)
  • 2.11. Using Raspberry Pi as a NAS store (56)
  • 2.12. Network printing (59)

3. the operating system (61)

  • 3.0. Introduction (61)
  • 3.1 Moving files in the graphical interface (61)
  • 3.2 Starting Terminal sessions (63)
  • 3.3 Viewing files and folders using the Terminal (64)
  • 3.4 Copying of files and folders (66)
  • 3.5 Renaming the file or folder (67)
  • 3.6 File edition (68)
  • 3.7. Viewing file content (70)
  • 3.8 Creating files without an editor (71)
  • 3.9 Creating catalogues (71)
  • 3.10. Delete files and folders (72)
  • 3.11. Performance of tasks with administrator privileges (73)
  • 3.12. What do the file attributes mean? (74)
  • 3.13. Modification of file attributes (75)
  • 3.14. Change of file owner (76)
  • 3.15. Taking screenshots (77)
  • 3.16. Software installation using apt-get command (78)
  • 3.17. Removing installed software by means of apt-get command (79)
  • 3.18. Downloading files using the command line (79)
  • 3.19. Downloading the source code using the git command (80)
  • 3.20. Automatic start of a program or script when Raspberry Pi starts (81)
  • 3.21. Automatic start of a program or script at regular intervals (83)
  • 3.22. Search (84)
  • 3.23. Use of command line history (85)
  • 3.24. Monitoring of processor activity (86)
  • 3.25. Archive service (88)
  • 3.26. Display list of connected USB devices (89)
  • 3.27. Save the command line messages to file (89)
  • 3.28. Handling of archives (90)
  • 3.29. Use of streams (90)
  • 3.30. Hiding the output displayed in the Terminal window (91)
  • 3.31. Background launches of programmes (92)
  • 3.32. Creating command aliases (93)
  • 3.33. Date and time setting (93)
  • 3.34. Determining the free space on the memory card (94)

4. software (95)

  • 4.0. Introduction (95)
  • 4.1 Creating a multimedia entertainment centre (95)
  • 4.2 Installation of office software (98)
  • 4.3 Installation of other web browsers (99)
  • 4.4 Using the Pi Store (101)
  • 4.5 Start-up of webcam server (102)
  • 4.6. Activation of the classic game console emulator (104)
  • 4.7 Launching Minecraft (105)
  • 4.8 Launching Open Arena (106)
  • 4.9. Raspberry Pi as radio transmitter (107)
  • 4.10. Starting the GIMP graphics editor (109)
  • 4.11. Internet radio (110)

Python Basics (113)

  • 5.0. Introduction (113)
  • 5.1 Choice between Python 2 and 3 (113)
  • 5.2 Writing a Python application using IDLE (114)
  • 5.3 Use of the Python console (116)
  • 5.4 Launching Python programs via Terminal (117)
  • 5.5 Variables (117)
  • 5.6 Display of data generated by the program (118)
  • 5.7 Loading user input (119)
  • 5.8 Arithmetic operations (119)
  • 5.9 Chain-making (120)
  • 5.10. Merging (joining) of chains (121)
  • 5.11. Conversion of numbers into chains (122)
  • 5.12. Conversion of chains into numbers (122)
  • 5.13. Determination of chain length (123)
  • 5.14. Determination of chain position in the chain (124)
  • 5.15. Extraction of a chain fragment (124)
  • 5.16. Replacing a piece of chain with another chain (125)
  • 5.17. Replacement of chain characters by upper and lower case letters (126)
  • 5.18. Activation of commands under certain conditions (127)
  • 5.19. Comparison of values (128)
  • 5.20. Logical operators (129)
  • 5.21. Repeat instructions a specified number of times (130)
  • 5.22. Repeat instructions until a certain condition is met (131)
  • 5.23. Breaking the loop (131)
  • 5.24. Definition of functions (132)

6. Python - letters and dictionaries (135)

  • 6.0. Introduction (135)
  • 6.1 Creating lists (135)
  • 6.2 Accessing a listed item (136)
  • 6.3 Establishing the length of the list (136)
  • 6.4 Adding elements to the list (137)
  • 6.5 Deleting items from the list (138)
  • 6.6 List creation as a result of chain processing (138)
  • 6.7 List iteration (139)
  • 6.8 Numbering of list items (140)
  • 6.9 Sorting the list (141)
  • 6.10. Cutting a list fragment (141)
  • 6.11. Processing of list items by function (142)
  • 6.12. Dictionary creation (143)
  • 6.13. Accessing dictionary items (144)
  • 6.14. Removing items from the dictionary (145)
  • 6.15. Dictionary iteration (146)

7. Python - advanced features (147)

  • 7.0. Introduction (147)
  • 7.1 Creating a multimedia entertainment centre (147)
  • 7.2 Date formatting (148)
  • 7.3 Return of more than one value (149)
  • 7.4 Defining the class (149)
  • 7.5 Defining the method (151)
  • 7.6 Inheritance (152)
  • 7.7 Save data to file (153)
  • 7.8 Reading the file (154)
  • 7.9. Serialisation (154)
  • 7.10. Exception handling (155)
  • 7.11. Use of modules (157)
  • 7.12. Random numbers (158)
  • 7.13. Sending requests to the Web (159)
  • 7.14. Python arguments on the command line (159)
  • 7.15. Sending e-mails from the Python application (160)
  • 7.16. Simple Python Written Web Server (161)

8 Basic issues concerning the GPIO connector (163)

  • 8.0. Introduction (163)
  • 8.1. GPIO connector contacts (163)
  • 8.2. Safe use of GPIO connector (164)
  • 8.3 Installation of the RPi.GPIO library (165)
  • 8.4 I2C bus configuration (166)
  • 8.5 Use of I2C tools (167)
  • 8.6 Preparation for SPI (169)
  • 8.7 Release of the serial port (170)
  • 8.8 Installation of the PySerial library allowing use of the serial port by Python applications (171)
  • 8.9 Testing the serial port with Minicom (172)
  • 8.10. Connecting the Raspberry Pi to the prototype plate using connecting cables (173)
  • 8.11. Combining the Pi Cobbler module with a prototype plate (174)
  • 8.12. Voltage reduction of signals from 5 to 3.3 V by means of two resistors (175)
  • 8.13. Using a converter module to reduce the voltage of signals from 5 to 3.3 V (177)
  • 8.14. Power supply of Raspberry Pi with battery (178)
  • 8.15. Power supply to the Raspberry Pi using a lithium polymer (LiPo) battery (179)
  • 8.16. Starting with PiFace board (181)
  • 8.17. Starting with Gertboard (184)
  • 8.18. Starting with RaspiRobot plate (186)
  • 8.19. Use of Humble Pi prototype plate (188)
  • 8.20. Use of Pi Plate (190)
  • 8.21. Connecting a printed circuit board with spring terminals (194)

9 Control of electronic equipment (197)

  • 9.0 Introduction (197)
  • 9.1 Connecting the LED (197)
  • 9.2 LED brightness adjustment (200)
  • 9.3 Beep sound generation (202)
  • 9.4 Control of a high-power DC-powered device through a transistor (204)
  • 9.5 Switching on high-power devices with a relay (206)
  • 9.6 Control of high-voltage AC-powered equipment (208)
  • 9.7 Creating a graphical interface for switching on and off the electronics connected to Raspberry Pi (210)
  • 9.8 Creating a graphical user interface to control the power of the diodes and motors using pulse duration modulation (211)
  • 9.9 RGB LED colour change (213)
  • 9.10. Creation of a multimedia entertainment centre (215)
  • 9.11. Using an analogue voltmeter as a display (218)
  • 9.12. Creation of interruption programmes (220)
  • 9.13. Web-based GPIO connector control (223)

10 Engines (227)

  • 10.0. Introduction (227)
  • 10.1 Servomotor control (227)
  • 10.2 Control of multiple servomotors (230)
  • 10.3 Speed control of a DC powered motor (233)
  • 10.4 Changing the direction of rotation of a DC motor (235)
  • 10.5 Use of unipolar stepper motors (240)
  • 10.6 Use of bipolar stepper motors (244)
  • 10.7 Control of the bipolar stepper motor via the RaspiRobot plate (246)
  • 10.8 Construction of a simple driving robot (248)

11. digital inputs (253)

  • 11.0 Introduction (253)
  • 11.1 Connecting the temporary switch (253)
  • 11.2 Using the instantaneous switch (256)
  • 11.3 Using a two-position bi-stable switch or slide switch (258)
  • 11.4 Using the three-position switch (259)
  • 11.5 Reduction of knocks generated when pressing a button (261)
  • 11.6 Use of external booster resistor (263)
  • 11.7 Use of (square) shaft encoder (265)
  • 11.8 Using the key block (268)
  • 11.9 Motion detection (271)
  • 11.10. Raspberry Pi and GPS module (272)
  • 11.11. Keyboard input (275)
  • 11.12. Interception of mouse movements (277)
  • 11.13. Using the real-time clock module (278)

12 Sensors (283)

  • 12.0 Introduction (283)
  • 12.1 Use of resistance sensors (283)
  • 12.2 Light intensity measurement (287)
  • 12.3 Methane detection (288)
  • 12.4 Voltage measurement (291)
  • 12.5 Using a voltage divider (293)
  • 12.6 Connection of resistance sensor to an analog-to-digital converter (295)
  • 12.7 Temperature measurement with an analogue-to-digital converter (297)
  • 12.8 Acceleration measurement (299)
  • 12.9 Temperature measurement with digital sensor (302)
  • 12.10. Distance measurement (304)
  • 12.11. Display of measured values (307)
  • 12.12. Saving data to a log created on a USB stick (308)

13. displays (311)

  • 13.0. Introduction (311)
  • 13.1 Using the four-digit LED display (311)
  • 13.2 Message display by means of an I2C interface display consisting of an LED matrix (314)
  • 13.3 Using the Pi-Lite board (316)
  • 13.4 Displaying messages on the alphanumeric LCD display (318)

14 Raspberry Pi and Arduino (323)

  • 14.0 Introduction (323)
  • 14.1 Arduino programming via Raspberry Pi (324)
  • 14.2 Communication from Arduino via serial port monitor (326)
  • 14.3 Arduino control using the PyFirmata library installed on Raspberry Pi (328)
  • 14.4 Control of Arduino digital outputs with Raspberry Pi (330)
  • 14.5 Arduino control via the PyFirmata library via serial port (331)
  • 14.6 Reading data from Arduino digital inputs using the PyFirmata library (334)
  • 14.7. Reading data from Arduino analog inputs using the PyFirmata library (336)
  • 14.8 Analogue output support (PWM) using the PyFirmat library (337)
  • 14.9 Servomotor control using the PyFirmata library (339)
  • 14.10. Communication between Raspberry Pi and Arduino via serial interface without using the PyFirmata library (341)
  • 14.11. Creating a program communicating with Arduino via the I2C bus (345)
  • 14.12. Connection to Raspberry Pi of smaller Arduino tiles (349)
  • 14.13. Connecting aLaMode board to Raspberry Pi (350)
  • 14.14. Use of Arduino shields and aLaMode board connected to Raspberry Pi (353)
  • 14.15. Using Gertboard as Arduino interface (354)

A. Components and distributors (355)

Scorch (361)

Book - Author Simon Monk
Book - ISBN 978-83-246-9622-2
Book - Binding miękka
Book - Publisher Helion
Package width 0.001 cm
Package height 0.001 cm
Package depth 0.001 cm
Package weight 0.001 kg

Be the first to ask a question about this product!

Customers who bought this product also bought:

Products from the same category: