Прошивка для STM32

Данный форум предназначен для обсуждения всех типов систем, построенных на основе STM32.
Admin
Администратор
Сообщений: 96
Зарегистрирован: 22 мар 2018, 06:59

Re: Прошивка для STM32

Сообщение Admin » 27 янв 2022, 07:53

My dear friend,
if in text you don't find any description about ADC, this mean, that ADC was not included in this release.
BR, support team.

P.S. Yes, it possible to include in firmware, if you ready to pay time for programming specialist.
P.S.2. Yes, price was start from 500$ USA.

qwertyqww
Сообщений: 8
Зарегистрирован: 25 янв 2022, 10:40

Re: Прошивка для STM32

Сообщение qwertyqww » 27 янв 2022, 18:39

hello admin, good evening
I've been looking for a good example and tutorial for one wire communication for about an hour. Can you share the link with the appropriate project? Unfortunately, it doesn't make much sense with Russian google translate.

Admin
Администратор
Сообщений: 96
Зарегистрирован: 22 мар 2018, 06:59

Re: Прошивка для STM32

Сообщение Admin » 28 янв 2022, 08:32

For 1-wire nothing special. Supported only DS18B20 devices.
Step 1 - activate master mode. Choose 1-wire master and press Write to PLC. Restart device.
Step 2 - connect you device to port, don't forget resistor to VCC.
Step 3 - start automatic search by press Search slave ->Start search.
Step 4 - after finish operation, press Add new in the table.
Step 5 - press Write to PLC.
Operation finished.

qwertyqww
Сообщений: 8
Зарегистрирован: 25 янв 2022, 10:40

Re: Прошивка для STM32

Сообщение qwertyqww » 14 фев 2022, 10:26

Hi.

Thank you for response.

Now I'm trying to communicate with modbus according to this example.
Link: http://92.53.77.107/mediawiki/index.php ... %B8_RS-485

Currently I wasn't succeed yet but I'm working on it. I'm trying to do same example on this page but I m having problems about communicate plc & pc. Can you please share settings on configurator software for this modbus application. I couldn't get it so need some guidance.

And also , sometimes plc(bluepill) getting off position ( yellow led stops lighting) when i plug modbus hardware on my pc. Couldn't understand why this is happening. Do you have any suggestions ?

Admin
Администратор
Сообщений: 96
Зарегистрирован: 22 мар 2018, 06:59

Re: Прошивка для STM32

Сообщение Admin » 14 фев 2022, 12:48

Sorry, but in you post was not enough information for support.
Need log stream data from COM port, description of you system, setting for port communication.
Also donation to support project are welcome - don't forget about this.
BR, support team.

qwertyqww
Сообщений: 8
Зарегистрирован: 25 янв 2022, 10:40

Re: Прошивка для STM32

Сообщение qwertyqww » 15 фев 2022, 07:35

Hello again.
I made the same modbus sample model that I sent in the previous article above, using the same equipment. But as I said, there were some disagreements. I will now describe the problems in more detail. I set up the sample circuit according to the scheme specified in the link. Then I made various adjustments through the configurator software, but I am not sure of its accuracy. so i need to know that configurator adjustments for sample app. Unfortunately, there are not many transcripts and it is not clear where to start. Again, consider the pictures. There is also sample ladder code in plc. this code is the same as the code in the example, but when I open the qmodbus software, the text is constantly scrolling as in the figure and I don't really know what it means.

I have to say the following about donation. yes you are right you need some support but first i want to check if it really works like fx2n. I do not want to support a project that never works or does not even come close to fx2n or that I will not receive software support. so i want to try some project. You Russians come to Turkey a lot. I live in a holiday resort and I can host you here. I also have many Russian acquaintances and friends as partners in various businesses.
Вложения
IMG20220215102033.jpg
IMG20220215102033.jpg (14.8 MiB) 20082 просмотра
IMG_20220215_101859.jpg
IMG_20220215_101859.jpg (4.26 MiB) 20082 просмотра

Admin
Администратор
Сообщений: 96
Зарегистрирован: 22 мар 2018, 06:59

Re: Прошивка для STM32

Сообщение Admin » 15 фев 2022, 08:07

My friend!
About donation, or support - this is not a payment for a service, it's just like that, for a good project. If you want commercial support - you know the link, you can buy it there.
About you data - here no LAD diagram, only photo with setting and modbus master program.
It's not clear to me why you are trying to run two masters? It can't work like that, modbus can only have one master. And as you can see from the log, the blue pill sends a packet that the program cannot accept, because it is also a master. It seems to me that if you connect a program that will work as a slave, you will be happy.
In almost all countries there are colleagues who will gladly provide accommodation and assistance. In Istanbul - in the province of Ushkudar)
The commercial value of this project is zero, so there is no need to advertise it.
BR, support team.

qwertyqww
Сообщений: 8
Зарегистрирован: 25 янв 2022, 10:40

Re: Прошивка для STM32

Сообщение qwertyqww » 16 фев 2022, 11:16

Thank you so much.

Now modbus slave is working because of your above post. Yes i was doing something wrong :-D

Now i need a modbus master example i have already posted that request on another page of this website.

Wow, Üsküdar is also great place you are luck. If you will come to Bodrum let me know ;-)

Admin
Администратор
Сообщений: 96
Зарегистрирован: 22 мар 2018, 06:59

Re: Прошивка для STM32

Сообщение Admin » 16 фев 2022, 15:10

Always happy to help!
Just swap master and slave, and that's it.
BR, support team

SergP01
Сообщений: 7
Зарегистрирован: 14 сен 2022, 06:17

Re: Прошивка для STM32

Сообщение SergP01 » 30 сен 2022, 09:11

вопрос от полного чайника
прошивка G34
заливаю демку PWM .... всё работает
делаю свою мигалку...
выход Y7 не работает...
там какое то ограничение в прошивке?


Вернуться в «Системы на основе STM32»

Кто сейчас на форуме

Количество пользователей, которые сейчас просматривают этот форум: нет зарегистрированных пользователей и 4 гостей