在另一个Geek Moment的这一集中,Joey向我们展示了如何使用Digilent,Inc。的两个Pmod板进行设置和开始开发。第一步是在您的系统上安装软件。
这可以通过访问芯片KIT维基来完成。
从那里开始,wiki将逐步介绍如何获取Arduino IDE,确保您拥有正确的软件版本并将库上传到其主板上。
安装库后,请确保选择了正确的板。
我们将使用的第一个Pmod板是Pmod NAV,它是一个9轴IMU(惯性测量单元)和气压计。
Pmod NAV将连接到Cerebot MX7CK板。
要查看Pmod NAV的基本数据,只需将Pmod NAV板插入Cerebot上的JD端口,上传威廉希尔官方网站
板并打开控制台即可。
将显示从板上拉出的所有信息。
Joey创建了一个文本文件,它可以分解显示的内容,直到收集该数据的代码中的行号以及用于帮助您操作代码以适合您自己的目的的函数。
eewiki。
第二款Pmod主板Joey正在设置的是Pmod操纵杆。
这是一个带有两个按钮的两轴操纵杆(操纵杆中心按钮和一个按钮)。
对于此示例,Joey使用UC32开发板运行示例代码,该代码根据操纵杆的位置更改RGB LED的颜色。
该代码允许通过按下两个按钮中的任何一个来调整强度。
对于较小(尺寸)的应用,也可以使用Arduino Pro Mini 3.3V版本。
免责声明:确保使用3.3V而不是5V,因为操纵杆的额定电压仅为3.3V。
有问题吗?
问一下!
评论如下或访问TechForum。
了解有关Digi-Key Electronics新产品发现的更多信息:
Cerebot MX7CK板
UC32开发板
Arduino Pro Mini 3.3V
Pmod NAV 9轴IMU +晴雨表
Pmod双轴操纵杆
在Facebook上与Digi-Key联系并在Twitter上关注我们
以上来自于谷歌翻译
以下为原文
On this episode of Another Geek Moment, Joey shows us how to set-up and start developing with two Pmod boards from Digilent, Inc. The first step is to get the software set up on your system. This can be done by visiting the chip KIT wiki. From there the wiki walks you through step by step on how to get the Arduino IDE, make sure you have the correct software version and uploading the libraries to their boards.
Once the libraries are installed, make sure you have the right board selected. The first Pmod board we will be using is the Pmod NAV which is a 9-axis IMU (Inertial Measurement Unit) and barometer. The Pmod NAV will be connected to the Cerebot MX7CK board. To see the basic data from the Pmod NAV, just simply plug the Pmod NAV board in to the JD port on the Cerebot, upload the board and open up the console. All the information being pulled from the board will be displayed. Joey created a text file that breaks down everything that is displayed as far as the line number in the code where that piece of data is collected as well as the function that is used helping you to manipulate the code to fit your own purpose located on the eewiki.
The second Pmod board Joey is setting up is the Pmod Joystick. This is a two-axis joystick with two buttons (joystick center button and a pushbutton). For this example Joey is using the UC32 Development Board to run a sample code that changes the color of the RGB LED based on the location of the joystick. The code allows for intensity adjustment by pressing either of the two buttons. For smaller (size) applications the Arduino Pro Mini 3.3V version can be used as well. Disclaimer: Make sure to use the 3.3V and not the 5V since the joystick is only rated for 3.3V.
Questions? Ask away! Comment below or visit the TechForum.
Learn more about Digi-Key Electronics New Product Discoveries:
Cerebot MX7CK board
UC32 development Board
Arduino Pro Mini 3.3V
Pmod NAV 9-Axis IMU + Barometer
Pmod Two-Axis Joystick
Connect with Digi-Key on Facebook and follow us on Twitter