Home-built lap counter

before a track could be used for serius racing and not only for practice, there must be a lapcounting system.
kiklo
Administrator
Posts: 485
Joined: Mon 9. Nov 2015 11:49
Location: Norway
Contact:

Re: Home-built lap counter

Post by kiklo »

kiklo wrote:As we are working with some IO issues on Arduino and RC I have put up a small table to compaire settings and output:

colum 1
magracing car no from web

colum 2
dip settings 0=low pos, 1=high pos.

colum 3
car no readings in hex from the Arduino (human readable - enabled)

No00 0000 0
No01 0001 8
No02 0010 4
No03 0011 C
No04 0100 2
No05 0101 A
No06 0110 6
No07 0111 E
No08 1000 1
No09 0110 6
No10 1010 5
No11 1011 D
No12 1100 3
No13 1101 B
No14 1110 7
No15 1111 F

The correct reading here should be :

No00 0000 0
No01 0001 8
No02 0010 4
No03 0011 C
No04 0100 2
No05 0101 A
No06 0110 6
No07 0111 E
No08 1000 1
No09 1001 9
No10 1010 5
No11 1011 D
No12 1100 3
No13 1101 B
No14 1110 7
No15 1111 F
Racing Regards

Kim K.
Post Reply