<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=PcDuino_Lite</id>
	<title>PcDuino Lite - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=PcDuino_Lite"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=PcDuino_Lite&amp;action=history"/>
	<updated>2026-05-08T21:50:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=PcDuino_Lite&amp;diff=3891&amp;oldid=prev</id>
		<title>Kenneth: /* GPIO */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=PcDuino_Lite&amp;diff=3891&amp;oldid=prev"/>
		<updated>2016-12-05T14:54:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;GPIO&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== pcDuino Lite ==&lt;br /&gt;
&lt;br /&gt;
pcDuino Lite - http://www.pcduino.com/pcduino-lite/&lt;br /&gt;
&lt;br /&gt;
Features:&lt;br /&gt;
* 1GHz ARM Cortex A8 CPU&lt;br /&gt;
* GPU: OpenGL ES2.0, OpenVG 1.1 Mali 400 core&lt;br /&gt;
* 512 MB DRAM&lt;br /&gt;
* Onboard Storage: NO Flash, microSD card (TF) slot for up to 32GB&lt;br /&gt;
* Arduino-Style Peripheral Headers (Adapter Needed for Shield Form-Factor)&lt;br /&gt;
* HDMI Video Output&lt;br /&gt;
* Linux3.0 + Ubuntu12.04 Supported&lt;br /&gt;
* 0.1&amp;quot; Spaced GPIO Headers&lt;br /&gt;
* RJ45 Ethernet Connection&lt;br /&gt;
* Power Requirements: 2A @ 5VDC&lt;br /&gt;
* API to access the following interfaces:&lt;br /&gt;
** UART&lt;br /&gt;
** ADC&lt;br /&gt;
** PWM&lt;br /&gt;
** GPIO&lt;br /&gt;
** I2C&lt;br /&gt;
** SPI&lt;br /&gt;
* Program in C, C++ with GNU tool chain&lt;br /&gt;
* Python&lt;br /&gt;
&lt;br /&gt;
http://www.pcduino.com/wp-content/uploads/2013/10/pcduino_lite.jpg&lt;br /&gt;
&lt;br /&gt;
== SD Image ==&lt;br /&gt;
&lt;br /&gt;
Download Image for pcDuino Lite ETH: http://www.linksprite.com/?page_id=839 &amp;lt;s&amp;gt;http://www.pcduino.com/images-for-pcduino-lite-eth/&amp;lt;/s&amp;gt;&lt;br /&gt;
* Ubuntu SD Bootable image  https://s3.amazonaws.com/pcduino/Images/lite-eth/pcduino-lite_ubuntu_20130929.img&lt;br /&gt;
* Write image with win32diskimagwriter - https://s3.amazonaws.com/pcduino/Tools/win32diskimager-v0.7-binary.zip&lt;br /&gt;
&lt;br /&gt;
Default password:&lt;br /&gt;
 user: ubuntu&lt;br /&gt;
 pass: ubuntu&lt;br /&gt;
 with sudo privileges&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
 sudo board-config.sh    # select “update” -&amp;gt; all&lt;br /&gt;
&lt;br /&gt;
== Purchase ==&lt;br /&gt;
&lt;br /&gt;
* SparkFun Electronics - pcDuino Lite - Dev Board - DEV-12077 ($40 + $4.50 shipping) - https://www.sparkfun.com/products/12077&lt;br /&gt;
* Amazon - pcDuino Lite ($43 + $4.50 shipping) - http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&amp;amp;field-keywords=pcDuino%20Lite&lt;br /&gt;
&lt;br /&gt;
== pcDuino Comparison Chart ==&lt;br /&gt;
&lt;br /&gt;
pcDuino Family - http://www.pcduino.com/pcduino-family/&lt;br /&gt;
* pcDuino Lite&lt;br /&gt;
* pcDuino Lite WiFi&lt;br /&gt;
* pcDuino v1&lt;br /&gt;
* pcDuino v2&lt;br /&gt;
* pcDuino3&lt;br /&gt;
&lt;br /&gt;
== Update pcDuino ==&lt;br /&gt;
&lt;br /&gt;
Update pcDuino specific:&lt;br /&gt;
 sudo board-config.sh&lt;br /&gt;
 # select &amp;quot;update&amp;quot; -&amp;gt; &amp;quot;all&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update packages: (May have to comment out wiimu repo)&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
== Boot No GUI ==&lt;br /&gt;
&lt;br /&gt;
For the latest bootable SD image (31052013), you can boot into terminal with:&lt;br /&gt;
&lt;br /&gt;
 sudo mv /etc/init/lightdm.conf /etc/init/lightdm.conf.nostart&lt;br /&gt;
