David Watson (@DKWatson)

Systems engineer specialising in motion control oriented towards industrial automation, robotics and remotely piloted vehicles.

Hey,I don't know how directly related it is, but it does dovetail somewhat with the (recent) new patent laws (U.S.). Previously a design could be put forward for...

Re: casting to union type vs struct type

Reply posted 3 years ago (03/30/2021)
Can you post an example of what doesn't work? I do both and they both work.

Re: Questions re Coding Efficiency

Reply posted 3 years ago (03/30/2021)
If you examine the asm created by the compiler you will recognize that multiple if/then, nested if and switch statements are executed sequentially and as such the...

Re: Communication protocol suggestions

Reply posted 3 years ago (03/22/2021)
I use the 9-bit UART RS485 protocol as discussed and referenced by Matthew. My 'nodes' are Arduino Nanos all connected to an Arduino Mega2560 which in turn is connected...

Re: What are the odds? (Random Numbers)

Reply posted 3 years ago (02/01/2021)
For interest, I once used an algorithm for encryption based on a deck of playing cards. This method was used during WWII as soldiers often carried cards and would...

Re: Skillsets from 8-bit, 16-bit, 32-bit

Reply posted 4 years ago (12/21/2020)
Hi there. If you program in C utilizing factory provided libraries, the same compiler and IDE/toolchain, then there's not a great deal of difference, bearing the...
There is more to consider than simply the width of the internal architecture of the CPU. The first thing to look at is the width of the data bus. If this is only...

Re: Software expands to fill the memory available

Reply posted 5 years ago (11/14/2019)
The concept of "free" memory is spilling over to the MCU playing field. It's a catch-22 as companies demand a quick turnaround hence the need for a high level development...

Use this form to contact DKWatson

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address