Windows application

How does one create a windows app to change certain parameters of the MCU like Mini Maestro has for asigning servos to channels and setting servo positions etc…?

2 Likes

you will need an pci i/o card to start with…to control your servos…you are better off using your pc to control something like am audino…what hardware do you have to start with…???

1 Like

Hi Jasmin,

That’s a tricky one! Getting code on your PC to talk to a microcontroller is the easy bit, but creating a GUI is the hard part. Frameworks like GTK and Qt are the industry standard for stuff like this. There’s also Electron as well, but that’s only useful if you have a background in web development.

https://docs.python.org/3/library/tkinter.html

Take a look at those and let us know if you think you’re up for it :slight_smile:
-James

2 Likes

Hi Jasmin,

Thanks for making a post on the forum. What kind of hardware are you currently running? Depending on the board you’re using there are various methods of controlling any connected GPIO or other external hardware devices.

For example, many of the Latte Panda boards have an integrated Arduino-clone into the board itself which essentially allows you to treat it as a connected device to a COM port, even though it’s on the board itself, others dev-boards will have particular libraries within some languages that allow you to control the board’s hardware using the relevant API (such as the C++ and Python RPi GPIO libraries for the Raspberry Pi and there would likely be similar resources for the various ARM and x86 architecture of dev-boards).

2 Likes

c++
it`s network framework or something
generally installs with windows update or a graphics driver it al;lows c++ to operate
it allows you to code anything on a com or serial port

1 Like

I want to create an app that’s going to have an option to set servo angles and movements within a time frame on a STM32 MCU and it will also have to be able to show data received from LoRa Module in real time. So basically it’s a tracking device of sort

Hi Jasmin,

We’re you looking for a full interface?

You could setup serial commands and other parameters being passed through to create/queue an action on the STM. @Oliver mentioned an integration between MATLAB/Octave that allows you to send this data or you could use a raw serial console like CoolTerm.

All of the LoRa modules that I’ve come across have used SPI to communicate so you’ll likely have to tap into your MCU to talk to the radio.

1 Like