Skip to content

EmpyreanCNC/Modbus_RGB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Modbus_RGB

A plugin to add rgb capacity to a grblhal control board

c23qzt2ivx4c1

This was written with the intent of being used with the R4DVI04 eletechsup modbus IO board which carries 4 relays which can be used to drive a simple RGB LED Strip

image

Prerequisites:

Modbus MUST be enabled in your firmware.

WARNING: In order to reduce modbus traffic from the spindle plugin i had to modify the spindle plugin. I used a gs20 spindle equivalent. You can find my files for that here: https://github.com/EmpyreanCNC/Plugins_spindle_with_MBIO/tree/master

FURTHER NOTES:

This required the addition of 2 new settings. I will be confirming with Terje whether these can stay allocated to the numbers I chose and whether the change to the spindle plugin above will be rolled into the main

HOW TO INSTALL Make a new src folder/directory called rgb in the grblHAL src directory and put the content of this repository in the rgb directory.

image

Edit grbl/plugins_init.h to add the init code of the plugin. You can add it at the end.

#if MBRGB_ENABLE extern void mbrgb_init (void); mbrgb_init(); #endif

I have been compiling using the platformio.ini file(I obtained a template by downloading a firmware with the features I wanted from here, https://svn.io-engineering.com:8443/?dev=1 it came with the .ini file) I added the line,

-D MBRGB_ENABLE=1

Compile and flash your machine and enjoy.

About

A plugin to add rgb capacity to a grblhal control board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages