You will need a laser engraved art work where the LEDs in the base project colours to the acrylic art on top. An hand held IR controller that comes with the art work allows you to turn it on/off, changes colours and patterns, Assembly the Grove IR Transmitter( IRTX) and Receiver (IRRX) onto a Lego base board together with the Seeeduino Lotus computer, Connect the IRRX to D2 and IRTX to D3. Connect the Lotus to your PC so that you can download the Arduino program and late communicate with node-red.
The goal here is to create an array of arrays to represent the hand held IR controller. Use the Arduino program in the Seeed Library - see the wiki for the Grove IR Receiver on - http://wiki.seeed.cc/Grove-Infrared_Receiver/ Modify the code so that is it compatible with Microsoft Excel and save the file as an CSV - comma delimited format. That is you will create an array of arrays to paste into your Ardunio program at the next step.
For input the PC keyboard will initially be used but this will be replaced with a node-red program. The basis of the code is the Seeed example on the wiki. Use parameters to make the void dtaInit() function available any push button on the hand held controller. So it becomes:
dtaSend[BIT_LEN] = 9; // all data that needs to be sent
dtaSend[BIT_START_H] = 183; // the logic high duration of"Start"
dtaSend[BIT_START_L] = 89; // the logic low duration of"Start"
dtaSend[BIT_DATA_H] = 11; // the logic"long"duration in the communication
dtaSend[BIT_DATA_L] = 33; // the logic"short"duration in the communication
dtaSend[BIT_DATA_LEN] = 4; // Number of data which will sent. If the number is other, you should increase or reduce dtaSend[BIT_DATA+x].
dtaSend[BIT_DATA+0] = 0; // IR Remote 'ON"Button - data that will sent
dtaSend[BIT_DATA+1] = 247;
dtaSend[BIT_DATA+2] = LEDIRCA[LEDIRCPB];
dtaSend[BIT_DATA+3] = LEDIRCA[LEDIRCPB];
Your main loop just polls the coms port and calls dtaInit() and IR>Send(dtaSend,38). After compiling and downloading onto your Lotus just enter codes using the PC keyboard with a serial monitor on your PC. The codes are simply numbers of the keyboard starting at the top left with 0. The"RED"key becomes"4","GREEN"is '5' and blue is"6". You are node ready to do the node-red programming.
You have a wide range of PCs to choice from. I used a PC but you can also put node-red onto your Raspberry Pi, BBB, or Mac. Emulate the hand held controller with inject nodes configured as strings. Assign a label to each and add the string value, together with"\n"to complete the string. Download the Serial Port node and configure it as 115200 Baud. The extra code'\n' triggers the serial node to transmit to the Lotus computer. This is just a demo and you can now experiment with other relationships such as lining weather measurements or musical parameters to the LEDs on the Art work