Ye oled arcade game controller that pleased your childhood.
Process 3mm Basswood A4 plate with whatever you have, make it cut nice and smoothly. Put everything together then we will start the following assembly.
Assemble the stand with 5 plates. Make sure that the oval plate is the last one to be assembled.
Attach the angle sensor to the square plate using 2 M4*14 screws and 2 nuts. Please notice that you are using long screws instead of shorter ones.
Attach the angle sensor to the handle using 2 M4*8 screws(shorter ones). Please make sure that the handle spins smoothly.
Attach the button to the handle and this time you will use 2 M4*14 screws. If you find difficulty trying to screw nuts with bare hand, tools like clamp or anything handy would be helpful.
This time you are going to attach CyberPi to the handle. Reminds that CyberPi lies at the opposite side to angle sensor. You will use the last M4*8 Screw.
Wiring time! CyberPi communicate with other sensors like angle sensor and button using mBuild cables. Connect CyberPi with angle sensor first, then go to the button using another cable. If you find difficulty plugging into ports, simply flip the plug and have another try.
Attach the handle with the stand, nothing special. Try it after assembly, if you find anything wobbly, you are suggested to strengthen it with adhesive.
Rubber bands make your handle steer back when you release, just like real vehicles. This step is not compulsory, but it brings better experience.
Here comes the time of coding. Go to https://ide.mblock.cc/ then you will see interface like this.
Hit the “extension” button, and browse the list. Make sure the three extensions have been added in this step.
Go to “File”, then open the attached mblock file. Don't be scared when a large pile of blocks pops up!
Check the “Device” panel and choose the connection mode depends on situation.
After the establishment of connection, hit “upload code” button.
Have fun!