5180|8

1万

帖子

16

TA的资源

版主

楼主
 

[MicroPython]比Arudino强大比Raspberry Pi简单 [复制链接]

  本帖最后由 ddllxxrr 于 2016-4-15 19:43 编辑

网上看到老外介绍MicroPython的文章

在网上看到是英文的,坑坑洼洼反译过来觉得不错的文章对Micropython有着很好的介绍,甚至看了一目了然:

原文:
    University of Cambridge theoretical physicist Damien George has built a tiny microcontroller that is more powerful than Arduino and far simpler than the Raspberry Pi. Just funded on Kickstarter, the £24 board runs an adapted version of Python known as Micro Python and will allow users to simply paste lines of text code onto the board to make it work.
     "The board has a USB port which allows you to easily connect it to a PC. You don't need any software to program it: it behaves like a USB flash drive, and you just copy a Python text file to it and it runs," George explains. Other features of the board, which runs on Windows, Mac and Linux, include a micro SD card slot, two buttons, 4 LEDs, 30 input/output pins for interfacing with sensors, a real-time clock, an accelerometer for sensing angles, and output lines to control servo motors used in robotics.
    The idea for a simple Python microcontroller came to George while he was building a walking robot. "I needed something very small, but powerful -- something with a lot of input and output lines that was able to precisely control motors for the robot's joints," he says.
Since Python is a widely-used programming language for both beginners and experts, he decided to shrink it down so that it could run on a low-powered chip with limited memory. "Unlike the Raspberry Pi, the Micro Python board allows you easy access to the bare-metal of the hardware, which means you can do time-critical operations without worrying about an operating system getting in your way," George says.



    The USB feature of the board allows it to be configured as a human interface device, so you can hook up any type of object or sensor and turn it into a mouse, keyboard or game-pad that controls your computer. A few lines of Python code could read the accelerometer and make the LEDs blink depending on the angle of the board. The board also directly powers and controls four motors. "You can use two of them to make a pan and tilt mechanism, for example, to aim a webcam. Or you could make a wheeled robot with two continuous rotation servos, and one tilt servo for its head," says George.
      The project has raised about £40,000 more than its original goal so far, with time left on Kickstarter. George will use the money to make the board Wi-Fi- and Ethernet-ready and plans to ship roughly 2,000 units, which will be produced in the UK, to backers in March 2014.


[color=rgba(31, 31, 31, 0.85098)]The next step is to release the software under the MIT open-source license, meaning anyone can modify and use the code. "I hope that Micro Python will be running on lots of different hardware, taking advantage of all the existing sensors and actuators to be used in a variety of new ways ," George says.

我的翻译,只是大概方便阅读,大家别拍我哈:
剑桥大学的理论物理学家达米安乔治已经建立了一个小的微控制器,是更强大的比Arduino和远比Raspberry Pi简单。只是在Kickstarter的资助,£24板运行适应版本的Python称微Python将允许用户只需粘贴文本的代码行上使它工作。

“板子有一个USB端口允许您轻松地连接到PC,你不需要任何软件程序:它的行为像一个USB闪存驱动器,你复制一个Python文本文件并运行,乔治说。该板的其他功能,可以运行在windows,苹果和linux,包括一个微型SD卡插槽,2个按钮,4个发光二极管,30个输入/输出引脚的接口与传感器,实时时钟,传感器的角度,和用在机器人输出线控制伺服电机。

乔治在他建立一个机器人有了一个简单的Python单片机的想法。我需要的东西非常小,但强大-与大量的输入和输出线,这是能够精确地控制电机的机器人关节的东西,他说。

因为Python是为初学者和专家的广泛使用的编程语言,他决定把它瘦身下来,它可以运行在一个低功率芯片有限内存。Raspberry Pi相比,微Python板可以让你更容易地访问硬件的裸机,这意味着你可以做时间关键操作无需担心操作系统挡了你的路,乔治说。

板的USB功能允许它被配置为人机接口设备,所以你可以把任何类型的对象或传感器和把它变成一个鼠标、键盘或游戏垫,控制了你的电脑。几行Python代码可以读取加速度使发光二极管闪烁取决于开发板的角度。该板还直接加电和控制四个电机。例如,你可以用它们来制造一个平移和倾斜的机构,以瞄准一个摄像头。或者你可以用两个连续旋转伺服使轮式机器人,和一个倾斜伺服的头乔治说。

