查看: 1514|回复: 0
打印 上一主题 下一主题

刚发现一个似乎比树莓派还好玩的东西pcduino,支持arduino语言

[复制链接]
跳转到指定楼层
沙发
发表于 2016-4-3 22:48:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
刚刚在淘宝上瞎逛,想找点树莓派相关的东西,结果偶然找到了这个pcduino,据说远超树莓派,从参数上也的确如此,而且居然支持arduino的编程语言,令人激动。


以下是一些介绍资料

pcDuino: an MiniPC with Arduino headers ubuntu android google TV




简介:

pcDuino 是一台mini PC平台,可以像PC机一样安装 Ubuntu和Android ICS,HDMI的高清显示器输出接口。而且可以兼容Arduino 接口。可以开发google TV。

硬件性能指标远超树莓派,性能稳定,做工精良。

性能参数:

CPU: 1GHz ARM Cortex A8
显卡: OpenGL ES2.0, OpenVG 1.1 Mali 400 core
DRAM: 1GB
板载存储空间: 2GB Flash, 带SD卡槽,最大支持32GB
视频输出: HDMI
操作系统: Linux + Android
外部接口: 兼容Arduino的2.54 mm 接插件
网络接口: RJ45 and USB WiFi 网卡

相关应用:

可以学习编程
可以使用Ubuntu 浏览器和办公软件
学习 Ubuntu linux
看电影
玩游戏
DIY项目

文件下载:

概要  http://dlnmh9ip6v2uc.cloudfront. ... Duino_V01_Schem.pdf
用户指南   http://dlnmh9ip6v2uc.cloudfront. ... UserGuide_Rev02.pdf
机械制图  https://mail.google.com/mail/u/0/?shva=1#inbox
pcDuino网站 http://www.pcduino.com/

Description: As the field of embedded electronics gets more advanced, hobbyists and professionals are both in need of smaller and more powerful computers. We've been looking for awhile and now we've found one that we really like, not only because it's small and fast but because it's also Arduino shield compatible! The pcDuino is a high performance, cost effective mini PC platform that runs full-featured operating systems such as Ubuntu and Android ICS.

It's easy to hook up, just connect 5V power and a keyboard and mouse. The pcDuino outputs video to any HDMI enabled TV or monitor via the built in HDMI interface. It was specifically designed to make it easy for the open source community to develop computationally demanding projects using the vast, existing catalog of Arduino Shields.

An API has been developed for the pcDuino that allows the user to access all of the functions that you would expect using simple Arduino-style language.

Dimensions: 125mm X 52mm

Features:

1GHz ARM Cortex A8 CPU
GPU: OpenGL ES2.0, OpenVG 1.1 Mali 400 core
1GB DRAM
Onboard Storage: 2GB Flash, microSD card (TF) slot for up to 32GB
HDMI Video Output
Linux3.0 + Ubuntu12.10 Supported
0.1" Spaced GPIO Headers
RJ45 Ethernet Connection
Power Requirements: 2A @ 5VDC
Arduino Shield Compatible
API to access the following interfaces:
UART
ADC
PWM
GPIO
I2C
Program in C, C++ with GNU tool chain
Program in Java with standard Android SDK
Documents:

Schematic
http://dlnmh9ip6v2uc.cloudfront. ... Duino_V01_Schem.pdf
User Guide
http://dlnmh9ip6v2uc.cloudfront. ... UserGuide_Rev02.pdf
Mechanical Drawings
https://mail.google.com/mail/u/0/?shva=1#inbox
pcDuino Site
http://www.pcduino.com/


应用例子

Touch Sensor Module of Linker Kit on pcDuino

In this tutorial, we are going to use touch sensor module of Linker kit on pcDuino.

First, we take a protoshield , and female to female jumpers.






Now we can add Arduino shield.

We use Linker kit in this tutorial:



With the following code, when we touch the touch module, the LED will light up. It will go off when we remove from the touch module.

Code:

ubuntu@ubuntu:~/arduino/test$ more touch_sen.c

/*
* Touch Sensor module of Linker Kit for pcDuino
* http://linksprite.com/wiki/index.php5?title=Touch_Sensor_Module
*/
#include <core.h>
int led_pin = 8; //Connect LED module to GPIO 8
int btn_pin = 7; //Connect touch module to GPIO 7

void setup()
{

pinMode(led_pin, OUTPUT);
pinMode(btn_pin, INPUT);
}

void loop()
{
int value = digitalRead(btn_pin); // get button status

if ( value == HIGH ) // button pressed
{
digitalWrite(led_pin, HIGH); // turn on LED
}
else // button released
{
digitalWrite(led_pin, LOW); // turn off LED

}
delay(100);
}

pcDuino ard uino compatible headers


  The following interfaces are provided: 1. one UART 2. 6 ADCs. ADC 0 and ADC 1 are 6 bits resolution, while the rest are 10 bits resolution. 3. 2 hardware PWMs, can support up to 24MHz. 4. 14 GPIOs.…



The following interfaces are provided:

1. one UART
2. 6 ADCs. ADC 0 and ADC 1 are 6 bits resolution, while the rest are 10 bits resolution.
3. 2 hardware PWMs, can support up to 24MHz.
4. 14 GPIOs.
5. One I2C.
6. One SPI.

pcduino: ADC experiments

pcDuino has 6 ADCs. In this experiment, we are using potentiometer to adjust the voltage, and the screen shows different number of ADC reading




pcDuino has 6 ADCs. In this experiment, we are using potentiometer to adjust the voltage, and the screen shows different number of ADC readings.



pcduino: GPIO experiments
In this experiment, user presses the button to turn on the LED.  

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入因仑

本版积分规则

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