Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

attachmentWeek 3Lab 3Name:Raspberry Pi/GERTBOARDObjectiveIntroduce the student to the GERTBOARD input/output interface for the Raspberry Pi.The purpose of the lab is to allow students to get

Need help with this have to turn this on by 11:59 central time.

 ATTACHMENT PREVIEW Download attachmentWeek 3Lab 3Name:Raspberry Pi/GERTBOARDObjectiveIntroduce the student to the GERTBOARD input/output interface for the Raspberry Pi.The purpose of the lab is to allow students to get experience on how a computer caninteract with simple peripheral devices, such as switches and light-emitting diodes(LEDs).The student will gain experiencemaking software changes, to make hardwareperform in a desired fashion.Parts NeededRaspberry Pi version B+GERTBOARDIntroductionComputers are designed to process data from external input devices such askeyboards, mice, switches, lights, scanners, and sensors. Computers control variousoutput devices such as monitors, printers, LCD displays, motors, and solenoids.Procedure Part 11. Connect the GERTBOARD to the Raspberry Pi.2. Connect the computer monitor, mouse, and keyboard to the Raspberry Pi.3. On the GERTBOARD make the following connections.Place small black jumpers on 74244 driver outputs B1–B8.Connect two long jumpers from GP25 to B1 and GP22 to B2.4. Plug in power to the Raspberry Pi.5. After the Pi boots up, key in username pi, and password raspberry.6. At the command prompt, key in startx.7. Double click LXTerminal.8. Open Python v. 2.7.9. The Python Shell will appear.10. On the top menu, click FILE, NEW WINDOW.Week 3 – Lab 3Page 1

Background image of page 1

View the Answer11. Key in the program below. The Raspberry Pi will read the condition of switch S1on the GERTBOARD. If the switch is pressed, a Logic 0 is sent to GPIO pin 25. Ifthe switch is untouched, a Logic 1 goes to pin 25. A message is sent to thecomputer monitor indicating the state of the switch. The program will pauseasking if the operator wants to continue checking the status of the switch. Typey for YES or n for NO (program will terminate).Week 3 – Lab 3Page 2

Background image of page 2

Show 

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"