<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>FFModule -- Adding Sounds &amp;amp; RGB Led to your Printer</title>
        <description> Hi!

I&#039;m VincentM from Clone Wars google group (spanish reprap comunity).
I developed an add-on for ours printers: FF Module.

It&#039;s an Arduino (any) with a very simple shield containing a WTV020-SD-16P (for sound) and a ULN2003A (for RGB Led strip).

Allows you to play sounds during printing (mp3 sounds to ad4 format) and control an RGB Led strip, changing colours.
It uses the M150 gcode implemented in Marlin for BlinkM control.

The FF Module communicates with your standard control board (RAMPS, Sanguinololu, etc) via I2C (like BlinkM) with only 3 wires (SDA,SCL,GND). Acting as BlinkM, receive the 3 bytes for Red,Green and Blue RGB.

If the byte for Red colour is 255, the order is taked as &#039;Play sound&#039;. The sound will be the byte sent in the Green colour byte (M150 uses U letter).
For example:
M150 R255 U1 B0 - Will play the sound &#039;0001.ad4&#039; in the SD of the WTV020.

In any other case, the order is treated as &#039;RGB Led order&#039; and is sent to a RGB Led strip (common positive) via ULN2003a chip.

Currently, I&#039;m putting all the information in the Wiki: [reprap.org] 

A little video of the sound part working: [docs.google.com]
Video of RGB&amp;amp;sound: [docs.google.com]

