Search found 633 matches

by mrburnette
Tue Nov 23, 2021 2:24 am
Forum: General discussion
Topic: GUI for serial data representation/control
Replies: 12
Views: 4376

Re: GUI for serial data representation/control

node red is a lot of fun, it is highly recommended :lol: https://www.stm32duino.com/viewtopic.php?p=9015#p9015 +1 finally you started listening to me :lol: (... but I promise not to get too used to it ...) Many nice features of NodeRED, - Great documentation - Donated by IBM to Open Source - simple...
by mrburnette
Sat Nov 20, 2021 11:46 pm
Forum: General discussion
Topic: [ SOLVED ] Trying to add modbus to serialcommand??
Replies: 7
Views: 4467

Re: Trying to add modbus to serialcommand??

... Latest development is that now neither of my pills responds to request/serial message from Mach3, but both still correctly respond to message sent from realterm. :?: And device monitoring studio shows that both requests are equal so the only difference is the app used to open comm port and to s...
by mrburnette
Sat Nov 20, 2021 2:17 pm
Forum: General discussion
Topic: Function failure
Replies: 9
Views: 2663

Re: Function failure

... Having a CSMA protocol cannot prevent congestion issues as much as 100 %. For example, when the channel is free for all nodes and by chance, two nodes start to transmit simultaneously, in very rare situations, the received mixed signal of two nodes can be read like a normal one. This corrupts t...
by mrburnette
Fri Nov 19, 2021 11:06 pm
Forum: General discussion
Topic: [ SOLVED ] Trying to add modbus to serialcommand??
Replies: 7
Views: 4467

Re: Trying to add modbus to serialcommand??

with stm32 you have something more powerful than modbus, that bus is called USB. all you need is Serial.print(xxyy), to communicate with the host. I believe Op is wishing to drive ModBus to Mach3. The interface is well documented: http://www.homanndesigns.com/pdfs/Using_Modbus_with_Mach3.pdf I woul...
by mrburnette
Fri Nov 19, 2021 10:58 pm
Forum: General discussion
Topic: Function failure
Replies: 9
Views: 2663

Re: Function failure

... Maybe I have to deep dive into the function to see where it is failed with the wrong data array. This brings up the testing methodology around "know good data" and the need to have a dataset (file, function generator, or other source) for providing you "good test data.: The real-...
by mrburnette
Fri Nov 19, 2021 7:30 pm
Forum: General discussion
Topic: GD32f103 and I2C
Replies: 3
Views: 1948

Re: GD32f103 and I2C

Thanks for the answer - i was afraid i missed something not reading the forum for one entire year :) I do not think you have missed any critical items, but there have been numerous unhappy "clone" owners that have complained. Best to avoid these "almost similar" products unless ...
by mrburnette
Fri Nov 19, 2021 7:25 pm
Forum: General discussion
Topic: Function failure
Replies: 9
Views: 2663

Re: Function failure

Thank you mrburnette! Still looking for an appropriate solution. Just remember that a multitude of OS hacks rely upon function bad-behavior, such as buffer overflow. Without an OS or thread manager, essentially the return from any failed function can leave SRAM or the processor stack is a trashed c...
by mrburnette
Fri Nov 19, 2021 3:30 pm
Forum: General discussion
Topic: LoRa Node based on STM32F103C8 is hanging
Replies: 1
Views: 958

Re: LoRa Node based on STM32F103C8 is hanging

... The problem happens randomly after restarting the node by software, and trying to do the join process.... Intermittent software (or hardware) problems are the worst to diagnose. I would suggest stripping the code to a bare-minimum just to get to and beyond the failing point, the join. Then repe...
by mrburnette
Fri Nov 19, 2021 3:15 pm
Forum: General discussion
Topic: [ SOLVED ] Trying to add modbus to serialcommand??
Replies: 7
Views: 4467

Re: Trying to add modbus to serialcommand??

I must be missing something, I do not understand why the Arduino-SerialCommand lib is being used. It is very easy to deal with serial without a library and overhead. A couple of very old examples written years ago: https://forum.arduino.cc/t/dont-cross-the-streams-fp-scientific-calculator-serial-co-...
by mrburnette
Fri Nov 19, 2021 2:56 pm
Forum: General discussion
Topic: Function failure
Replies: 9
Views: 2663

Re: Function failure

The topic is too complex for a simple forum answer:
But, here are some resources which may prove useful:
https://www.google.com/search?q=arduino ... r+recovery

Go to advanced search