Reflection of class on Dec 6th
As we all know, our course in this semester is
named as ‘computer architecture’. We have assembled the basic Raspberry
computer at the first time we got the initial box with parts of components
inside and did programming on Python 3 to create various images and fabulous
interactive games, what’s more, we can also surf the Internet or listening
music as other normal computers.
And this chapter 6
of ‘Hello Raspberry Pi’ really showed us how to promote our little computer physically
by adding some useful widgets such as ribbon cable, breakout board, solderless
breadboard, jumper wires in different length, light-emitting diodes (LEDs) with
different colors and resistors which have 180 ohm color bands.
Actually, what we
did in class was expanding the GPIO of little computer to make diodes blinking
in particular ways. We connected the GPIO with breakout board by ribbon cable
to make sure electrical signals could be transmitted successfully between computer
and breakout board. There were numerous holes on solderless breadboard used for
holding diodes and resistors, and I had to pay attention to the position of positive
and negative pole so that there would be an entire circuit as long as I
inserted the diodes and resistors.
I don’t want to talk
more about the physical circuit because I did so bad in learning physical
circuit in high school, fortunately, I did well in programming the procedure on
Python 3 to control the blinking of diodes.
As usual, I typed
the codes from example to the interface of text editor and pressed F5 to run it
and saw how it worked. The diodes blinked as expected, that is, I could control
different colors of diodes to blink in different orders and adjust the initial
program to let them blink randomly by implementing random import. Everything was
perfect except an error message which always appeared after running said there
was something wrong in GPIO BCM set. But I don’t need to worry about it because
this error wouldn’t influence the function of procedure.
Good job! I am glad this worked better for you this time than before. 😀
ReplyDelete