磁悬浮玩具! MEGA168.
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.
网站上传功能又有问题了,半天传不上一个图.大家到顶上那个网站去看.
http://cache.amobbs.com/bbs_upload782111/files_7/armok01158597.gif 顶啊.这东东好好玩啊. 用关键字:Arduino找到了:
http://www.arduino.cc/en/Main/News
不知道是不是.照上面文章里说的是那个007的项目.我不能下,有兴趣的看看 这是来源的网站, 网页中 Electromagnetic Floater Program.zip 内有源程序及 HEX。
Electromagnetic Floater: http://www.instructables.com/id/E04KZEEF2FRVEHF 没看明白,怎么让悬浮的物体稳定下来? 原文资料不完整,尤其是硬件线路,很难搞成功。 好东东呀!顶一下! 好玩! 什么原理呢? 反馈控制系统,控制论的东西
http://cache.amobbs.com/bbs_upload782111/files_7/armok01158667.jpg 好神奇啊 漂亮啊 这个东西我做过,不用什么单片机和什么程序了,一个LM358就搞定了。但是我做的电磁铁里面没有永磁铁,永磁铁是放在悬浮物上的。还有那个3个透明元件搞在一起叫做感应器的东西不知道是什么东西,我当时用的是霍尔元件。那个霍尔元件我这里还有很多,哪位要用的话可以从我这里买几个。哈哈顺便做个广告了,当时买的很多后来没有用到。其实这个东西没有那么神奇的,一个PI调节器而已。 应该向楼上说的,这个东西用模拟电路就可以实现,用单片机反到麻烦了 找到源文件了,传了上来,喜欢的可以看看:
点击此处下载armok01158718.zip
原来的网站地址:
http://www.instructables.com/file/FL338P8F2FRVEKZ/
演示:
http://www.instructables.com/tag/keyword:Floater/ 谢谢。 http://www.instructables.com/id/E04KZEEF2FRVEHF/?comments=all
电路图,是DWG格式的,我没有CAD打不开.
点击此处下载armok01158737.rar 转成pdf
点击此处打开armok01158777.pdf 哦,我也下来看看 看不懂啊,工作过程给解释一下啊,还有程序用什么软件编译的,怎么没找到MAIN()函数? 好玩! http://www.714e.com/bbs/dispbbs.asp?boardID=8&ID=830&page=1
类似的帖。 持续关注中, 谢谢。 原来很早就有人关注这个啦 有意思,期待大家的结果 pid很多地方用啊 mark mark 很想研究 不错哦!! 很想弄个来研究 现在好像大家都没热情了 楼上,阳_具挺也是有时间限制的。哈 mark ji mark cool 我也打算做这个 硬件线路给的比较混乱 至少我是看不懂 觉得用手头现成的Arduino的板子应该是可以实现的 MARK! 这个东西没什么实用价值 新鲜! 看看,谢谢 上拉悬浮的有看过几种电路,反馈方式可以用电磁感应、光感等 留着看 cool arduino啊,2007年就有了,厉害 怎么能实现稳定呢? 怎么能稳定呢? mark 好玩,要是搞个超级大的那就拉风了 这东西怎么做到的啊.... 再来学习学习 学习了。 感谢楼主分享了 来学习学习 谢谢分享!!!!! 这个真的高大上啊,学习了,感谢楼主分享 这个好酷啊,要是有套件就好了~
页:
[1]