<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.8devices.com/wiki_carambola/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.8devices.com/wiki_carambola/feed.php">
        <title>Carambola Wiki</title>
        <description></description>
        <link>http://www.8devices.com/wiki_carambola/</link>
        <image rdf:resource="http://www.8devices.com/wiki_carambola/lib/tpl/carambola_v2/images/favicon.ico" />
       <dc:date>2012-05-19T04:49:29-05:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_change_mac_address"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_change_parameters_before_compile"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_change_welcome_message"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_compiling_packages"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_comunity"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting_ht1632"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting_lcd_display"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting_spi_flash_m25p64"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_demo_projects"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_fswebcam"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_hardware"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_lan"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_lcd"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_lcd2usb"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_luci"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_mjpg_streamer"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_motion"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_mpd"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_music"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_others_about_us"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_pachube"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_pachube_nexus"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_pcf8575_example"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_pinout"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_remote_file_system"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_robot1"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_scp"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_serial_cable"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_serial_terminal"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_simple_mysql_demo"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_simple_serial_example"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_tftp_server"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_todo"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_upload_firmware"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_usb"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_usb_disk"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_using_and_customizing"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_using_opkg"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_where_to_start"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/carambola_wifi"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/change_default_configuration"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/mmio_fixing_ttys0"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/motion_conf_example"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/plasma_tv_42pc1rr_control"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/sidebar"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/simple_gpio_control"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/simple_i2c_control"/>
                <rdf:li rdf:resource="http://www.8devices.com/wiki_carambola/doku.php/start"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.8devices.com/wiki_carambola/lib/tpl/carambola_v2/images/favicon.ico">
        <title>Carambola Wiki</title>
        <link>http://www.8devices.com/wiki_carambola/</link>
        <url>http://www.8devices.com/wiki_carambola/lib/tpl/carambola_v2/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-28T11:46:23-05:00</dc:date>
        <title>carambola</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola</link>
        <description>Where to start (Build firmware, setup serial communication and TFTP server, flash *.bin image using bootloader, etc.)

Connecting to carambola (Serial, TFTP, SCP, etc.)

Using and Customizing (Network/WiFi settings, installing/removing packages, etc.)</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_change_mac_address">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-12T00:49:56-05:00</dc:date>
        <title>carambola_change_mac_address</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_change_mac_address</link>
        <description>ifconfig br-lan downifconfig eth0.1 downifconfig eth0.2 downifconfig eth0 down  ifconfig eth0.1 hw ether 00:11:22:33:44:55 ifconfig eth0.2 hw ether 00:11:22:33:44:55   ifconfig eth0 hw ether 00:11:22:33:44:55   ifconfig eth0 up  ifconfig eth0.1 upifconfig eth0.2 upifconfig br-lan up/etc/init.d/network restart
Edit /etc/config/network</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_change_parameters_before_compile">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-06T14:34:57-05:00</dc:date>
        <title>carambola_change_parameters_before_compile</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_change_parameters_before_compile</link>
        <description>Here are some hard to find files you would like to edit before compiling main image:

To edit network settings:
&lt;...&gt;/carambola/build_dir/target-mipsel_r2_uClibc-0.9.32/root-ramips/etc/config/network
To edit Wireless parameters:
&lt;...&gt;/carambola/build_dir/target-mipsel_r2_uClibc-0.9.32/root-ramips/etc/config/wireless
To change banner message:</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_change_welcome_message">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T03:50:25-05:00</dc:date>
        <title>carambola_change_welcome_message</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_change_welcome_message</link>
        <description>This is how default welcome message looks like.

[ Before]

You can change it by editing /etc/banner file on your carambola.

