Hi team, I want to turn ON/OFF a motor, LED, etc connected with Raspberry Pi 5 using Intuiface. Is it possible, and if so what are the key features to look into? I appreciate any help you can provide.
Hi @zuhair,
How you plan to connect this motor, LED and other devices to that Raspberry Pi? What kind of hardware controller are you planning to use?
Depending on your response the communication protocol used by that controller (ex: COM / Serial port communication, or WebSockets, or HTTP request, …), our answer will most likely be a “yes” but the “how” may vary (API Explorer for HTTP Requests, custom Interface Assets in TypeScripts for others).
If you were using controllers from Nexmosphere, you could use our Nexmosphere Interface Asset available off the shelf in Composer. (I don’t think they have motor controls though, but they had LEDs for sure)
I already connected my LED to the Raspberry Pi’s GPIO Pins and created a web server using Flask with Python. My goal is to establish communication between Intuiface and the Raspberry Pi. I want to create a button in Intuiface that, when clicked, turns on the LED connected to Raspberry Pi’s GPIO pin. Likewise, clicking another button in Intuiface should turn the LED off on the Raspberry Pi.
Just 1 thing to clarify first: Are you planning to run Intuiface on that Raspberry Pi, or is Intuiface running on a different device?
In both cases, if you have a Web Server with flask and Python (for example: https://github.com/CorrosiveKid/raspberrypi-gpio-api), you can then use our API Explorer to make the connection between the Intuiface Experience running on that device (using localhost IP address or using the Raspberry Pi local IP Address if running on another device on the same local network).
If you’re not familiar with the API Explorer, check our Academy course here, lesson #3
Seb