对于嵌入式和/或机器人项目有哪些想法?
我想开始用 Arduino 板进行编程和构建一些东西,但我想不出关于构建什么的任何好主意。您有什么建议吗?
I'd like to start messing around programming and building something with an Arduino board, but I can't think of any great ideas on what to build. Do you have any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(10)
我向那些以前从未编程过或做过任何电子产品的孩子们展示如何在大约一天的时间内制作一个简单的“Phototrope”,一个光敏机器人。它的价格不到 30 英镑(GBP),包括 Arduino、电子产品和现成的机械装置。如果人们真的喜欢移动机器人,最初的项目就会不断发展(我觉得这是乐趣的一部分)。
有些国际机器人比赛需要相对简单的机制才能开始,例如在英国http:// /www.tic.ac.uk/micromouse/toh.asp
终极性能需要专门制造的机器(为了轻便),但人们可以通过 Arduino Nano、正确的电子设备和几个良好的电机获得值得信赖的结果。
巡线机器人是经典的移动机器人项目。轨道可以像电工胶带一样简单。 Pololu 有一些关于他们的近 Arduino 3PI 机器人的有趣视频。传感器的价格约为 1 英镑,而且很多地方都有一堆简单的电机+变速箱套件,价格不到 10 英镑。为电机控制添加几英镑,您就拥有了需要编程的自主机器人机械师!添加一个红外遥控接收器(约 1 英镑),您就可以使用电视遥控器来驾驶它。添加一个小型太阳能电池,使用Arduino模拟输入测量电压,它就可以找到太阳。只要有更多的电子设备,它就可以“养活”自己。所以它变得更加复杂。每个步骤可能不超过几个小时到几天的时间,您会发现新的问题需要解决和学习。
恕我直言,最有趣(低成本)的比赛是迷宫解决机器人。国际比赛规则要求机器人探索有围墙的迷宫(通常使用红外传感器),并计算其最佳路线。挑战包括以接近毫米的精度跟踪当前位置、处理现实世界中不可预测的嘈杂环境以及通过最短距离转弯优化直线速度。
所有这些都在 16K 程序和 1K RAM 中,具有实时中断处理(对于某些电机系统高达 100K 中断/秒)、传感器采样、电机速度控制和迷宫求解,这是一个有趣的编程挑战。 (你可能会用 32K 程序和 2K RAM 让它变得“简单”:-)
我正在研究一个“受限”机器人挑战(基于 Arduino),因此机器人性能主要取决于编程而不是拥有大量预算。
I show kids, who have never programmed, or done any electronics before, to make a simple 'Phototrope', a light sensitive robot, in about a day. It costs under £30 (GBP) including Arduino, electronics and off-the-shelf mechanics. If folks really get into mobile robots, the initial project can grow and grow (which I feel is part of the fun).
There are international robot competitions which require relatively simple mechanics to get started, e.g. in the UK http://www.tic.ac.uk/micromouse/toh.asp
Ultimate performance require specially built machines (for lightness) , but folks would get creditable results with an Arduino Nano, the right electronics, and a couple of good motors.
A line following robot is the classic mobile robot project. The track can be as simple as electrical tape. Pololu have some fun videos about their near-Arduino 3PI robot. The sensors are about £1, and there are a bunch of simple motor+gearbox kits from lots of places for under £10. Add a few £ for motor control, and you have autonomous robot mechanics, in need of programming! Add an Infrared Remote receiver (about £1), and you can drive it around using your TV remote. Add a small solar cell, use an Arduino analogue input to measure voltage, and it can find the sun. With a bit more electronics, it can 'feed' itself. And so it gets more sophisticated. Each step might be no more than a few hours to a few days effort, and you'll find new problems to solve and learn from.
IMHO, the most interesting (low-cost) competitions are maze solving robots. The international competition rule require the robot to explore a walled maze, usually using Infrared sensors, and calculate their optimal route. The challenges include keeping track of current position to near-millimeter accuracy, dealing with real world's unpredictably noisy environment and optimising straight-line speed with shortest distance cornering.
All that in 16K of program, and 1K RAM, with real-time interrupt handling (as much as 100K interrupts/second for some motor systems), sensor sampling, motor speed control, and maze solving is an interesting programming challenge. (You might make it 'easy' with 32K of program, and 2K RAM :-)
I'm working on a 'constrained' robot challenge (based on Arduino) so that robot performance is mainly about programming rather than having a big budget.
从小处开始,逐步构建更复杂的东西。控制伺服系统。闪烁 LED。去抖输入。读取模拟传感器。在 LCD 上显示文本。然后把它放在一起。
尽管有这个名字,我还是喜欢 PIC 微控制器的“Evil Genius”书,因为一些小型的、易于消化的项目往往是相互构建的。当然,它是针对 PIC 程序员而不是 Arduino,但无论您正在开发什么内容,所涵盖的材料都将很有用。
我知道 Arduino 现在很流行,但我也喜欢 Teensy++ 开发板,因为它价格低廉-point(24 美元)、面包板兼容 PCB、相对较高的引脚数、Linux 开发环境、USB 连接,并且不需要编程器。对于较小的项目值得考虑。
如果你想出一些很酷的东西,请告诉我。我需要一个借口去做一些有趣的事情:)
Start small and build up to something more complex. Control servos. Blink LEDs. Debounce inputs. Read analog sensors. Display text on an LCD. Then put it together.
Despite the name, I like the "Evil Genius" book for PIC microcontrollers because of the small, easily digestible projects that tend to build on one another. It is, of course, aimed at PIC programmers rather than the Arduino, but the material covered will be useful no matter what you're developing on.
I know Arduino is trendy right now, but I also like the Teensy++ development board because of its low price-point ($24), breadboard-compatible PCB, relatively high pin count, Linux development environment, USB connectivity, and not needing a programmer. Worth considering for smaller projects.
If you come up with something cool, let me know. I need an excuse to do something fun :)
与自行车相关的想法:
其他想法:
Bicycle-related ideas:
Other ideas:
这个反向geocache拼图盒是一个很棒的Arduino项目。您可以将其带到下一步,例如,拥有一个反向藏宝盒,仅在特定位置给出线索,然后使用在该位置找到的物理线索以及盒子中的下一个线索,确定去哪里下一步。
This reverse-geocache puzzle box was an awesome Arduino project. You could take this to the next step, e.g. have a reverse-geocache box that gives out a clue only at a specific location, and then using physical clues found at that location coupled with the next clue from the box, determine where to go for the next step.
你可以参加一场消防机器人比赛。我们在大学为我的学士期末项目建造了一个机器人,但没有时间参加比赛。另外,无论如何,机器人还需要一些润色...:)
视频此处。
请注意,这是使用 Motorola HC12 和 C 编译器完成的,并且微控制器板之外的大多数组件都是从头开始制作的,因此花费的时间比应有的时间要长。使用预制组件应该更容易。
You could do one of the firefighting robot competitions. We built a robot in university for my bachelor's final project, but didn't have time to enter the competition. Plus the robot needed some polish anyway... :)
Video here.
Mind you, this was done with a Motorola HC12 and a C compiler, and most components outside the microcontroller board were made from scratch, so it took longer than it should. Should be much easier with prefab components.
寻路/障碍物导航通常是一个很好的开始项目。如果您想要一些实用的东西,请看看 iRobot 如何吸尘并提出更好的方案。
Path finding/obstacle navigation is typically a good project to start with. If you want something practical, take a look at how iRobot vacuums the floor and come up with a better scheme.
取决于您的背景以及您想要实用还是酷。在实用方面,遥控器可能是一个简单的起点。它有按钮和指示灯,但要求不太高。
对于一个很酷的项目,可以是西蒙式的记忆游戏或任何带有灯光和灯光的游戏。噪音(特雷门琴风格的思考)。
Depends on your background and if you want practical or cool. On the practical side, a remote control could be a simple starting point. It's got buttons and lights but isn't too demanding.
For a cool project maybe a Simon-style memory game or anything with lights & noises (thinking theremin-style).
我没有建议,也没有类似巡线机器人之类的东西。我可以帮助您提供一些灵感链接
Arduino教程
网络上 40 个最热门的 Arduino 项目
20 个令人难以置信的 Arduino 项目
I don't have suggestions or perhaps something like a line follower robot. I could help you with some links for inspiration
Arduino tutorials
Top 40 Arduino Projects of the Web
20 Unbelievable Arduino Projects
我目前正在制定计划,使我已有 30 年历史的模型火车布局实现自动化。
I'm currently developing plans to automate my 30 year old model train layout.
POV 设备的构建可能会很有趣(只需谷歌搜索 POV Arduino 即可)。 POV 表示视觉暂留。
A POV device could be fun to build (just google for POV Arduino). POV means persistence of vision.