1

How would I make a GUI program on a different platform to control my Arduino MP3 player using the Arduino's serial port.

I would like the GUI program to show images like this for 'start':

enter image description here

...and this for 'next':

enter image description here

And when I click the images I want this GUI program to write strings to the Arduino's serial port. I want to do this because I have create an Arduino music player where a song can be selected by typing 'next', 'prev' and 'start' into the serial monitor.

Instead of using the serial monitor, I want to make a GUI program that has buttons that will send 'next' when I click the next button and 'start' when I click the start button.

7
  • 1
    I think this belongs more in a forum for the operating software you want to "display these images" in than in the Arduino forum. – Andre Courchesne Dec 31 '16 at 4:19
  • @AndreCourchesne The thing is, I don't know which software to use to do what I want to do. – user29569 Dec 31 '16 at 4:22
  • Depends on the operating software you want to support (Windoze, Linux, macOS,...). You can do this in various programming language and the choice will depend on the operating software. Most likly it will be in C (C++, C#, ObjectiveC,...) or a more script like language like Qt. – Andre Courchesne Dec 31 '16 at 4:32
  • Indeed, this is not an Arduino question at all. Figuring out how to do serial communications with an Arduino from the programming language/environment you choose for the gui might just barely be, but the gui issue itself is not remotely an Arduino question. Also keep in mind that it doesn't really make any sense to use an Arduino, which is quite bad at audio, as a music player accessorize to a computer capable of displaying a gui, which is most likely halfway decent at audio. – Chris Stratton Dec 31 '16 at 5:06
  • I want to make a program that has buttons that will put in 'next' for the user when they click a button such as this: - on the Arduino? On what screen? – Nick Gammon Dec 31 '16 at 7:36
1

When interfacing the Arduino with other software, consider using Jubito.

3
  • @Amorris, I understand what you are asking for. But people are confused with the wording in your question. So much so that it is 1 vote short of getting closed. Since it is clearly a question that has been asked by others (as evident by the Arduino page I linked to), I'd like you to re-word your question to make it plan what you are asking for as well as accept the above answer before someone cast the closing vote. Let me know if you would like me to edit your question if you do not see difficulties others are having with it. – st2000 Dec 31 '16 at 20:41
  • This is basically a link-only answer, which is to say a good demonstration of why questions like this are not a fit here. – Chris Stratton Jan 1 '17 at 21:09
  • How would you like the answer to be expanded? To my point, I did not know this type of resource (easy to make GUI tools on various platforms to interface with Arduinos) existed until I researched this question. So I'm all for giving this option more exposure. And I think arduino.stackexchange.com is turning into a very influential goto site for those interested in learning how to work with Arduinos. – st2000 Jan 1 '17 at 23:18
0

I have used AutoIt (https://www.autoitscript.com/site/autoit/) in the past to make a GUI that communicated bi-directionally with an Arduino Uno. It's much like the old MS-Basic. But it for Windoze only.