mugen洛克老婆:DIY磁悬浮玩具的做法3 -----LetusDIY.来此地DIY网

来源:百度文库 编辑:偶看新闻 时间:2024/04/29 15:57:47

DIY磁悬浮玩具的做法(图解)



  四、底座各电子元件的安装组成

  这部主要是进行底座上各控制元件的安装,包括微控制器、电源供给、LED指示灯等部分的安装。具备电子学专业知识的朋友可以通过下面原文了解详细信息:

 For this step you probably should assemble the electronics on a solderless breadboard before soldering them together. The schematic to build the circuit is attached along with the hex file to load on the microcontroller. The Arduino - 0007 code file is in the introduction so you can tweak it or make changes as you need.

 It is very important to plan where all of the parts go, so all of the electronics will fit in the box the first time, If not it could be very frustrating and cause much grief.

 It is also important to note that the NPN power transistor(s) will heat up, to overcome this I mounted them to contact the aluminum base of my project box, This way it acts as a heat sink, preventing a spectacular fire. You will also need to come up with something similar to remove most of the heat from the box.

 Once the electronics are built, there is a section of code in the program to uncomment and and then load onto the chip to test the orientation of the coils. It pulses the coils off, pulling up, and pushing down, also indicated by the LED. If you hold a magnet under the electromagnets and it doesn't follow the pattern, reverse the wires.