r/ArduinoHelp • • May 21 '26

Help with setup - Spreadsheet to run LED's

I'm new to setting up an arduino and need help with how to get data from a spreadsheet to light up LED's. I've attached images of where I've got to and need help pointing in the direction of next steps please.

I have a spreadsheet with an input screen (Green boxes with amount) this drives the data screen with zero's and one's, where 'one' should light up the corresponding LED.

I want this to change the lights in real time so when the amount input is changed the lights will change.

Any help appreciated.

2 Upvotes

9 comments sorted by

View all comments

Show parent comments

1

u/Coffeenerd2026 May 24 '26

Its to be used by customers at the roastery in person to create their own blend of coffee. The idea is to make a large interactive display with the lights to show the flavour profile change as they add or remove different origins of coffee on the laptop input screen.

As different coffee origins can contain the same profile of, for example chocolate, there is a calculation field to add these together depending on the origin selected. I have then created the sheet with 1's and 0's to correspond to the individual lights. So if the blend contains a quantity of coffees that would result in 4 chocolate profile out of 10 then 4 lights in the chocolate section should light up - this is shown in the image as A2 - D2 having a 1 in them (The formula in cell D2 is =IF(Data!$B$48>=4,1,0).

I understand this may not be the best way to create a user interactive product so if there is a simpler way any suggestions welcome!

1

u/Delta_G_Robotics May 24 '26

So we're still at the point of creating this spreadsheet. That's where you're stuck because it is a bad idea. If you have input in terms of what region of coffee a person wants, then feed that information to the Arduino directly and do the calculation there. Or do the calculation in whatever program you're using for the user to input his selection.

I really thought I might could help you, but it really sounds like you're dedicated to this bad implementation idea and don't want to discuss the bigger picture.

If you want something where a customer comes up and presses a button for a particular flavor of coffee and that lights up particular lights on a board to indicate how much of each flavor goes in, then that is trivial to do.

If you insist that a spreadsheet be involved in some way I still don't quite understand, then I think you're on your own with this one. This is a pure XY problem. If you're dedicated to solving your particular idea rather than actually creating the thing then I will leave you to it.