Running Arduino sketches using python tkinter

Hi everyone

i am wondering if it is possible to run an Arduino sketch after pressing a button on a Tkinter application, so for example, if button A gets pressed in a Tkinter application, the call back function will run an Arduino sketch which in turn could tell a stepper motor to move to Point A.

Thanks Kyran

Hi Kyran,

Is it possible to communicate over serial through Tkinter? I would think that you could make this happen any number of different ways. A button A press would need to send a signal over USB (or other method) to the Arduino. The Arduino would be running a sketch waiting for the command.

Let me know what you find out!