[ After]
   ..|'''.|     Powered by 8devices.com        '||              '||                       
 .|'     '   ....   ... ..   ....   .. .. ..    || ...    ...    ||   ....
 ||         '' .||   ||' '' '' .||   || || ||   ||'  || .|  '|.  ||  '' .||
 '|.      . .|' ||   ||     .|' ||   || || ||   ||    | ||   ||  ||  .|' ||
  ''|....'  '|..'|' .||.    '|..'|' .|| || ||. …</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_compiling_packages">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-03T04:33:00-05:00</dc:date>
        <title>carambola_compiling_packages</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_compiling_packages</link>
        <description>todo</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_comunity">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-25T11:58:20-05:00</dc:date>
        <title>carambola_comunity</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_comunity</link>
        <description>Q: What is the preferred method of debugging Carambola ?  (I want, for instance, interface a SPI sensor.)
A: If you wish to debug hardware it is always the best to use logic analyzer.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T07:00:10-05:00</dc:date>
        <title>carambola_connecting</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting</link>
        <description>*  Serial console, cable
	*  TFTP
	*  SCP
	*  WGET</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting_ht1632">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-25T08:40:31-05:00</dc:date>
        <title>carambola_connecting_ht1632</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting_ht1632</link>
        <description>This article covers how to connect HT1632 LED driver to Carambola using only it's own peripherals and how to display real-time clock.



I have used my own custom made board to drive LED's, but there are some popular options in ebay (just enter “HT1632”) if you do not wish to make PCB's and solder (though code will drive circuit, but you have to adjust a bit). In my case it was a bit challenging because of small (2x2cm) LED matrix. Anyway, there is schematics.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting_lcd_display">
        <dc:format>text/html</dc:format>
        <dc:date>2012-05-14T14:48:24-05:00</dc:date>
        <title>carambola_connecting_lcd_display</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting_lcd_display</link>
        <description>This topic covers simple way to interface with LCD display. For this tutorial I am using cheap (under 20$) serial 2.2&quot; display.



Connection is more than simple - no soldering or electronics skills are required. See picture:



	*  LCD_SCL -&gt; GPIO7
	*  LCD_SDA -&gt; GPIO13
	*  LCD_CS  -&gt; GPIO9
	*  LCD_RST -&gt; GPIO11
	*  LCD_RS  -&gt; GPIO12</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting_spi_flash_m25p64">
        <dc:format>text/html</dc:format>
        <dc:date>2012-02-02T11:25:03-05:00</dc:date>
        <title>carambola_connecting_spi_flash_m25p64</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_connecting_spi_flash_m25p64</link>
        <description>About

This article covers how to connect serial SPI flash memory to your Carambola. I use M25P64 flash memory in this case which is 8MB.

Connecting





Building firmware

	*  Get latest OpenWrt repository and build freshly.
	*  Enter make menuconfig and enable
		*  Kernel modules
			*  SPI Support
				*  kmod-spi-dev</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_demo_projects">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-27T15:37:04-05:00</dc:date>
        <title>carambola_demo_projects</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_demo_projects</link>
        <description>Carambola drives serial 2.2&quot; LCD display

Connecting HT1632 LED matrix driver

Connecting 8MB SPI flash memory M25P64

Connecting I2C I/O expander PCF8575

Simple robot demonstration

Pachube and TFA dostmann Nexus weather station

Pachube and Sparkfun weather sensor</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_fswebcam">
        <dc:format>text/html</dc:format>
        <dc:date>2011-10-16T09:41:58-05:00</dc:date>
        <title>carambola_fswebcam</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_fswebcam</link>
        <description>Add USB webcam support as mentioned in motion

Install fswebcam
opkg update
opkg install fswebcam
Edit configuration file
vi /tmp/fswebcam.conf
add text
device /dev/video0
input 0
loop 15
skip 20
background
resolution 640x480
set brightness=60%
set contrast=13%
jpeg 95
save /tmp/viewcam.jpg
palette MJPEG
In order to run and capture once type:</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_hardware">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T06:33:12-05:00</dc:date>
        <title>carambola_hardware</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_hardware</link>
        <description>Pinout

Registers

I2C

SPI

GPIO

I2S

USB</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_lan">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T07:10:03-05:00</dc:date>
        <title>carambola_lan</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_lan</link>
        <description>Temporaly
ifconfig br-lan 192.168.0.104route add default gw 192.168.0.1 br-lan

Permanently

Edit /etc/config/network file and change couple of lines under config interface lan
option ipaddr   192.168.0.1
option netmask  255.255.255.0

DNS support

edit /etc/resolv.conf and add:</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_lcd">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T02:40:46-05:00</dc:date>
        <title>carambola_lcd</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_lcd</link>
        <description>Wifon</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_lcd2usb">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-15T03:50:53-05:00</dc:date>
        <title>carambola_lcd2usb</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_lcd2usb</link>
        <description>scp test@192.168.101.7:/home/test/carambola2/bin/ramips/packages/lcd2usb_1_ramips.ipk /tmplcd2usbhttp://www.harbaum.org/till/lcd2usb/index.shtml

- ideti kur download src ir bin
- ideti fotkes
- kaip subuildinti firmware (+usb suppport)
- lcd4linuxopkg update
opkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ramips/packages/lcd4linux_r1143-1_ramips.ipk
!!!! &lt;http://www.nslu2-linux.org/wiki/HowTo/AddATextDisplayOnI2CWithLCDproc&gt;</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_luci">
        <dc:format>text/html</dc:format>
        <dc:date>2012-02-03T00:16:14-05:00</dc:date>
        <title>carambola_luci</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_luci</link>
        <description>cd carambola/./scripts/feeds update packages luci./scripts/feeds install -a -p lucimake menuconfig
	*  LuCI
		*  Applications
			*  luci-app-ddns: Y
			*  luci-app-firewall: Y
			*  luci-app-ntpc: Y
			*  luci-app-qos: Y

		*  Libraries
			*  luci-lib-lucid-http: Y</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_mjpg_streamer">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-18T08:42:36-05:00</dc:date>
        <title>carambola_mjpg_streamer</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_mjpg_streamer</link>
        <description>You need camera which supports UVC (list)
make menuconfig
Select:

	*  Kernel modules
		*  Video Support
			*  Select all if unsure

		*  USB Support
			*  kmod-usb-video


make
Flash new compiled image.

Open terminal to carambola
opkg updateopkg install http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ramips/packages/mjpg-streamer_r136-1_ramips.ipk
mjpg_streamer gets configuration from /etc/config/mjpg-streamer file, which by default looks like:</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_motion">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T04:19:51-05:00</dc:date>
        <title>carambola_motion</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_motion</link>
        <description>1. Add support for kernel usb video support











2. Install motion opkg install &lt;http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ramips/packages/motion_3.2.11.1-1_ramips.ipk&gt;

3. Edit: vi /etc/motion.conf or you can use prepared configuration file.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_mpd">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-19T12:59:11-05:00</dc:date>
        <title>carambola_mpd</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_mpd</link>
        <description>Compile
cd carambola
make menuconfig
Select:

	*  sound
		*  mpd
		*  mpc


	*  Base system
		*  librt

make
Configure

Edit on carambola /etc/mpd.conf add this text
audio_output {                                                               
      type    &quot;alsa&quot;                                    
      name    &quot;My ALSA Device&quot;                                              
      device  &quot;hw:0,0&quot;                                                     
      format  &quot;44100:16:2&quot;                    …</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_music">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-06T23:27:32-05:00</dc:date>
        <title>carambola_music</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_music</link>
        <description>1. Add kernel USB sound support 







2. Compile carambola and upload new image.

3. install package madplay (opkg update, opkg install madplay)

4. Connect external USB sound device.

5. copy mp3 files or set up remote file system

6. play: madplay /tmp/1.mp3</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_others_about_us">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-07T04:52:00-05:00</dc:date>
        <title>carambola_others_about_us</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_others_about_us</link>
        <description>*  &lt;http://www.pololu.com/resources/communityprojects&gt;
	*  &lt;http://forum.pololu.com/viewtopic.php?f=2&amp;t=4578&gt;
	*  &lt;http://hackaday.com/2011/10/21/extend-your-personal-weather-stations-reporting-capabilities/&gt;
	*  &lt;http://dangerousprototypes.com/2011/10/29/8devices-wi-fi-4-things/&gt;
	*  &lt;http://www.3dcontentcentral.com/parts/download-Part.aspx?id=343274&amp;catalogid=171&gt;</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_pachube">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-04T01:52:01-05:00</dc:date>
        <title>carambola_pachube</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_pachube</link>
        <description>Live data were switched off. See weather station instead.





Get Pachube API key from here



Install curl.

	*  Build custom firmware with enabled USB serial port support:

Under Kernel modules / USB support / kmod-usb-serial select all drivers if you are unsure which one you have or kmod-usb-serial-ftdi in our case.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_pachube_nexus">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-09T02:25:05-05:00</dc:date>
        <title>carambola_pachube_nexus</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_pachube_nexus</link>
        <description>This topic demonstrates how to connect TFA dostmann Nexus wireless weather station (datasheet) to carambola and to upload data to remote server. Other weather stations that possible can be supported (but not tested): Hideki, Nexus, Mebus, Irox, Honeywell, Cresta TE923, TE923W, TE821W, WXR810, DV928, TE831X, IROX PRO-X USB</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_pcf8575_example">
        <dc:format>text/html</dc:format>
        <dc:date>2012-01-10T13:12:42-05:00</dc:date>
        <title>carambola_pcf8575_example</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_pcf8575_example</link>
        <description>This topic covers how to connect I2C device to Carambola. For this tutorial I will use PCF8575 16 bit I/O expander. 



In order to connect I2C device I will need few passive components. See attached schematics.



There is also power selection jumper (5V or 3.3V) and SPI pin header. Discard these for this subject.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_pinout">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-03T13:13:06-05:00</dc:date>
        <title>carambola_pinout</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_pinout</link>
        <description>Carambola PIN	Description	PIN Name	GPIO	 Motherboard pin 1                             GND            	                 2	    LAN0                ETH0_RD+                              3	    LAN0	         ETH0_RD-		                 4	    LAN0	         ETH0_TD+		                 5	    LAN0	         ETH0_TD-		                 6	    	                 GND		                        7	    LAN1	         ETH1_RD+		                 8	    LAN1	         ETH1_RD-		                 9	    LAN1	         ETH1_TD+…</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_remote_file_system">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T02:40:50-05:00</dc:date>
        <title>carambola_remote_file_system</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_remote_file_system</link>
        <description>TODO

samba

nfs</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_robot1">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-08T12:38:04-05:00</dc:date>
        <title>carambola_robot1</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_robot1</link>
        <description>It is very simple demonstration how to use Carambola as rover platform with video feedback. It could be nice toy to build in couple of hours.




I used very simple hardware setup. 
Key components are motor controller, 47:1 gearmotors, wheels, UVC webcam supported by mjpg_streamer and of course Carambola.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_scp">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T12:42:35-05:00</dc:date>
        <title>carambola_scp</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_scp</link>
        <description>If you are using fresh installed ubuntu, you should install ssh server
sudo apt-get install openssh-serverscp test@192.168.0.101:/home/test/* /tmp</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_serial_cable">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T03:40:55-05:00</dc:date>
        <title>carambola_serial_cable</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_serial_cable</link>
        <description>It is best to connect to carambola using standard RS-232 male cable. Just plug cable to carambola, set 115200 8N1 settings without hardware flow control and power up your carambola.

However, if you have TTL level USB to serial converter, you should do some soldering.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_serial_terminal">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-08T10:20:43-05:00</dc:date>
        <title>carambola_serial_terminal</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_serial_terminal</link>
        <description>*  115200 8N1, no hardware flow control.

 TODO

 TODO
picocom -f n -p n -b 115200 -i -r -l /dev/ttyUSB0picocom -b 9600 /dev/ttyUSB0
	*  Picocom man

	*  To exit, press and hold CTRL, A, Q.

If you do not have installed stty you should get it by typing</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_simple_mysql_demo">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T04:01:15-05:00</dc:date>
        <title>carambola_simple_mysql_demo</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_simple_mysql_demo</link>
        <description>Package to be build resides in carambola/package
~/carambola/package/hello/
│   Makefile
│
└───src
        main.c
        Makefileinclude $(TOPDIR)/rules.mk

PKG_NAME:=hello
PKG_RELEASE:=1

PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

include $(INCLUDE_DIR)/package.mk

define Package/hello
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=Simple program to read/write from memory.
endef

define Package/hello/description
  Simple program to read/write from/to any location in memory.
endef

define Buil…</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_simple_serial_example">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T02:40:53-05:00</dc:date>
        <title>carambola_simple_serial_example</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_simple_serial_example</link>
        <description>Makefile
include $(TOPDIR)/rules.mk

PKG_NAME:=weather
PKG_RELEASE:=1

PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

include $(INCLUDE_DIR)/package.mk

define Package/weather
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=sparkfun weather station
endef

define Package/weather/description
  Simple program to get serial port data
endef

define Build/Prepare
	mkdir -p $(PKG_BUILD_DIR)
	$(CP) ./src/* $(PKG_BUILD_DIR)/
endef

define Package/weather/install
	$(INSTALL_DIR) $(1)/usr/sbin
	$(INSTALL_BIN) …</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_tftp_server">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-20T01:25:25-05:00</dc:date>
        <title>carambola_tftp_server</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_tftp_server</link>
        <description>You can set up TFTP server very quickly using TFTP32 sofware. It is free.



Enable TFTP server. Your settings should look like:



If you wish, you can use linux machine to do the same task. 
sudo apt-get install xinetd tftpd tftpsudo touch /etc/xinetd.d/tftpsudo nano /etc/xinetd.d/tftp
Paste this code:</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_todo">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-22T05:10:30-05:00</dc:date>
        <title>carambola_todo</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_todo</link>
        <description>*  ttyS1 does not work
	*  mysql example crash (segfault) if server not found. It is not in PC compiled version

	*  cloud
	*  Build factory
	*  How to use samba
	*  using remote file system
	*  Write the new flash image not using serial port (like mtd -r write openwrt-ar71xx-wzr-hp-g300nh-squashfs-sysupgrade.bin linux)
	*  demo projects
		*  wifi - serial/lan converter using terminal
		*  LUA for weather carambola</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_upload_firmware">
        <dc:format>text/html</dc:format>
        <dc:date>2012-01-22T06:21:25-05:00</dc:date>
        <title>carambola_upload_firmware</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_upload_firmware</link>
        <description>This topic covers few methods how to upgrade firmware on Carambola.

Copy build firmware to TFTP directory. You should use openwrt-ramips-rt305x-carambola-squashfs-sysupgrade.bin file. It is located in carambola/bin/ramips folder For your own conveniency rename to shorter name. For example 2.bin.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_usb">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T06:35:29-05:00</dc:date>
        <title>carambola_usb</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_usb</link>
        <description>opkg install usbutils
type: 
lsusb
to get information about connected USB devices</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_usb_disk">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-12T02:08:49-05:00</dc:date>
        <title>carambola_usb_disk</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_usb_disk</link>
        <description>Build new flash image with these modificatations.
make menuconfig
From Kernel modules/Filesystems, Kernel modules/Native Language Support and Kernel modules / USB support add
kmod-nls-base
kmod-nls-cp437
kmod-nls-cp850
kmod-nls-iso8859-1
kmod-nls-iso8859-15
kmod-fs-vfat
kmod-usb-storage
Upload this image to carambola.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_using_and_customizing">
        <dc:format>text/html</dc:format>
        <dc:date>2012-01-10T14:29:58-05:00</dc:date>
        <title>carambola_using_and_customizing</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_using_and_customizing</link>
        <description>using MMIO tool enable ttyS0

Using opkg

Changing welcome message

3G/GPRS connecting

WiFi connectivity (AP, STA, AD-HOC)

Change MAC address

LAN

Connect external disk

Changing Carambola parameters before compiling (network,wireless,banner,etc.)</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_using_opkg">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-18T06:11:00-05:00</dc:date>
        <title>carambola_using_opkg</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_using_opkg</link>
        <description>opkg configuration file resides here: 
/etc/opkg.conf
default file content is:
root@OpenWrt:/# cat /etc/opkg.conf 
src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/ramips/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
When you start up carambola you must update package list. Otherwise you will not see many available packages. This list is saved in /tmp, after you reboot package list is erased. You save some precious space on your caramb…</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_where_to_start">
        <dc:format>text/html</dc:format>
        <dc:date>2012-01-29T06:26:29-05:00</dc:date>
        <title>carambola_where_to_start</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_where_to_start</link>
        <description>Do everything as non-root user!
sudo apt-get install subversion  g++ ncurses-term zlib1g-dev gawk flex patch openssh-server minicom tftp tftpd gettext libncurses5 libncurses5-dev unzip quiltsudo apt-get install git git-doc git-gui git clone https://github.com/8devices/carambola carambola
It is not necessary, but you might need this later.</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/carambola_wifi">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-18T10:19:32-05:00</dc:date>
        <title>carambola_wifi</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/carambola_wifi</link>
        <description>rm /etc/config/wirelesswifi detect &gt; /etc/config/wirelessvi /etc/config/wireless
Enable wireless:
# REMOVE THIS LINE TO ENABLE WIFI:
# option disabled 1
Edit etc/configure/network and etc/configure/wireless

etc/configure/network
config interface loopback
      option ifname   lo
      option proto    static
      option ipaddr   127.0.0.1
      option netmask  255.0.0.0

config 'switch_vlan'
      option 'vlan'       '1'
      option 'device'     'eth0'

config interface lan
      option ifname…</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/change_default_configuration">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-18T03:59:46-05:00</dc:date>
        <title>change_default_configuration</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/change_default_configuration</link>
        <description>Edit:
carambola/target/linux/ramips/base-files/etc/config/network
Change welcome screen example

Edit:
carambola/package/base-files/files/etc/banner</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/mmio_fixing_ttys0">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-09T08:58:45-05:00</dc:date>
        <title>mmio_fixing_ttys0</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/mmio_fixing_ttys0</link>
        <description>From factory Carambola is shipped with ttyS0 disabled. Or to be more precise it is in GPIO mode. Which is sometimes not what we want. It is very easy to change this.

In order to change internal Carambola registers you need small tool called mmio. You can download binary file from here. Or you can download source from GitHub and compile it yourself. If you put binary file inside /tmp folder it will be deleted after you reboot your Carambola. If you wish to have this tool permanently put it insid…</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/motion_conf_example">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-11T04:19:22-05:00</dc:date>
        <title>motion_conf_example</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/motion_conf_example</link>
        <description>daemon off
process_id_file /var/run/motion/motion.pid 
setup_mode off
videodevice /dev/video0
v4l2_palette 8
input 8
norm 0
frequency 0
rotate 0
width 320
height 240
framerate 1
minimum_frame_time 0
netcam_tolerant_check off
auto_brightness off
brightness 0
contrast 0
saturation 0
hue 0
roundrobin_frames 1
roundrobin_skip 1
switchfilter off
threshold 1500
threshold_tune off
noise_level 32
noise_tune on
despeckle EedDl
smart_mask_speed 0
lightswitch 0
minimum_motion_frames 1
pre_capture 5
post_ca…</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/plasma_tv_42pc1rr_control">
        <dc:format>text/html</dc:format>
        <dc:date>2011-10-11T11:40:44-05:00</dc:date>
        <title>plasma_tv_42pc1rr_control</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/plasma_tv_42pc1rr_control</link>
        <description>*  Connect your TV to Carambola using serial cable



	*  Setup your TV to known ID. To do this, use your remote. 
		*  Press MENU, select SPECIAL
		*  Select Set ID
		*  Adjust ID from 1 to 99. I left default, which is 1.


	*  Setup Carambola network. (I used Wireless as client (STA) mode). In this mode Carambola connects to my WIFI router automatically.
	*  Install picocom to carambola</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/sidebar">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-30T01:49:09-05:00</dc:date>
        <title>sidebar</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/sidebar</link>
        <description>*  Wiki Home
	*  Where to start
	*  Connecting to carambola
	*  Using and Customizing
	*  Demo projects/examples
	*  Hardware</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/simple_gpio_control">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-28T15:04:18-05:00</dc:date>
        <title>simple_gpio_control</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/simple_gpio_control</link>
        <description>This short tutorial describes how to get GPIO working. For this you need tool called gpioctl. Table describing which pin is where can be found here: .

	*  Type make menucongfig
	*  Under Utilities select package gpioctl and build carambola firmware (although you can do it directly on carambola typing opkg update; opkg install gpioctl)</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/simple_i2c_control">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-28T15:22:42-05:00</dc:date>
        <title>simple_i2c_control</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/simple_i2c_control</link>
        <description>This short tutorial shows how to control I2C from carambola. 

You should install i2ctools under Utilities.

After this you have few files on your carambola. Type i2c --help to see how to use them. It is trivial.

	*  i2cdetect
	*  i2cdump
	*  i2cget
	*  i2cset</description>
    </item>
    <item rdf:about="http://www.8devices.com/wiki_carambola/doku.php/start">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-03T02:18:23-05:00</dc:date>
        <title>start</title>
        <link>http://www.8devices.com/wiki_carambola/doku.php/start</link>
        <description>Carambola</description>
    </item>
</rdf:RDF>

