PcDuino Lite

From Omnia
(Redirected from Pcduino)
Jump to navigation Jump to search

pcDuino Lite

pcDuino Lite - http://www.pcduino.com/pcduino-lite/

Features:

  • 1GHz ARM Cortex A8 CPU
  • GPU: OpenGL ES2.0, OpenVG 1.1 Mali 400 core
  • 512 MB DRAM
  • Onboard Storage: NO Flash, microSD card (TF) slot for up to 32GB
  • Arduino-Style Peripheral Headers (Adapter Needed for Shield Form-Factor)
  • HDMI Video Output
  • Linux3.0 + Ubuntu12.04 Supported
  • 0.1" Spaced GPIO Headers
  • RJ45 Ethernet Connection
  • Power Requirements: 2A @ 5VDC
  • API to access the following interfaces:
    • UART
    • ADC
    • PWM
    • GPIO
    • I2C
    • SPI
  • Program in C, C++ with GNU tool chain
  • Python

pcduino_lite.jpg

SD Image

Download Image for pcDuino Lite ETH: http://www.linksprite.com/?page_id=839 http://www.pcduino.com/images-for-pcduino-lite-eth/

Default password:

user: ubuntu
pass: ubuntu
with sudo privileges

Update:

sudo board-config.sh    # select “update” -> all

Purchase

pcDuino Comparison Chart

pcDuino Family - http://www.pcduino.com/pcduino-family/

  • pcDuino Lite
  • pcDuino Lite WiFi
  • pcDuino v1
  • pcDuino v2
  • pcDuino3

Update pcDuino

Update pcDuino specific:

sudo board-config.sh
# select "update" -> "all"

Update packages: (May have to comment out wiimu repo)

sudo apt-get update
sudo apt-get upgrade

Boot No GUI

For the latest bootable SD image (31052013), you can boot into terminal with:

sudo mv /etc/init/lightdm.conf /etc/init/lightdm.conf.nostart

This way, lightdm is disabled on boot. Still after booting into terminal you can start desktop with the command "lightdm" (without quotes of course)

To switch back to autostart of desktop:

sudo mv /etc/init/lightdm.conf.nostart /etc/init/lightdm.conf

References:

GPIO

Load GPIO module:

/sbin/modprobe gpio

Pins:

gpio0
gpio1
gpio2
gpio3
gpio4
gpio5
gpio6
gpio7
gpio8
gpio9
gpio10
gpio11
gpio12
gpio13
gpio14
gpio15
gpio16
gpio17
gpio18
gpio19
gpio20
gpio21
gpio22
gpio23

Set mode:

# input
echo 0 > /sys/devices/virtual/misc/gpio/mode/gpio1
# output
echo 1 > /sys/devices/virtual/misc/gpio/mode/gpio1

Set level:

# low
echo 0 > /sys/devices/virtual/misc/gpio/pin/gpio1
# high
echo 1 > /sys/devices/virtual/misc/gpio/pin/gpio1

References:

Pins

51683a30ce395f5524000001.png

51549986ce395f9554000000.png

Issues

apt-get update expected pcduino but got

Error:

# apt-get update
...
W: Conflicting distribution: http://www.wiimu.com pcduino Release (expected pcduino but got )

Solution:

  • Edit /etc/apt/sources.list and comment out the wiimu lines
#deb http://www.wiimu.com:8020/pcduino/ pcduino main
#deb-src http://www.wiimu.com:8020/pcduino/ pcduino main

References:

mac changes every reboot

Edit /etc/network/interfaces and add:

iface eth0 inet dhcp
    hwaddress ether xx:xx:xx:xx:xx:xx
    auto eth0

References:

Please set the screen resolution

When trying to exit the board-config.sh from a remote SSH connection you may get the following warning, which won't let you exit:

Please set the screen resolution

As far as I can tell, this would have to be fixed from a console session connected to HDMI. So just kill the SSH connection and connect again.

keywords