&lt;br /&gt;
This way, lightdm is disabled on boot. Still after booting into terminal you can start desktop with the command &amp;quot;lightdm&amp;quot; (without quotes of course)&lt;br /&gt;
&lt;br /&gt;
To switch back to autostart of desktop:&lt;br /&gt;
&lt;br /&gt;
 sudo mv /etc/init/lightdm.conf.nostart /etc/init/lightdm.conf&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* Boot to console, without GUI? - http://pcduino.com/forum/index.php?topic=3645.0&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
Load GPIO module:&lt;br /&gt;
 /sbin/modprobe gpio&lt;br /&gt;
&lt;br /&gt;
Pins:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gpio0&lt;br /&gt;
gpio1&lt;br /&gt;
gpio2&lt;br /&gt;
gpio3&lt;br /&gt;
gpio4&lt;br /&gt;
gpio5&lt;br /&gt;
gpio6&lt;br /&gt;
gpio7&lt;br /&gt;
gpio8&lt;br /&gt;
gpio9&lt;br /&gt;
gpio10&lt;br /&gt;
gpio11&lt;br /&gt;
gpio12&lt;br /&gt;
gpio13&lt;br /&gt;
gpio14&lt;br /&gt;
gpio15&lt;br /&gt;
gpio16&lt;br /&gt;
gpio17&lt;br /&gt;
gpio18&lt;br /&gt;
gpio19&lt;br /&gt;
gpio20&lt;br /&gt;
gpio21&lt;br /&gt;
gpio22&lt;br /&gt;
gpio23&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set mode:&lt;br /&gt;
 # input&lt;br /&gt;
 echo 0 &amp;gt; /sys/devices/virtual/misc/gpio/mode/gpio1&lt;br /&gt;
 # output&lt;br /&gt;
 echo 1 &amp;gt; /sys/devices/virtual/misc/gpio/mode/gpio1&lt;br /&gt;
&lt;br /&gt;
Set level:&lt;br /&gt;
 # low&lt;br /&gt;
 echo 0 &amp;gt; /sys/devices/virtual/misc/gpio/pin/gpio1&lt;br /&gt;
 # high&lt;br /&gt;
 echo 1 &amp;gt; /sys/devices/virtual/misc/gpio/pin/gpio1&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* Programming the pcDuino - learn.sparkfun.com - https://learn.sparkfun.com/tutorials/programming-the-pcduino/accessing-gpio-pins&lt;br /&gt;
* Programming the pcDuino - learn.sparkfun.com - https://learn.sparkfun.com/tutorials/programming-the-pcduino&lt;br /&gt;
&lt;br /&gt;
== Pins ==&lt;br /&gt;
&lt;br /&gt;
https://cdn.sparkfun.com/r/600-600/assets/d/7/c/4/0/51683a30ce395f5524000001.png&lt;br /&gt;
&lt;br /&gt;
https://cdn.sparkfun.com/r/600-600/assets/2/4/9/a/2/51549986ce395f9554000000.png&lt;br /&gt;
&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
=== apt-get update expected pcduino but got ===&lt;br /&gt;
&lt;br /&gt;
Error:&lt;br /&gt;
 # apt-get update&lt;br /&gt;
 ...&lt;br /&gt;
 W: Conflicting distribution: http://www.wiimu.com pcduino Release (expected pcduino but got )&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
* Edit /etc/apt/sources.list and comment out the wiimu lines&lt;br /&gt;
 #deb http://www.wiimu.com:8020/pcduino/ pcduino main&lt;br /&gt;
 #deb-src http://www.wiimu.com:8020/pcduino/ pcduino main&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* Install ROS Groovy on pcDuino » pcDuino - http://www.pcduino.com/install-ros-groovy-on-pcduino/&lt;br /&gt;
&lt;br /&gt;
=== mac changes every reboot ===&lt;br /&gt;
&lt;br /&gt;
Edit /etc/network/interfaces and add:&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
     hwaddress ether xx:xx:xx:xx:xx:xx&lt;br /&gt;
     auto eth0&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* Fix Ethernet MAC address · Issue #47 · cubieplayer/Cubian - https://github.com/cubieplayer/Cubian/issues/47&lt;br /&gt;
* [ubuntu] MAC address changes after every reboot - http://ubuntuforums.org/showthread.php?t=1647460&lt;br /&gt;
&lt;br /&gt;
=== Please set the screen resolution ===&lt;br /&gt;
&lt;br /&gt;
When trying to exit the board-config.sh from a remote SSH connection you may get the following warning, which won&amp;#039;t let you exit:&lt;br /&gt;
 Please set the screen resolution&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Anites]]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>