The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 5 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Need help with this have to turn this on by 11:59 central time.
Raspberry Pi/GERTBOARD
Objective
Introduce 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 can interact with simple peripheral devices, such as switches and light-emitting diodes (LEDs).The student will gain experiencemaking software changes, to make hardware perform in a desired fashion.
Parts Needed
Introduction
Computers are designed to process data from external input devices such as keyboards, mice, switches, lights, scanners, and sensors. Computers control various output devices such as monitors, printers, LCD displays, motors, and solenoids.
Procedure Part 1
Place small black jumpers on 74244 driver outputs B1–B8.
Connect two long jumpers from GP25 to B1 and GP22 to B2.



Pin 25 is a logic 1.
Continue checking pin 25? y or n
On the GERTBOARD, LED D2 should be on, LED D1 will be on.
“Pin 25 is a logic 0”.
Continue checking pin 25? y or n
Instructor signoff ____________________________
“Pin 24 is a logic (0 or 1 state)”
Continue checking pin 24? y or n
Instructor signoff ____________________________
Part 2


(B1/GP25) to (B3/GP24)—switch S3 connects to GPIO pin 24, input.
(B2/GP17) to (B1/GP22)—LED D1 connects to GPIO pin 22, output.
Modify the Python program to reinitialize the GPIO port pins so when the program runs, D1 will flash ON/OFF when S3 is pressed. Change the delay time to 500msec [replace sleep (1) with sleep(.5)].
30. Go to LXTerminal and run the Python program to verify the software/hardware modification is functional. Hit CTRL-c to terminate the program.
Submission Instructions
Connect Ethernet cable to the Raspberry Pi. Go to Desktop, open Web browser. In the address area, type http://devryu.net. Put in eCollege username and password. Open course. Go to Dropbox, attach your Python Files, then Submit. On a PC, complete Lab 3 datasheets and save as FirstNameLastNameWeek#Lab.docx and submit to the Dropbox.
Type sudo shutdown –h now, hit the ENTER key. Disconnect power from Raspberry Pi.
----------- He-----------llo----------- Si-----------r/M-----------ada-----------m -----------Tha-----------nk -----------you----------- fo-----------r y-----------our----------- in-----------ter-----------est----------- an-----------d b-----------uyi-----------ng -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------. P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll -----------be -----------qui-----------ckl-----------y