搜索
bottom↓
回复: 274

磁悬浮开源设计活动的参考样品 , 录像+图片

[复制链接]

出0入0汤圆

发表于 2009-4-30 13:50:07 | 显示全部楼层
我07年发过这个东西的啊,用的MEGA168,有源程序的:
http://www.ourdev.cn/bbs/bbs_content.jsp?bbs_sn=764552&bbs_page_no=2&search_mode=3&search_text=fsclub&bbs_id=9999


原文如下:
http://geek.techweb.com.cn/thread-91163-1-1.html

这东西应该是网上找来的,但在GOOGLE里找不到原来的网站,也找不到源程序,有兴趣的找找.(最后补充的消息:源代码请到14楼下载)

 就像在商店里卖的漂浮地球仪一样,它可以让带有磁铁的物体浮在空中,只不过这个装置结合了永磁铁和电磁铁,利用一个微控制器和一个IR感应器,当内部装有磁铁的小物体放在电磁铁的下方,IR感应器就会感应到物体的存在,微控制器就会启动电磁铁并调整磁力大小,当小物体受到向上的磁力和向下的重力相同时,它就会漂浮在空中,漂浮的位置和高度取决于重量和磁力大小。
所需材料如下:
- ATMega168 Microcontroller
- 1 16-20 MHz Crystal
- 28 Pin Socket
- Dual Full H Bridge IC
- 1 Power NPN
- 2 Electromagnets
- 1 Bicolour LED
- 2 IR LED
- 1 IR Photodiode
- 1 5V Regulator
- 2 Leveling Capacitors
- 1 SPST Switch
- 1 NO Button
- 1, 470 Ohm Resistor
- 1, 5 Ohm Resistor
- 1 Universal Breadboard
- 2 Cases
- Plexiglas
- Solder
- Hot Glue
- Steel Wire
- Vinyl Tubing
- 3 or more 1/4" diameter x 1/4" thick rare earth magnets (for the base)
- 2 or more 1/2" diameter x 1/8" thick rare earth magnets (for the objects)

这部主要是进行底座上各控制元件的安装,包括微控制器、电源供给、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.
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-7 08:56

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表