Welcome, Guest
Username: Password: Remember me

TOPIC: RGBIO8 Config Assistance

RGBIO8 Config Assistance 4 years 5 months ago #388

  • cobalt
  • cobalt's Avatar
  • Offline
  • New Member
  • Posts: 17
  • Thank you received: 4
  • Karma: 2
Hi there,

Please excuse my documentation skills in the image attached. I am trying to configure the RGBIO8 in my Brewtroller 4.0. I am having issues trying to work out the config output recipe for my system. Basically I want the RGBIO8 to control my HLT, MLT (RIMS), Pump, and 5x Valves, So to do this i need all 8 inputs assigned. The problem i have is i cant work out how to remove the Kettle assignment on the RGBIO8 and reassign it to something like the Pump. :(

Can someone show me a config output recipe that would work for me?

The administrator has disabled public write access.

RGBIO8 Config Assistance 4 years 4 months ago #411

  • jvetter
  • jvetter's Avatar
  • Offline
  • Senior Member
  • Posts: 62
  • Thank you received: 3
  • Karma: 1
Hi Cobalt,

Sorry it has taken someone so long to respond.

First off, you need to edit two files in the code to enable RGBIO board support. Maybe you know this already but I will elaborate just in case you were not aware:
1. Config.h: uncomment /#define RGBIO8_ENABLE, set RGBIO8_NUM_BOARDS to the number of boards
2. Com_RGBIO.[cpp|pde]: add your configurations to the bottom of RGBIO8_Init

I'm a little confused by your description. Which kettle assignment are you referring to? I see from your picture that you have a third white wire going to the kettle heat output pin that doesn't map to your RJ45 plug, is that part of the problem?

If we were to take the kettle wire out of the equation, I believe you would need to add the following to your RGBIO8_Init function (I haven't tested this):

//Call Syntax
//rgbio8s[board].assignHeatInput(vesselNumber, inputNumber);
//rgbio8s[board].assignHeatOutputRecipe(vesselNumber, outputNumber, recipeNumber);
//rgbio8s[board].assignPvInput(pvOutputNumber, inputNumber);
//rgbio8s[board].assignPvOutputRecipe(pvOutputNumber, outputNumber, recipeNumber);

// On Board 0, map heat output 0 (HLT) to input/output 0 using recipe 0
rgbio8s[0].assignHeatInput(0, 0);
rgbio8s[0].assignHeatOutputRecipe(0, 0, 0);
// On Board 0, map heat output 1 (MASH) to input/output 1 using recipe 0
rgbio8s[0].assignHeatInput(1, 1);
rgbio8s[0].assignHeatOutputRecipe(1, 1, 0);
// On Board 0, map pv output 0 to input/output 2 using recipe 1
rgbio8s[0].assignPvInput(0, 2);
rgbio8s[0].assignPvOutputRecipe(0, 2, 1);
// On Board 0, map pv output 1 to input/output 3 using recipe 1
rgbio8s[0].assignPvInput(1, 3);
rgbio8s[0].assignPvOutputRecipe(1, 3, 1);
// On Board 0, map pv output 2 to input/output 4 using recipe 1
rgbio8s[0].assignPvInput(2, 4);
rgbio8s[0].assignPvOutputRecipe(2, 4, 1);
// On Board 0, map pv output 3 to input/output 5 using recipe 1
rgbio8s[0].assignPvInput(3, 5);
rgbio8s[0].assignPvOutputRecipe(3, 5, 1);
// On Board 0, map pv output 4 to input/output 6 using recipe 1
rgbio8s[0].assignPvInput(4, 6);
rgbio8s[0].assignPvOutputRecipe(4, 6, 1);
// On Board 0, map pv output 5 to input/output 7 using recipe 1
rgbio8s[0].assignPvInput(5, 7);
rgbio8s[0].assignPvOutputRecipe(5, 7, 1);

Does that make sense?
The administrator has disabled public write access.

RGBIO8 Config Assistance 3 years 3 months ago #649

  • Chilled
  • Chilled's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Hello there.....

Can someone please let me know if I am on the right track for a configuration of 2 x RGBIO boards with heating to HLT and Kettle and the rest of the connections to Pump/Valve combinations. :S

// HEATING
// On Board 0, map heat output 0 (HLT) to input/output 0 using recipe 0
rgbio8s[0].assignHeatInput(0, 0);
rgbio8s[0].assignHeatOutputRecipe(0, 0, 0);
// On Board 0, map heat output 1 (KETTLE) to input/output 1 using recipe 0
rgbio8s[0].assignHeatInput(2, 1);
rgbio8s[0].assignHeatOutputRecipe(2, 1, 0);
// NOTE No heating required for MLT
//
// PUMPS AND VALVES
// On Board 0, map pv output 0 to input/output 2 using recipe 1
rgbio8s[0].assignPvInput(0, 2);
rgbio8s[0].assignPvOutputRecipe(0, 2, 1);
// On Board 0, map pv output 1 to input/output 3 using recipe 1
rgbio8s[0].assignPvInput(1, 3);
rgbio8s[0].assignPvOutputRecipe(1, 3, 1);
// On Board 0, map pv output 2 to input/output 4 using recipe 1
rgbio8s[0].assignPvInput(2, 4);
rgbio8s[0].assignPvOutputRecipe(2, 4, 1);
// On Board 0, map pv output 3 to input/output 5 using recipe 1
rgbio8s[0].assignPvInput(3, 5);
rgbio8s[0].assignPvOutputRecipe(3, 5, 1);
// On Board 0, map pv output 4 to input/output 6 using recipe 1
rgbio8s[0].assignPvInput(4, 6);
rgbio8s[0].assignPvOutputRecipe(4, 6, 1);
// On Board 0, map pv output 5 to input/output 7 using recipe 1
rgbio8s[0].assignPvInput(5, 7);
rgbio8s[0].assignPvOutputRecipe(5, 7, 1);
//
// SECOND RGBIO8 BOARD
// On Board 1, map pv output 6 to input/output 0 using recipe 1
rgbio8s[1].assignPvInput(6, 0);
rgbio8s[1].assignPvOutputRecipe(6, 0, 1);
// On Board 1, map pv output 7 to input/output 1 using recipe 1
rgbio8s[1].assignPvInput(7, 1);
rgbio8s[1].assignPvOutputRecipe(7, 1, 1);
// On Board 1, map pv output 8 to input/output 2 using recipe 1
rgbio8s[1].assignPvInput(8, 2);
rgbio8s[1].assignPvOutputRecipe(8, 2, 1);
// On Board 1, map pv output 9 to input/output 3 using recipe 1
rgbio8s[1].assignPvInput(9, 3);
rgbio8s[1].assignPvOutputRecipe(9, 3, 1);
// On Board 1, map pv output 10 to input/output 4 using recipe 1
rgbio8s[1].assignPvInput(10, 4);
rgbio8s[1].assignPvOutputRecipe(10, 4, 1);
// On Board 1, map pv output 11 to input/output 5 using recipe 1
rgbio8s[1].assignPvInput(11, 5);
rgbio8s[1].assignPvOutputRecipe(11, 5, 1);
// On Board 1, map pv output 12 to input/output 6 using recipe 1
rgbio8s[1].assignPvInput(12, 6);
rgbio8s[1].assignPvOutputRecipe(12, 6, 1);
// On Board 1, map pv output 13 to input/output 7 using recipe 1
rgbio8s[1].assignPvInput(13, 7);
rgbio8s[1].assignPvOutputRecipe(13, 7, 1);


I have only just started the 'set up' journey and am probably doing things back to front. Wouldn't be a challenge otherwise :ohmy:
Anyway my understanding of the above allocations, and please correct me if I'm wrong, is that you firstly you put in the number of the given item (vessel or pump or valve) that is allocated, and fixed, to that item elsewhere in the program (i.e. pump #1 or valve #5 for example which is unique to your setup). This is then followed by the actual pins, both input and output, on the RGBIO board itself. Then finally the colour recipe you want to be allocated to the LED associated with that specific input/output. Does that sound right?

Oh yeah if someone could give me a heads up on how to allocate the I2C address that would be good....
Last Edit: 3 years 3 months ago by Chilled.
The administrator has disabled public write access.

RGBIO8 Config Assistance 3 years 1 month ago #681

  • jvetter
  • jvetter's Avatar
  • Offline
  • Senior Member
  • Posts: 62
  • Thank you received: 3
  • Karma: 1
Did you figure out the RGB stuff yet? I can probably help if your still stuck.
The administrator has disabled public write access.

RGBIO8 Config Assistance 3 years 1 month ago #682

  • cobalt
  • cobalt's Avatar
  • Offline
  • New Member
  • Posts: 17
  • Thank you received: 4
  • Karma: 2
Hello.

Yes i worked it out. My controller is still in peices though. We had another baby and ive had no time to spend on the brewery lately. :( its all sitting in the shed still, one day soon ill get back into competing it.

Thanks for offering to help though. :)
The administrator has disabled public write access.
Time to create page: 0.087 seconds
Follow via Facebook Follow via Twitter

Login