Martin, the program works very well. This will further my understanding of Data Arrays. I will now be able to use the conversion block in my programs.
You are always such a great support for us.
Thank you very much and everyone for your great help.
Regards,
Pierre
Search found 28 matches
- Tue Mar 17, 2026 3:05 am
- Forum: Projects - Embedded
- Topic: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
- Replies: 17
- Views: 3026
- Tue Mar 17, 2026 1:05 am
- Forum: Projects - Embedded
- Topic: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
- Replies: 17
- Views: 3026
Re: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
Hi Martin, you are amazing, I have done a lot of flowcode over the years but this is the first time I have to read and convert data of this kind from a UART. Great work. I will test it tonight and let you know. This helps me to understand the String manipulation at greater level.
Regards,
Pierre
Regards,
Pierre
- Fri Mar 13, 2026 5:47 pm
- Forum: Projects - Embedded
- Topic: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
- Replies: 17
- Views: 3026
Re: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
Thank you for your help, I intend to use this in the future projects.
Regards,
Pierre
Regards,
Pierre
- Fri Mar 13, 2026 12:20 am
- Forum: Projects - Embedded
- Topic: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
- Replies: 17
- Views: 3026
Re: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
Hi Martin and everyone, I was able to use Martin's idea and wrote a program that worked just fine for my application of water level reading. Martin, I have worked with the AJ-SR04M on the #2 mode. That is the one that sends Hex data through the UART at 9600 baud. The data is 4 bytes. Start byte, MSB...
- Fri Mar 13, 2026 12:06 am
- Forum: General
- Topic: HexToDecimal
- Replies: 4
- Views: 567
Re: HexToDecimal
Thank you everyone for your replies. Sorry, I could have written more details. I started this thread in the embedded projects and I should return there as it is regarding the AJ-SR04M ultrasonic module. I will ask the question there and make myself clearer.
Regards,
Pierre
Regards,
Pierre
- Thu Mar 12, 2026 2:10 am
- Forum: General
- Topic: HexToDecimal
- Replies: 4
- Views: 567
HexToDecimal
Hi everyone, I search the forum and could not find a way to convert HexToDecimal, function or otherwise that I could use while reading UART data. IE: receiving bytes and convert so I can read Hex data and convert it to a usable form. Does someone have a solution? Thank you for your help. Regards, Pi...
- Sun Mar 08, 2026 12:05 am
- Forum: Projects - Embedded
- Topic: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
- Replies: 17
- Views: 3026
Re: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
As usual a great thanks to your Martin and the others for your replies and work. I knew this was the problem but I was not going to change to component internal code. So the best is to look for another sensor or use a variation with a resistor on R19. I was aware of the R19 function but hopping I co...
- Sat Mar 07, 2026 2:28 am
- Forum: Projects - Embedded
- Topic: AJ-SR04M Returning 9999 while using the AJ-SR04M Component
- Replies: 17
- Views: 3026
AJ-SR04M Returning 9999 while using the AJ-SR04M Component
Hi anyone, can someone help me figuring out why I am getting the same value, 9999, when I use the AJ-SR04M in Flowcode V10. The HC-SR04 component works just fine. I have change the timers and prescaler but still the same value. I have tried other new units, but still the same. Can someone help pleas...
- Thu Jan 29, 2026 7:23 pm
- Forum: Projects - Embedded
- Topic: DS3231 Alarm Int Output When On Battery Backup
- Replies: 3
- Views: 866
Re: DS3231 Alarm Int Output When On Battery Backup
Thank you chipfryer27 for your reply, I am sorry if I was not clear. All I need is to enable the SQW output that matches the alarm when the module goes to battery backup, the battery on the module. I have set the module to go low at every minute with Flowcde already when on power. So all I need, lik...
- Thu Jan 29, 2026 12:46 am
- Forum: Projects - Embedded
- Topic: DS3231 Alarm Int Output When On Battery Backup
- Replies: 3
- Views: 866
DS3231 Alarm Int Output When On Battery Backup
Hi everyone, does anyone have a code for Flowcode that I can use to enable the alarm Int output while the DS3231 is on battery backup. At this time my code works fine on power. This would help me to wake the MCU circuits with a power up circuit that I would design. I would be able to shut the main v...