Rotary pulse encoder issue generating pulses Here's some cheerful pseudo-code. Putting it into AVR assembler is left as an exercise for the student:
Begin:
Counter = 0
If A is High, Go to A High Loop else
go to A Low...
Thursday, 29 October 2020 - 16:11
Rotary pulse encoder issue generating pulses You need to re-read post #5, and the links from clawson's post #6. For direction, you need to watch when your signals change from high to low. Or the other way. ...
Thursday, 29 October 2020 - 15:59
Rotary pulse encoder issue generating pulses First question: Do you actually have a quadrature encoder?
Second question: Do you have some way of seeing that you are getting anything? An LED would do...
Thursday, 29 October 2020 - 15:47
PCB ID Hardware or Firmware ? sparrow2 wrote:
We don't know the differences but perhaps it's all in all is cheaper to have everything on all boards
Ala IBM in the 'good old days', when...
Thursday, 29 October 2020 - 15:28
PCB ID Hardware or Firmware ? jaksel wrote:
Do you mean that the binary must be identical or do you mean that the source code is identical? Those are very different!
This being, of course, what my...
Thursday, 29 October 2020 - 12:46
PCB ID Hardware or Firmware ? djoshi wrote:
Scroungre wrote:
And it would be then up to you to keep track of which SN was built with which hardware. S.
Wouldn't that mean, if board would have a...
Thursday, 29 October 2020 - 11:13
PCB ID Hardware or Firmware ? awneil wrote:
Scroungre wrote:
Maybe there's cheaper 1-Wire gizmos out there.
Dunno how prices compare, but they certainly make a 1-Wire gizmo which is purely...
Thursday, 29 October 2020 - 08:47
PCB ID Hardware or Firmware ? Scroungre wrote:
Unique and unchangeable. S.
Quoting myself, poor style, I know, but a few more things spring to mind.
Ask them nicely, you'll also get...
Thursday, 29 October 2020 - 08:12
PCB ID Hardware or Firmware ? I was idly plinking at a Python script that would, as part of the AVR programming sequence, deliberately park a unique serial number (SN) somewhere in the Flash - by importing the...
Thursday, 29 October 2020 - 07:28
Cable assembly crossed vs straight N.Winterbottom wrote:
I don't recommend using that cable - it was designed by a f&*kwit. Doing other than 1-1 will spread confusion for evermore and every technician that...
Tuesday, 27 October 2020 - 13:53
assembler programming styles I've never seen any reason NOT to use AVRasm (1&2). And yes, I rename all my registers as per js in #14 (except the pointers XYZ...). Of course, I list them...
Or you could do what clawson said. S.
Here's some cheerful pseudo-code. Putting it into AVR assembler is left as an exercise for the student: Begin: Counter = 0 If A is High, Go to A High Loop else go to A Low...
You need to re-read post #5, and the links from clawson's post #6. For direction, you need to watch when your signals change from high to low. Or the other way. ...
First question: Do you actually have a quadrature encoder? Second question: Do you have some way of seeing that you are getting anything? An LED would do...
sparrow2 wrote: We don't know the differences but perhaps it's all in all is cheaper to have everything on all boards Ala IBM in the 'good old days', when...
jaksel wrote: Do you mean that the binary must be identical or do you mean that the source code is identical? Those are very different! This being, of course, what my...
djoshi wrote: Scroungre wrote: And it would be then up to you to keep track of which SN was built with which hardware. S. Wouldn't that mean, if board would have a...
awneil wrote: Scroungre wrote: Maybe there's cheaper 1-Wire gizmos out there. Dunno how prices compare, but they certainly make a 1-Wire gizmo which is purely...
Scroungre wrote: Unique and unchangeable. S. Quoting myself, poor style, I know, but a few more things spring to mind. Ask them nicely, you'll also get...
I was idly plinking at a Python script that would, as part of the AVR programming sequence, deliberately park a unique serial number (SN) somewhere in the Flash - by importing the...
N.Winterbottom wrote: I don't recommend using that cable - it was designed by a f&*kwit. Doing other than 1-1 will spread confusion for evermore and every technician that...
I've never seen any reason NOT to use AVRasm (1&2). And yes, I rename all my registers as per js in #14 (except the pointers XYZ...). Of course, I list them...
Pages