FFModule -- Adding Sounds & RGB Led to your Printer September 18, 2014 02:10PM |
Registered: 11 years ago Posts: 73 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer October 16, 2014 04:18AM |
Registered: 11 years ago Posts: 100 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer October 16, 2014 10:41AM |
Registered: 11 years ago Posts: 73 |
Quote
mw2matze
Could you tell me, how to add the M Code to the Marlin firmware? And give me the code for the Arduino uno?
I LOVE the R2D2 sound!!!
This is AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Re: FFModule -- Adding Sounds & RGB Led to your Printer October 22, 2014 08:29PM |
Registered: 10 years ago Posts: 11 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer October 23, 2014 09:23AM |
Registered: 11 years ago Posts: 73 |
Quote
joeb1
Thank you for adding this! It's a neat addition.
I have started implementing this and it works good with the RepRapDiscount LCD controller.
My other machine uses a ViKi LCD screen I cannot use it.
ViKi uses the I2C...
Would it even be possible to use this without using the I2C?
What would it take and is it even worth it??
thanks again!!
Re: FFModule -- Adding Sounds & RGB Led to your Printer October 23, 2014 12:52PM |
Registered: 10 years ago Posts: 11 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer October 23, 2014 01:01PM |
Registered: 11 years ago Posts: 73 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer October 18, 2015 12:13PM |
Registered: 9 years ago Posts: 18 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer October 18, 2015 01:17PM |
Registered: 11 years ago Posts: 73 |
Quote
alexgibson3d
Hi Vincent
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?
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?
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.
Kind regards,
Alex Gibson
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 02:53AM |
Registered: 7 years ago Posts: 94 |
//#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 #endifThere are some points confusing me...
/** * 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 //#define EXPERIMENTAL_I2CBUS #define I2C_SLAVE_ADDRESS 0 // Set a value from 8 to 127 to act as a slave
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 03:24AM |
Admin Registered: 14 years ago Posts: 7,202 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 04:26AM |
Registered: 7 years ago Posts: 94 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 04:56AM |
Admin Registered: 14 years ago Posts: 7,202 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 05:12AM |
Registered: 7 years ago Posts: 94 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 05:17AM |
Admin Registered: 14 years ago Posts: 7,202 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 01:17PM |
Registered: 7 years ago Posts: 94 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 03:00PM |
Registered: 7 years ago Posts: 94 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 09:37PM |
Registered: 9 years ago Posts: 1,671 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 12, 2019 10:37PM |
Admin Registered: 14 years ago Posts: 7,202 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 13, 2019 04:22AM |
Registered: 7 years ago Posts: 94 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 13, 2019 05:07AM |
Admin Registered: 14 years ago Posts: 7,202 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 13, 2019 05:28AM |
Registered: 7 years ago Posts: 94 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 13, 2019 06:03AM |
Admin Registered: 14 years ago Posts: 7,202 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 13, 2019 06:04AM |
Registered: 7 years ago Posts: 94 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 13, 2019 02:03PM |
Registered: 7 years ago Posts: 94 |
Quote
Resistors (1/4W)
1 470Ω 1/4W (Busy Led)
2 4.7KΩ 1/4W (SDA,SCL lines)
3 1.5KΩ 1/4W (Voltage divider) (*) R1
3 2.2KΩ 1/4W (Voltage divider) (*) R2
3 1KΩ 1/4W (Voltage divider) (*) R2
(*) 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).
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.
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 15, 2019 04:57PM |
Registered: 7 years ago Posts: 94 |
Re: FFModule -- Adding Sounds & RGB Led to your Printer July 25, 2019 12:19PM |
Registered: 7 years ago Posts: 94 |