Data logging and controlling STM devices via computer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 12:26 AM - edited ‎2024-09-23 2:08 AM
Hello Everyone,
I'm about to start a new project where I have some products built on STM32.
Now I wanted to connect those devices to the microsoft widows based computer and build a windows software to control the devices and get the stored data from devices (data is stored in SD card in text format).
But I'm not sure about how to start this like which protocol should i use (I considerd RS-485 or LAN), and platform or lanuage to build a computer software.
Please give me suggestion on this if anyone has worked on such projects.
Thank you in advance.
- Labels:
-
COMP
-
STM32F0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 12:43 AM
@prathmesh wrote:the computer .
What computer?
The interfaces available on "the computer" will be a key constraint in defining what connections are appropriate!
@prathmesh wrote:data is stored in SD card
So the simplest way could be to simply remove the SD Card from the STM32, insert it into "the computer", and just read it.
There are many options:
- USB
- Virtual serial
- MSC
- other
- Serial (RS232, RS485, etc)
- Ethernet
- Wireless
- etc, etc, ...
@prathmesh wrote:platform or language to build a computer software.
Use whatever language you prefer that's available on "the computer".
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 1:27 AM
Hello Andrew,
There are multiple devices connected on the same computer and i wanted to control and also read the data stored in SD card (every device has an SD card).
@Andrew Neil Use whatever language you prefer that's available on "the computer".
Yes but I'm asking for which platform will be more suitable for this type of application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 1:49 AM
@prathmesh wrote:Yes but I'm asking for which platform will be more suitable for this type of application.
You mean you've not yet decided on what "the computer" is?
That will very much depend on what you need to do with the data once you've retrieved it from all your multiple STM32s.
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 2:07 AM
Right now I wanted to develope Windows based application for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 2:10 AM
So your platform is Windows, then.
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 2:25 AM
Yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 2:28 AM
So what is your question here, then?
@prathmesh wrote:@Andrew Neil Use whatever language you prefer that's available on "the computer".
Yes but I'm asking for which platform will be more suitable for this type of application.
There can't be very many languages that don't have Windows support ...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 4:40 AM
Probably Python will be the easiest language to implement this functionality on windows. you can use rs485, I2C or CAN , since there are multiple stm32 devices on the bus, otherwise you can use rs232. If you have large amount of data to be read, then eth is better to be used. you have to decide on the protocol like a question and answer to the selected slave.
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 9:51 PM
Thank you Techn.