该项目已筹集了约40000£。超过原先的目标,到目前为止,在Kickstarter上剩余时间。布什将用这笔钱使董事会的Wi-Fi和以太网准备和计划出货大约2000台,这将在英国生产的,在32014日的支持者。

下一步是在麻省理工开放源代码许可下发布软件,这意味着任何人都可以修改和使用代码。我希望微Python会在不同硬件平台运行,利用一切现有的传感器和执行器可用于各种新的方式,乔治说。



最新回复

micropython 如果批量做的话应该成本比arduino不会高  详情 回复 发表于 2016-7-1 09:23
点赞 关注
个人签名http://shop34182318.taobao.com/
https://shop436095304.taobao.com/?spm=a230r.7195193.1997079397.37.69fe60dfT705yr
 
 

回复
举报

1158

帖子

2

TA的资源

版主

沙发
 
确实很棒,也非常方便,使用起来很快捷,当时觉得没空玩没有参加论坛的活动,现在有点小后悔!
 
 
 

回复

1274

帖子

2

TA的资源

版主

板凳
 
直接用的百度翻译啊

点评

不是,改了几处,直接百度能这么好么  详情 回复 发表于 2016-4-15 19:18
 
 
 

回复

5265

帖子

236

TA的资源

管理员

4
 
关于MicroPython的中文介绍可以看看这篇帖子
https://bbs.eeworld.com.cn/thread-480498-1-1.html

或者去网上搜索一下Micropython,好多电子网站都对此开发板来源、功能等做过简单介绍
加EE小助手好友,
入技术交流群
EE服务号
精彩活动e手掌握
EE订阅号
热门资讯e网打尽
聚焦汽车电子软硬件开发
认真关注技术本身

点评

这篇我觉得说的简单明了,马上就可以明白,只是在开发板上直接写脚本,而别的没有这么直接了当,看了还是一头雾水  详情 回复 发表于 2016-4-15 19:17
 
 
 

回复

1万

帖子

16

TA的资源

版主

5
 
nmg 发表于 2016-4-15 11:21
关于MicroPython的中文介绍可以看看这篇帖子
https://bbs.eeworld.com.cn/thread-480498-1-1.html

或者 ...

这篇我觉得说的简单明了,马上就可以明白,只是在开发板上直接写脚本,而别的没有这么直接了当,看了还是一头雾水
个人签名http://shop34182318.taobao.com/
https://shop436095304.taobao.com/?spm=a230r.7195193.1997079397.37.69fe60dfT705yr
 
 
 

回复

1万

帖子

16

TA的资源

版主

6
 
通宵敲代码 发表于 2016-4-15 10:27
直接用的百度翻译啊

不是,改了几处,直接百度能这么好么

点评

感觉还没百度翻译的好  详情 回复 发表于 2016-4-18 07:52
个人签名http://shop34182318.taobao.com/
https://shop436095304.taobao.com/?spm=a230r.7195193.1997079397.37.69fe60dfT705yr
 
 
 

回复

1274

帖子

2

TA的资源

版主

7
 
ddllxxrr 发表于 2016-4-15 19:18
不是,改了几处,直接百度能这么好么

感觉还没百度翻译的好
 
 
 

回复

1950

帖子

4

TA的资源

版主

8
 
Micropython 的思想和架构的确值得学习。

Arduino便宜,好用,功能一般
R1,2,3 价格还行,一般好用,功能强

看来我的去买个了 Micropython了。

点评

micropython 如果批量做的话应该成本比arduino不会高  详情 回复 发表于 2016-7-1 09:23
个人签名MicroPython中文社区https://micropython.org.cn/forum/  
 
 
 

回复

2774

帖子

8

TA的资源

版主

9
 
5525 发表于 2016-6-30 21:08
Micropython 的思想和架构的确值得学习。

Arduino便宜,好用,功能一般
R1,2,3 价格还行,一般好用,功 ...

micropython 如果批量做的话应该成本比arduino不会高
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/9 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表