

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A basic introduction to the raspberry pi, covering fundamental concepts and commands. It includes definitions of key terms like operating system, cpu, ram, and gpio pins. The document also outlines essential commands for navigating the raspberry pi environment, including file management, system shutdown, and basic programming concepts. It is suitable for beginners seeking a quick overview of raspberry pi functionalities.
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Computer - ANSWER device that accepts info and produces a result Operating System (Brain) - ANSWER variant of first Linux version known as Raspbian Our Model - ANSWER RP3 Model B CPU - ANSWER 1.2 GHz RAM - ANSWER 1 G Command: man - ANSWER manual Command: man ls - ANSWER help with commands Command: q - ANSWER exits Command: ls - ANSWER whats on rpi; blue is files, red is folders Reboot RPi - ANSWER $sudo shutdown - r now Shutdown RPi - ANSWER $sudo shutdown - h - P now compiled language - ANSWER C++ interpreted language - ANSWER python Max amount of GPIO pins - ANSWER 15 (250mA) Wiring mode - ANSWER Broadcom (BCM) For loop in Python - ANSWER "for i in range"; identifies things in a list and puts them together in a loop
Setup - ANSWER (pin#, GPIO.OUT) analog to digital converter - ANSWER MCP3008 (10 bits) Nyquists Sampling theorum - ANSWER should at least sample 2x the highest frequency component duty cycle - ANSWER Ton/Period Sampling Rate - ANSWER 960 KHz (636) Default clock division - ANSWER 256 Quantization or Sample Resolution - ANSWER The number of digital representations or bits that are used to represent the voltage at the point of time when the analog signal is sampled. one clock cycle - ANSWER one bit sent, one bit recieved Din - ANSWER MOSI (master out slave in) delete a file in terminal - ANSWER /code $ rm my.txt generate executable machine code (C++) - ANSWER Code --compiler-> Assembly --assembler-> Exec. Machine Code generate executable machine code(Python) - ANSWER code --interpreter-> Execute Vo - ANSWER VinDutyCycle print arctan angle in shell to 2 decimal places - ANSWER print("the angle is {:.2f} deg".format(angle(180/math.pi))) numpy - ANSWER numerical methods in python GPIO - ANSWER general purpose input output