I hope you like it!</description>
        <link>https://reprap.org/forum/read.php?2,409032,409032#msg-409032</link>
        <lastBuildDate>Sat, 18 Jul 2026 02:24:07 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,857042#msg-857042</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,857042#msg-857042</link>
            <description><![CDATA[ Hi,<br />
can someone tell me does it matter to use a wtv020m01 soundmodule and not a wtv020sd16p?<br />
are they equal?<br />
<br />
The LEDs are working by sending g code M150 R000 U255 B000 etc.<br />
But no sound. My sd card is ok, sound files too.<br />
<br />
The speaker have to be 0,5 - 4W and 8 Ohm right?<br />
<br />
Regards,<br />
tru]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Thu, 25 Jul 2019 12:19:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856627#msg-856627</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856627#msg-856627</link>
            <description><![CDATA[ Can anybody please tell me, which resistors are needed for R5, R6 and R7?<br />
<br />
In the text discription are other resistors than in the circuit diagram.<br />
on my FF Module shield , the LED Part already works, but the sound part doesn't.<br />
<br />
the *.ad4 file are from VincentM (on his wikipage), my sd card is 1GB FAT16.<br />
I only know the resistors from the circuit diagram and take for R5 a 1.8KΩ and for R6 and R7 3.3KΩ resistors.<br />
<br />
So, if someone has build that FF Module and it's working, please let me know.<br />
Thank you.<br />
<br />
reagards,<br />
tru]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Mon, 15 Jul 2019 16:57:02 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856490#msg-856490</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856490#msg-856490</link>
            <description><![CDATA[ Hi Dust,<br />
<br />
now i'm going to use a breadboard, to be sure, that the connections are right.<br />
<br />
On the wiki page: <a href="https://reprap.org/wiki/FF_Module" target="_blank" >https://reprap.org/wiki/FF_Module</a><br />
is a list of needed resistors. I'm really confused, because on the circuit diagram are other resistors than in the item list.<br />
<br />
So, my question is, are these resistors right? <br />
R1, R2 4.7kΩ?<br />
R3, R4, R5 1.8kΩ? <br />
R6, R7 and R8 3.3kΩ? <br />
R9 470Ω<br />
Or which resistors did you used?<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Resistors (1/4W)<br />
<br />
1 470Ω 1/4W (Busy Led)<br />
<br />
2 4.7KΩ 1/4W (SDA,SCL lines)<br />
<br />
3 1.5KΩ 1/4W (Voltage divider) (*) R1<br />
<br />
3 2.2KΩ 1/4W (Voltage divider) (*) R2<br />
<br />
3 1KΩ 1/4W (Voltage divider) (*) R2<br />
<br />
(*) This resistors are used as a voltage divider to down the 5v output of Arduino I/O pins to 3.4v in my case (1.5k to pin, 3.2k (2.2k+1k in series) to Ground).<br />
<br />
You can use 1.8K to pin and 3.3K to ground to simplify, and you will obtain 3.24v . You will need 3 of each. </div></blockquote>
<div id="div_0d9e3c3085909ad8bbc36751b740f552"
     class="mod_embed_images_extended"
     style="width:542px">

  

    
      
    

    <div id="imagediv_0d9e3c3085909ad8bbc36751b740f552" class="mod_embed_images_image"
         style="width:542px; height:400px">

    

    <a href="https://reprap.org/mediawiki/images/3/38/PCB.JPG">
        <img src="/forum/thumbcache/11b/fc2/337/103/f08/728/f41/9f3/918/e0f/95_800x400.png"
             width="542"
             height="400"
             id="image_0d9e3c3085909ad8bbc36751b740f552"
             alt="PCB.JPG"
             title="PCB.JPG"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_0d9e3c3085909ad8bbc36751b740f552"
      style="display:block">
      <a id="link_0d9e3c3085909ad8bbc36751b740f552" href="https://reprap.org/mediawiki/images/3/38/PCB.JPG">PCB.JPG</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('0d9e3c3085909ad8bbc36751b740f552', '/forum/thumbcache/11b/fc2/337/103/f08/728/f41/9f3/918/e0f/95_800x400.png', 'https://reprap.org/mediawiki/images/3/38/PCB.JPG', 'https://reprap.org/forum/addon.php?2,module=embed_images,check_scaling=1,url=https%3A%2F%2Freprap.org%2Fmediawiki%2Fimages%2F3%2F38%2FPCB.JPG', '', 856490, 800, 400, 'Loading image ...', false);
</script>
<br/>]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Sat, 13 Jul 2019 14:03:13 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856477#msg-856477</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856477#msg-856477</link>
            <description><![CDATA[ Ah, ok...<br />
Thank you.]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Sat, 13 Jul 2019 06:04:36 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856476#msg-856476</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856476#msg-856476</link>
            <description><![CDATA[ You mean the LED?<br />
<br />
Yes it is always on.]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Developers</category>
            <pubDate>Sat, 13 Jul 2019 06:03:31 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856474#msg-856474</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856474#msg-856474</link>
            <description><![CDATA[ Hi Dust,<br />
is it normal, that the diode next to the soundmodule (sd card) is allways on?<br />
My diode on the FF Module is allway on.<br />
<br />
Regards,<br />
tru]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Sat, 13 Jul 2019 05:28:18 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856472#msg-856472</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856472#msg-856472</link>
            <description><![CDATA[ SanDisk 1 and 2 GB seem to work.]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Developers</category>
            <pubDate>Sat, 13 Jul 2019 05:07:54 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856471#msg-856471</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856471#msg-856471</link>
            <description><![CDATA[ Hi Dust,<br />
yes, i toke that audio files from VincentM (exemples).<br />
<br />
Maybe the sd card don't have good contact to the cardreader,,,<br />
<br />
can you give an advice, which sd card did you bought.]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Sat, 13 Jul 2019 04:22:23 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856461#msg-856461</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856461#msg-856461</link>
            <description><![CDATA[ Your audio files are called 0000.ad4 0001.ad4 etc after conversion?<br />
<br />
I would try a different sd card also..  such devices are often very picky about what cards they will and wont read.]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 22:37:56 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856460#msg-856460</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856460#msg-856460</link>
            <description><![CDATA[ [<a href="https://www.ebay.co.uk/itm/Waterproof-5-20M-5050-RGB-LED-Strip-Light-Dimmable-Sound-Activated-Color-Change/392162411548?var=&amp;hash=item5b4eb3841c&amp;enc=AQADAAADEFjVrDbVsZ8oH%2F8PNHtt9VX4%2Fw7FZcmMuqsX8uaFEduVGa2JKn4V3MttMvK7Qa554vduBg2MbtvRKTxayJdrJXkzuAoeEHi16Cs%2FmkjvtrXEdRnXfkj%2BAyMH65XKvVlovkxcsWTcD4mz2k9L%2BNFO9h%2BMdO6Cf1FTGxTBG0OdzGoPumF%2FcmYuYE8RIitxPKvjxpsy4m99CQaJevdNwFh87aFBhC3fdB6l1qASYv5SzGLHVXyNk8pHWTVKanBShvtltb52vKzShtpAFiOGcVd6TTB2dHPdI3kuLN7gj6RRq5f7MSzBpOn9c42twcmnm7BlUB%2BOO%2Fm44o9%2BrUBhQON3%2Fa%2FdnQe5p7H9OTxzZsoEhxWQJfrYSr6lxlkv2gT03l8%2B6LOKJJdXjsxGF7mf2bhMeA2L1BXAWTXG8tP3VhbLKTXdJHaELsjm53vLIVcPBZbv4CZpW8QwiOgVolRD5iQhTzk%2FszQURIOpU1RLBfJ2FIlB9YEL04SChuOGZOYxbrYu%2BIHwQgSW8397hC%2Fcdx3VraxycgeQE5HHZPQ7WkiQpr%2BlnOdsm9k3wLAqjR3tdUtS8EXYla5gmCG6hhQaPhA8c3efWBBbx3W9mgc9TyUxcicaPCV%2FESoxgnuKvOfbGvJem5zfabqZ4hsKPck9zKlZOd5akFZhj9RE0TEFUVYFGgmcK4O0Ei56btGNZmxgt2QtPOw7KDL1nIMAyvmNLnXGd2FXHbAZmK1DbVBC%2F9wqcjPmCBiTvtgqM7oKmQPG1FhIsD3RxpI6h4b34M5qs4zUWCPawdbfYN%2FHYoOBlib8yd1EdrBUlEnUfwG3XlneU1uCxVxWQmMU8AiBfcwSGSaXklvLZncMegGwcLtRw0C57IbWPmP2L2Zmi4vutOKgUd9FLtLas8pZ%2BpN8MjrKGmgx6%2FkeKgH6XA8Mi2kkUPJq3HCxaNjM46xTuitSEjw4ur337gGj00cficzatOlpRgzr8kGiMxWuN2010NpTXGD0BZ8rZtWFGbA%2BLu%2FCs9fCrBcIq2FUOxwCH1rEmQoUdXVoKvE%3D&amp;checksum=3921624115486e283dd09d9843a5a782f6ab60b9253f" target="_blank"  rel="nofollow">www.ebay.co.uk</a>] or just get something like this [<a href="https://www.ebay.co.uk/itm/20Key-24Key-44Key-RGB-Controller-LED-Strip-Lights-Sound-Sensor-Music-5050-SMD/153514838949?var=&amp;hash=item23be328ba5&amp;enc=AQADAAADEFjVrDbVsZ8oH%2F8PNHtt9VX4%2Fw7FZcmMuqsX8uaFEduVraX8ja4cPbvGCaJsk57n0XeFPExMXLxA1IOj0JxeVSMLBBVwnSWsayD34dpKSNQdZXdxNA6rJcmTQNu83U8fkKJ9Nq8YJYEQHsX9TYLBapbLbCStGXDdZv5km6IiM%2B6x2lKyAV%2BMOnEIgIRxve7hyJqAhkCjMbHxi4LN70N7ot5ulWTluybYyhT2k1omaQboqi1oTWC7aNQHfG6W1z6oFwbalos2BQNUmDnqlL12%2BbOM51xiCYsIvwUZfd715sxtmmoMZtdIRffTp3U04AXjE8RQYiOVu5ZT0ysUJNteJBkWs4feiSD1RZb8rpM2w9awhF5j2W4ayBD%2F%2Bx0VHh4pUSvLaau%2FlzD9n3QefwGvU9HdALvfW3BD1S%2FgcLf36oE6cyy%2BUwl0V9uPQD%2BFLldfx%2FkIcPna3TonuLeY2mLCJz0TX%2Fqcmzx6HW8sDBWU14Hznvc40DIjMkjEH%2FIutFEsXmuWQIkPUfsbtN4ve6l4ctycKzZ8LnElo4d8zZ87DM5rZGv3s%2B5yRoYjXgI3LzfB5kzBWkjWxbwn2R0MXy5iwZ0HvEgIt015B863XxNFGFLIekPezBpKGC%2F8o7m7mp2M6BbFy9V9rTRe2WlobZmbhgOI%2Bv5y9%2ForyQMx%2Bn31TwfPU2DJNm8GMBGMZscTFxwu1JQVrmDIzLJaBB8wts2md88GrBTDNcB1dVAHn%2F8Zwb9JgxscsTifWQwokum0NJcehW%2FMfITu%2FI8UfKxzqF4TEFWrv4RudJJEAslZwZtfR91Ht%2Bu5vMVc5AlKhtQehtXjaUeYKGPe50yvSC0%2BD3ipoJV37MjO8OmQLT1gRspMz0cMwF7xM9QsxJ41%2B%2Bk9Zu8oJNdCQqg4KhPn0zs5nM2A4%2FLbZ6PNDzTRx6wT1owdWIUz211XJm40Q4BQMy1cVF9cBBK4H1J5781uUPRxRhm9764CDwoTnnomnBSGae1x7KHk17q8XrnQHf9aFBHuFSz6OZVGaeAwUYqVR5KN6agdP6c%3D&amp;checksum=153514838949c005e59dc9b347c383d0aa93fbecf878" target="_blank"  rel="nofollow">www.ebay.co.uk</a>]]]></description>
            <dc:creator>MechaBits</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 21:37:38 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856454#msg-856454</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856454#msg-856454</link>
            <description><![CDATA[ Now i can control the LEDs with M150 g code.<br />
<br />
But the sound is not playing... has anyone an idea?<br />
<br />
I format the 1GB sd card fat16 (windows 7 cmd -&gt; E: /FS:FAT /Q)<br />
copied the *.ad4 files on the sd card.<br />
G code M150 R255 U001 B000<br />
<br />
No sound...<br />
<br />
Hope you ca help.<br />
<br />
Regards,<br />
tru]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 15:00:17 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856450#msg-856450</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856450#msg-856450</link>
            <description><![CDATA[ Yes, i know... but maybe someone have some shields...?<br />
Or is fit in soldering.]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 13:17:09 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856417#msg-856417</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856417#msg-856417</link>
            <description><![CDATA[ That was 4 years ago....]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 05:17:52 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856416#msg-856416</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856416#msg-856416</link>
            <description><![CDATA[ Hi Dust,<br />
i allready have PCB and soldered, but i think i've made it wrong... so i would like to have a finished working FF Module,<br />
where i just put the SD Card in and thats all...<br />
<br />
Alex Gibson3D wrote to VincentM, that he would like to sell them on eBay UK.]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 05:12:56 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856414#msg-856414</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856414#msg-856414</link>
            <description><![CDATA[ go to [<a href="https://jlcpcb.com" target="_blank"  rel="nofollow">jlcpcb.com</a>]     &lt;--  you don't have to use these people, but its who I recommend.<br />
<br />
click on "quote now"<br />
<br />
Click on add gerber file <br />
<br />
point it to where you have saved the FF_Module.zip  from [<a href="https://reprap.org/wiki/File:FF_Module.zip" target="_blank" >reprap.org</a>]<br />
<br />
You can chose the pcb color here, this doesn't change the price.  Don't touch the other option unless you know what your doing... most increase the price. <br />
<br />
Its $2 + shipping...  for 5pcb's and since it is probably your first order, they take $8 off your shipping. <br />
<br />
You can use PayPal, Credit Card or Bank Transfer]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 04:56:26 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856408#msg-856408</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856408#msg-856408</link>
            <description><![CDATA[ Hi Dust,<br />
thanks for your answer.<br />
<br />
It still doesn't work...<br />
<br />
Maybe my shield is not good soldered... never did it before...<br />
<br />
Does anyone have a shield, i can pay with PayPal.<br />
<br />
That would be nice.<br />
<br />
Regards,<br />
tru]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 04:26:48 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856403#msg-856403</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856403#msg-856403</link>
            <description><![CDATA[ yes you need to enable #define EXPERIMENTAL_I2CBUS in Configuration_adv.h]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 03:24:37 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,856397#msg-856397</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,856397#msg-856397</link>
            <description><![CDATA[ Hi Vincent,<br />
<br />
first of all, nice AddOn for 3D Printers.<br />
<br />
I can't get it work. Maybe you can help? My SetUp is: Arduino Mega 2560 + Ramps 1.4 and Marlin 1.1.8.<br />
<br />
Before i found your solution, i add LED Strips, i but it on Pin 5, 6 and 11 on the servo.<br />
<br />
In configuration.h, i have to uncomment  //#define RGB_LED  for Printer event LEDs <pre class="bbcode">
//#define RGB_LED                
//#define RGBW_LED

#if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
  #define RGB_LED_R_PIN 5
  #define RGB_LED_G_PIN 6
  #define RGB_LED_B_PIN 11
  //#define RGB_LED_W_PIN -1
#endif</pre>
There are some points confusing me...<br />
I'm running Repetier Host, works fine.<br />
When i send g codes, like M150 R255 U000 B000, it turns the light Red etc.<br />
BUT, now i found your solution, which works not with the servo (Pin 4, 5, 6, 11), but with the I2C.<br />
<br />
To get your solution to work, i comment //#define RGB_LED and uncomment // Support for BlinkM/CyzRgb<br />
#define BLINKM.<br />
<br />
And it's not clear on your wiki page, which one is the SDA and which is the SCL.<br />
I have flashed your sketch on the Arduino Uno and pluged your shield on top.<br />
I've format the SD Card in FAT16, pluged the Speakers in right polarity.<br />
<br />
I also have bypassed the resistors (4.7KOhm).<br />
<br />
I saw in configuration_adv.h (Important?)<br />
<pre class="bbcode">
/**
 * TWI/I2C BUS
 *
 * This feature is an EXPERIMENTAL feature so it shall not be used on production
 * machines. Enabling this will allow you to send and receive I2C data from slave
 * devices on the bus.
 *
 * ; Example #1
 * ; This macro send the string "Marlin" to the slave device with address 0x63 (99)
 * ; It uses multiple M260 commands with one B arg
 * M260 A99  ; Target slave address
 * M260 B77  ; M
 * M260 B97  ; a
 * M260 B114 ; r
 * M260 B108 ; l
 * M260 B105 ; i
 * M260 B110 ; n
 * M260 S1   ; Send the current buffer
 *
 * ; Example #2
 * ; Request 6 bytes from slave device with address 0x63 (99)
 * M261 A99 B5
 *
 * ; Example #3
 * ; Example serial output of a M261 request
 * echo:i2c-reply: from:99 bytes:5 data:hello
 */

// @section i2cbus

<b>//#define EXPERIMENTAL_I2CBUS
#define I2C_SLAVE_ADDRESS  0 // Set a value from 8 to 127 to act as a slave</b></pre>
<br />
Do you have a clue?<br />
<br />
regards,<br />
tru]]></description>
            <dc:creator>tru_visual</dc:creator>
            <category>Developers</category>
            <pubDate>Fri, 12 Jul 2019 02:53:27 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,572209#msg-572209</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,572209#msg-572209</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>alexgibson3d</strong><br />
Hi Vincent<br />
<br />
I am going to get some of your really nice board made.  Do you already have plenty or would you like me to send you a few to say thanks?  Are you happy for me to put them on eBay in the UK to enable other local RepRappers to jazz up their machines?  <br />
<br />
I am working to develop some software to enable RAMPS to control over I2C another Arduino running code to drive Adafruit Neopixel style WS2812B addressable RGBs.  This could become a commercial project. Is this something that interests you?  <br />
<br />
If it's already been done, could you point me there?  If not, I will try to make it fairly closely compatible to your RGB implementation on the Marlin side, so that the same Gcodes have the same results, but some extra effects will be added. <br />
<br />
Kind regards,<br />
Alex Gibson</div></blockquote>
<br />
Hi Alex!<br />
Thanks for your interest.<br />
<br />
Yes, I have a few boards here. Don't need more, thanks.<br />
You can sell boards on Ebay or whatever you want. I'm not interested in any kind of profit. Same about any commercial project you can do based or not in my design. I'm a happy retired man!!<br />
<br />
I don't implemented the M150 Gcode. This was done before for use the BlinkM Module.<br />
I only use this Gcode to pass 3 parameters from executing Gcode to another Arduino via I2c. This way don't need any Marlin add or modification.<br />
<br />
Good luck!!]]></description>
            <dc:creator>VincentM</dc:creator>
            <category>Developers</category>
            <pubDate>Sun, 18 Oct 2015 13:17:16 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,572179#msg-572179</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,572179#msg-572179</link>
            <description><![CDATA[ Hi Vincent<br />
<br />
I am going to get some of your really nice board made.  Do you already have plenty or would you like me to send you a few to say thanks?  Are you happy for me to put them on eBay in the UK to enable other local RepRappers to jazz up their machines?  <br />
<br />
I am working to develop some software to enable RAMPS to control over I2C another Arduino running code to drive Adafruit Neopixel style WS2812B addressable RGBs.  This could become a commercial project. Is this something that interests you?  <br />
<br />
If it's already been done, could you point me there?  If not, I will try to make it fairly closely compatible to your RGB implementation on the Marlin side, so that the same Gcodes have the same results, but some extra effects will be added. <br />
<br />
Kind regards,<br />
Alex Gibson]]></description>
            <dc:creator>alexgibson3d</dc:creator>
            <category>Developers</category>
            <pubDate>Sun, 18 Oct 2015 12:13:03 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,423547#msg-423547</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,423547#msg-423547</link>
            <description><![CDATA[ Yes, it's Ok.<br />
Be free to modify the Wiki.<br />
Regards.]]></description>
            <dc:creator>VincentM</dc:creator>
            <category>Developers</category>
            <pubDate>Thu, 23 Oct 2014 13:01:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,423542#msg-423542</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,423542#msg-423542</link>
            <description><![CDATA[ OK!<br />
<br />
 That is good news. I would think the wiring would be as simple as this setup.<br />
<br />
<div id="div_8f0c8348800584e84456dcb6e293c61c"
     class="mod_embed_images"
     >

  

    
      
    

    <div id="imagediv_8f0c8348800584e84456dcb6e293c61c" class="mod_embed_images_image"
         >

    
      

      

      

      

      

      

      <noscript>
      <div>
    

    <a href="http://quick2wire.com/wp-content/uploads/2012/05/image00.png">
        <img src="https://reprap.org/forum/addon.php?2,module=embed_images,url=http%3A%2F%2Fquick2wire.com%2Fwp-content%2Fuploads%2F2012%2F05%2Fimage00.png"
             
             
             id="image_8f0c8348800584e84456dcb6e293c61c"
             alt="image00.png"
             title="image00.png"/>
    </a>

    
      </div>
      </noscript>
    

    </div>

    <div class="mod_embed_images_info " id="info_8f0c8348800584e84456dcb6e293c61c"
      >
      <a id="link_8f0c8348800584e84456dcb6e293c61c" href="http://quick2wire.com/wp-content/uploads/2012/05/image00.png">image00.png</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('8f0c8348800584e84456dcb6e293c61c', 'https://reprap.org/forum/addon.php?2,module=embed_images,url=http%3A%2F%2Fquick2wire.com%2Fwp-content%2Fuploads%2F2012%2F05%2Fimage00.png', 'http://quick2wire.com/wp-content/uploads/2012/05/image00.png', 'https://reprap.org/forum/addon.php?2,module=embed_images,check_scaling=1,url=http%3A%2F%2Fquick2wire.com%2Fwp-content%2Fuploads%2F2012%2F05%2Fimage00.png', '', 423542, 800, 400, 'Loading image ...', false);
</script>
<br />
<br />
 I will test this out and update the wiki if you like.<br />
<br />
thanks again,<br/>]]></description>
            <dc:creator>joeb1</dc:creator>
            <category>Developers</category>
            <pubDate>Thu, 23 Oct 2014 12:52:40 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,423467#msg-423467</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,423467#msg-423467</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>joeb1</strong><br />
Thank you for adding this! It's a neat addition.<br />
<br />
I have started implementing this and it works good with the RepRapDiscount LCD controller.<br />
My other machine uses a ViKi LCD screen I cannot use it.<br />
ViKi uses the I2C...<br />
<br />
Would it even be possible to use this without using the I2C?<br />
What would it take and is it even worth it??<br />
<br />
thanks again!!</div></blockquote>
<br />
HI!<br />
<br />
Happy to see you like it!<br />
<br />
Unfortunatly the M150 Gcode is implemented in Marlin via I2C. For this reason, the FF Module can't work in another way.<br />
<br />
But in theory this is not a problem because you can connect up to 127 'slaves' devices to an Arduino 'master' in the I2C port. Every device is identified by a number. The FF Module, like BlinkM, is identified as 0x09. This can be changed in the code if you need.<br />
<br />
So, if your Viki LCD acts as an I2C device (with a device id number different from 0x09), both (Viki LCD &amp; FF Module) can be connected in parallel to the I2C port.<br />
<br />
I am not an expert in this, but I will try to help if you have questions.<br />
<br />
Regards]]></description>
            <dc:creator>VincentM</dc:creator>
            <category>Developers</category>
            <pubDate>Thu, 23 Oct 2014 09:23:43 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,423258#msg-423258</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,423258#msg-423258</link>
            <description><![CDATA[ Thank you for adding this! It's a neat addition.<br />
<br />
I have started implementing this and it works good with the RepRapDiscount LCD controller.<br />
My other machine uses a ViKi LCD screen I cannot use it.<br />
ViKi uses the I2C...<br />
<br />
Would it even be possible to use this without using the I2C?<br />
What would it take and is it even worth it??<br />
<br />
thanks again!!]]></description>
            <dc:creator>joeb1</dc:creator>
            <category>Developers</category>
            <pubDate>Wed, 22 Oct 2014 20:29:40 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,420289#msg-420289</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,420289#msg-420289</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>mw2matze</strong><br />
Could you tell me, how to add the M Code to the Marlin firmware? And give me the code for the Arduino uno? X(<br />
I LOVE the R2D2 sound!!! X(X(X(<br />
This is AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</div></blockquote>
<br />
To enable the M Code, uncomment the following line in Configuration.h:<br />
<br />
//define BlinkM/CyzRgb Support<br />
//#define BLINKM<br />
<br />
I attach the code for The Arduino UNO.<br />
<br />
I will include all the info needed in the Wiki page.<br />
<br />
Hope you enjoy it!]]></description>
            <dc:creator>VincentM</dc:creator>
            <category>Developers</category>
            <pubDate>Thu, 16 Oct 2014 10:41:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,420115#msg-420115</guid>
            <title>Re: FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,420115#msg-420115</link>
            <description><![CDATA[ Could you tell me, how to add the M Code to the Marlin firmware? And give me the code for the Arduino uno? X(<br />
I LOVE the R2D2 sound!!! X(X(X(<br />
This is AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]]></description>
            <dc:creator>mw2matze</dc:creator>
            <category>Developers</category>
            <pubDate>Thu, 16 Oct 2014 04:18:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?2,409032,409032#msg-409032</guid>
            <title>FFModule -- Adding Sounds &amp; RGB Led to your Printer</title>
            <link>https://reprap.org/forum/read.php?2,409032,409032#msg-409032</link>
            <description><![CDATA[ Hi!<br />
<br />
I'm VincentM from Clone Wars google group (spanish reprap comunity).<br />
I developed an add-on for ours printers: FF Module.<br />
<br />
It's an Arduino (any) with a very simple shield containing a WTV020-SD-16P (for sound) and a ULN2003A (for RGB Led strip).<br />
<br />
Allows you to play sounds during printing (mp3 sounds to ad4 format) and control an RGB Led strip, changing colours.<br />
It uses the M150 gcode implemented in Marlin for BlinkM control.<br />
<br />
The FF Module communicates with your standard control board (RAMPS, Sanguinololu, etc) via I2C (like BlinkM) with only 3 wires (SDA,SCL,GND). Acting as BlinkM, receive the 3 bytes for Red,Green and Blue RGB.<br />
<br />
If the byte for Red colour is 255, the order is taked as 'Play sound'. The sound will be the byte sent in the Green colour byte (M150 uses U letter).<br />
For example:<br />
M150 R255 U1 B0 - Will play the sound '0001.ad4' in the SD of the WTV020.<br />
<br />
In any other case, the order is treated as 'RGB Led order' and is sent to a RGB Led strip (common positive) via ULN2003a chip.<br />
<br />
Currently, I'm putting all the information in the Wiki: [<a href="http://reprap.org/wiki/FF_Module" target="_blank"  rel="nofollow">reprap.org</a>] <br />
<br />
A little video of the sound part working: [<a href="https://docs.google.com/file/d/0ByCazvg8jxylWUhzV0ppUDVrUjg/edit" target="_blank"  rel="nofollow">docs.google.com</a>]<br />
Video of RGB&amp;sound: [<a href="https://docs.google.com/file/d/0ByCazvg8jxylX1dPLU1fam1wZlk/edit" target="_blank"  rel="nofollow">docs.google.com</a>]<br />
<br />
I hope you like it!]]></description>
            <dc:creator>VincentM</dc:creator>
            <category>Developers</category>
            <pubDate>Thu, 18 Sep 2014 14:10:28 -0400</pubDate>
        </item>
    </channel>
</rss>
