• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
Previous Next

First section SunWuKong were born

Posted by: , January 19, 2015

[vc_row][vc_column][vc_column_text]Let me tell you a story:

11

Legend in a long time ago, the world is divided into east wins god Zhou , west cow He Zhou ,, south Shan continent, north  LuZhou. In east wins god Zhou countries, there is a huaguo mountain, the mountain there was a stone, a fairy stone burst, from the stone rolled out an egg, the egg one see the wind turned into a stone monkey, the monkey eye injection were gold, on four pilgrimage.[/vc_column_text][vc_tour][vc_tab title=”1. Project introduce” tab_id=”1421673407-1-98″][vc_column_text]Reduction the scene of the birth of the SunWuKong, when press the button the Monkey King would jump from the boundless mountains[/vc_column_text][/vc_tab][vc_tab title=”2. Hardware prepare ” tab_id=”1421673407-2-88″][vc_column_text]1.Pcduino V3

2.Pcduino extra board

3.Linker button[/vc_column_text][/vc_tab][vc_tab title=”3. Project real figure.” tab_id=”1421674087470-2-9″][vc_column_text]2[/vc_column_text][/vc_tab][vc_tab title=”4.Project content ” tab_id=”1421674088861-3-0″][vc_column_text]First we learn the Scratch for Pcduino interface before we write the program.

3

Figure 1-1 Scratch for Pcduino working interface

  • Click stagethen find background,then open the paint Editor from belowedit to draw the vast mountain backdrop.
  • the list of scriptFigure 1-2 Draw the stage background

Figure 1-2 Draw the stage background

  • Click cutthe , deletecat ,click iscriptmport the “png”as the new role, adjust the role size withrole size .
  • Write the following script at the instruction script area for the characters.
  • FIgure 1-3 The script for SunWukong born

FIgure 1-3 The script for SunWukong born

Notice:

voltagefor the button sensor connect to the A4 port, so use this command to show the button station.

go to this command is to make sure the hide position of WuKong.

glidethis control the fly speed and position of WuKong.[/vc_column_text][/vc_tab][vc_tab title=”Button switch” tab_id=”1421675390817-4-6″][vc_column_text]Button switch is to use button push the transmission mechanism, make the moving contact and the static contact flux or disconnect according to the switch. Switch is a simple construction , widely used in the Lord make appliances. In the automatic electronic control circuit, it is used to manually send control signal to control the contactor, relays, electromagnetic starter, etc.

Figure1-4

Figure 1-4 kinds of the switch

[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Share!
Tweet

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors