Thursday, December 15, 2016

Reflection of class on Dec 15th
  As the beginning of this chapter 8 says, “like a mad scientist bringing something to life, in this chapter you’re going to embark on a project to wire up a new sense of touch for your Pi.”
  It means that the Pi can be more interactive to do some automatic work according to the button presses by users, like a proximity sensor to detect when someone is walking nearby. Artificial intelligence is getting hotter and hotter, now many robots for education such as Dash and Dot, LEGO Mindstorms EV3 can react to the motion of players and do easy communication with them. So letting the Pi have similar sense like human is a better way to make programming more creative.
  The ambition of this chapter is making Pi a musical computer that plays different sounds when we press buttons, so the first thing I need do was adding two buttons and new resistors to the solderless breadboard to create a new circuit. It’s not difficult to do that by following the example steps as long as all the connectors are all placed tightly in right position. And the circuit could only be connected to a whole which allows the flowed electricity when button is pressed by users, that is, two buttons represent two different circuits which can lead to different reflection of procedure. So here the circuit was the input of signal, not the output.
  I don’t want to talk more about the procedure because it’s just a simple sequence structure with condition selection which could choose sounds or vocals randomly from different lists according to the received electrical signal.

  It was a pity that I couldn’t see how the entire procedure worked with music output because I don’t have corresponding headphone to do that. But I know the procedure could work well because I was so prudent when I programmed this procedure.

No comments:

Post a Comment