Udoo: Difference between revisions
No edit summary |
(→VNC) |
||
Line 51: | Line 51: | ||
== VNC == | == VNC == | ||
http://udoo.org/forum/viewtopic.php?f=6&t=110 | http://udoo.org/forum/viewtopic.php?f=6&t=110 | ||
[http://www.udoo.org/ProjectsAndTutorials/vnc-server-with-udoo/?portfolioID=1394 This tutorial] teaches how to add tightvncserver to rc.local file so it is available on booting. | |||
<pre> | |||
sudo nano /etc/rc.local | |||
# Add the following line before 'exit 0' line. | |||
vncserver :1 -geometry 800x600 -depth 24 | |||
</pre> |
Revision as of 10:06, 18 November 2013
Documentation
- Starting manual
- Mechanical Specs
- Schematics
- Pinout explained
Download
- SD Image and instruction to burn the image to microSD card; like
sudo umount /dev/sdc1 sudo dd bs=1M if=~/Downloads/udoo_dual_ubuntu_1.2.img of=/dev/sdc sudo sync sudo umount /media/<sd_label>
Arduino Programming
http://www.elinux.org/UDOO_programming_the_embedded_Arduino_microcontroller
From Udoo itself
I can use dmesg | grep ttymxc3 to double check the device is attached.
Use sudo ln -sf /dev/ttymxc3 /dev/ttyS0 each time we boot the Ubuntu (or add it to the local.rc file to ensure it occurs on each boot) . See the forum discussion.
Simple LED sketch works well.
The Ethernet webServer sketch does not work. Why?
On an External computer
First I unplug J18 jumper, remove microSD card, and connect microUSB to CN6 in UDOO.
Download the official Arduino IDE 1.5.4.
I try to use dmesg | grep cp210x to check the device. The obstacle is the device is not found in Arduino IDE (No device found on ttyUSB0). If I try to follow 'Serial Driver' part to download and run 'make' , I will get an error
Linux_3.x.x_VCP_Driver_Source/cp210x.c:164:12: Error: 'usb_serial_probe' undeclared here (not in a function) Linux_3.x.x_VCP_Driver_Source/cp210x.c:165:16: Error : 'usb_serial_disconnect' undeclared here (not in a function)
Serial port monitor
On Linux, I can use minicom program to monitor serial port. We can install it by using 'sudo apt-get install minicom'.
Use sudo minicom -s to configure minicom first. Make sure the serial port is correct. For example, use /dev/ttyS0 when we use UDOO and dev/ttyUSB0 when we use external PC. The baud rate is set to 9600 8N1 and that 'Hardware flow control' is set to 'no'. Once we are done with the settings, use 'Save setup as dfl' and minicom will start up with the correct settings next time.
We shall not launch minicom immediately. We shall let Arduino IDE to finish uploading a sketch and then we can launch minicom. We can quit minicom by using Ctrl+A and z and x. If we start minicom before Arduino IDE finishes uploading a sketch, Arduino IDE will not be able to upload successfully; it will show an error 'no device found on /dev/ttyS0'.
Misc
Display Size
http://udoo.org/forum/viewtopic.php?f=6&t=119
VNC
http://udoo.org/forum/viewtopic.php?f=6&t=110
This tutorial teaches how to add tightvncserver to rc.local file so it is available on booting.
sudo nano /etc/rc.local # Add the following line before 'exit 0' line. vncserver :1 -geometry 800x600 -depth 24