Page 6 - TCS ICT Book 8
P. 6
Programming Robots & Single Board Computers ......................................................... 98
5.1. Single-Board Computers .............................................................................................................................................................................................99
5.2. Introduction to Raspberry Pi ....................................................................................................................................................................................99
5.3. Raspberry Pi Architecture ..........................................................................................................................................................................................102
able of Contents
5.4. Python Basics .......................................................................................................................................................................................................................104
5.5. Variables in Python ..........................................................................................................................................................................................................105
5.6. LIST in Python .......................................................................................................................................................................................................................106
5.7. Conditional Statements in Python ......................................................................................................................................................................108
5.8. Conditional and Logical Operators....................................................................................................................................................................109
5.9. Looping Statement in Python ..................................................................................................................................................................................110
5.10. Python Functions ................................................................................................................................................................................................................111
5.11. Getting Started with Python and Raspberry Pi ........................................................................................................................................111
5.12. Interfacing with SONAR Sensor .............................................................................................................................................................................112
T 5.13. Interfacing with Servo Motor ...................................................................................................................................................................................114
5.14. Building Smart Robotic Car .......................................................................................................................................................................................116
Appendix ...........................................................................................................................................128
Glossary ..............................................................................................................................................132

