<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://wiki.8devices.com/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="https://wiki.8devices.com/feed.php">
        <title>8devices Wiki carambola:1:demo_projects</title>
        <description></description>
        <link>https://wiki.8devices.com/</link>
        <image rdf:resource="https://wiki.8devices.com/lib/tpl/8dev-bs/images/favicon.ico" />
       <dc:date>2026-08-04T15:54:01+03:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.8devices.com/carambola:1:demo_projects:control_plasma_tv"/>
                <rdf:li rdf:resource="https://wiki.8devices.com/carambola:1:demo_projects:graphic_color_lcd"/>
                <rdf:li rdf:resource="https://wiki.8devices.com/carambola:1:demo_projects:ht1632"/>
                <rdf:li rdf:resource="https://wiki.8devices.com/carambola:1:demo_projects:i2c_in_python"/>
                <rdf:li rdf:resource="https://wiki.8devices.com/carambola:1:demo_projects:led_from_web_page"/>
                <rdf:li rdf:resource="https://wiki.8devices.com/carambola:1:demo_projects:m25p64_flash"/>
                <rdf:li rdf:resource="https://wiki.8devices.com/carambola:1:demo_projects:pcf8575"/>
                <rdf:li rdf:resource="https://wiki.8devices.com/carambola:1:demo_projects:robot1"/>
                <rdf:li rdf:resource="https://wiki.8devices.com/carambola:1:demo_projects:weather_station"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.8devices.com/lib/tpl/8dev-bs/images/favicon.ico">
        <title>8devices Wiki</title>
        <link>https://wiki.8devices.com/</link>
        <url>https://wiki.8devices.com/lib/tpl/8dev-bs/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.8devices.com/carambola:1:demo_projects:control_plasma_tv">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-04T16:28:17+03:00</dc:date>
        <title>Control plasma TV 42PC1RR</title>
        <link>https://wiki.8devices.com/carambola:1:demo_projects:control_plasma_tv</link>
        <description>Connect

	*  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

	*  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="https://wiki.8devices.com/carambola:1:demo_projects:graphic_color_lcd">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-04T16:28:16+03:00</dc:date>
        <title>Serial 2.2&quot; LCD display</title>
        <link>https://wiki.8devices.com/carambola:1:demo_projects:graphic_color_lcd</link>
        <description>About

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

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="https://wiki.8devices.com/carambola:1:demo_projects:ht1632">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-04T16:28:16+03:00</dc:date>
        <title>HT1632 LED matrix driver</title>
        <link>https://wiki.8devices.com/carambola:1:demo_projects:ht1632</link>
        <description>About

This article covers how to connect HT1632 LED driver to Carambola using only it's own peripherals and how to display real-time clock.



Schematics

I have used my own custom made board to drive LED's, but there are some popular options in ebay (just enter &quot;HT1632&quot;) 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="https://wiki.8devices.com/carambola:1:demo_projects:i2c_in_python">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-04T16:28:17+03:00</dc:date>
        <title>Setup</title>
        <link>https://wiki.8devices.com/carambola:1:demo_projects:i2c_in_python</link>
        <description>Setup

At compile time add &quot;python-smbus&quot; package.

Example

Let's read acceleration data from LIS302L accelerometer:
from smbus import SMBus
bus = SMBus(0)
addr = 0x1d
# enable the accelerometer by setting CTRL_REG_1 (0x20) appropriately
bus.write_byte_data(addr, 0x20, (0b0100 &lt;&lt; 4 | 0b0111))
while True:
    print bus.read_byte_data(addr, 0x29) # print x axis</description>
    </item>
    <item rdf:about="https://wiki.8devices.com/carambola:1:demo_projects:led_from_web_page">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-04T16:28:16+03:00</dc:date>
        <title>LED from web page</title>
        <link>https://wiki.8devices.com/carambola:1:demo_projects:led_from_web_page</link>
        <description>Hardware



Connect LED between GND and GPIO9 (CTS) pins.

Prepare firmware

Don't install LUCI (or set different server port number in lighthttpd.conf)
Languages
  PHP
    php5
    php5-fastcgi
    php5-mod-json 
    php5-mod-sockets        Network
  Web Servers/Proxies
    lighttpd
      lighttpd-mod-cgi
      lighttpd-mod-fastcgi
      lighttpd-mod-simple-vhost
On Carambola

Firewall

Edit wan zone, to allow incoming connections.</description>
    </item>
    <item rdf:about="https://wiki.8devices.com/carambola:1:demo_projects:m25p64_flash">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-04T16:28:16+03:00</dc:date>
        <title>SPI/25L64</title>
        <link>https://wiki.8devices.com/carambola:1:demo_projects:m25p64_flash</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="https://wiki.8devices.com/carambola:1:demo_projects:pcf8575">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-04T16:28:16+03:00</dc:date>
        <title>About</title>
        <link>https://wiki.8devices.com/carambola:1:demo_projects:pcf8575</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="https://wiki.8devices.com/carambola:1:demo_projects:robot1">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-04T16:28:17+03:00</dc:date>
        <title>About</title>
        <link>https://wiki.8devices.com/carambola:1:demo_projects: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="https://wiki.8devices.com/carambola:1:demo_projects:weather_station">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-04T16:28:17+03:00</dc:date>
        <title>Introduction</title>
        <link>https://wiki.8devices.com/carambola:1:demo_projects:weather_station</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>
</rdf:RDF>
