Page 1 of 1

Connecting Color Sensor and Servo with Simulation

Posted: Tue Jan 28, 2025 8:47 pm
by mbarro18
Hello there, I am relatively new to the flowcode environment and I have some questions for those more advanced users.

My list of needs
Control a servo and color sensor to detect color of pucks in a hopper (black/white) and move servo one way or another depending on color. (This I believe is easy through standard flowcode using an arduino)

After watching some videos, it seems like it is possible to import a STEP file of a setup and run a simulation. Would simulating a moving arm and pucks be achievable within flowcodes environment? Ideally I am able to connect the simulation to a real world prototype and have the data between the two synced. Is this something that has been done before?

Re: Connecting Color Sensor and Servo with Simulation

Posted: Tue Jan 28, 2025 9:42 pm
by chipfryer27
Control a servo and color sensor to detect color of pucks in a hopper (black/white) and move servo one way or another depending on color. (This I believe is easy through standard flowcode using an arduino)
Have you looked at Matrix Smart Factory or Robot Arm? Those products may explain the principles.

Regards

Re: Connecting Color Sensor and Servo with Simulation

Posted: Tue Jan 28, 2025 9:55 pm
by mbarro18
I had not seen either of those, they seem like great products. However, I am more looking to explore the capabilities of some freeware and flowcode caught my attention as being an Arduino SIM. I don't think for my application I need to get into a full PLC for just exploring what is out there. However I do greatly appreciate the suggestion!

Re: Connecting Color Sensor and Servo with Simulation

Posted: Wed Jan 29, 2025 8:50 am
by medelec35
Hello, have you read this wiki page?
When you have learned how to rotate objects then you can add the colour sensor to your project.