M
Martin Cibulski
Hi,
I built a telescope controller based on the Atmel AVR mega128 processor and
two integrated stepper motor drivers.
The controller's user interface is a small handbox with 8 bushbuttons and a
HD44780 compatible LCD (2x8 characters).
More details can be seen at:
http://martin-cibulski.de/atm/mount_controller_4/index.htm
Currently the handbox has a second CPU and is connected to the main CPU via
RS232.
But I think of another way to connect the handbox because I want to keep
both RS232 connections of the main CPU free for other uses.
Instead of the second CPU there could be simple shift registers in the
handbox (74HC166 for reading the buttons and a 74HC595 for writing to the
LCD).
My Question is:
Is it possible to control serial shift registers in the handbox from the
main CPU over the cable ?
The cable can be up to 5 meters long and I don't know if there are unwanted
reflections or oscillations on the cable.
If this happens the shift register will get wrong clock signals.
Has anybody successfully connected such shift registers over a long
connection ?
What can I do to avoid unwanted effects on the cable ?
Thanks for help,
Martin Cibulski
I built a telescope controller based on the Atmel AVR mega128 processor and
two integrated stepper motor drivers.
The controller's user interface is a small handbox with 8 bushbuttons and a
HD44780 compatible LCD (2x8 characters).
More details can be seen at:
http://martin-cibulski.de/atm/mount_controller_4/index.htm
Currently the handbox has a second CPU and is connected to the main CPU via
RS232.
But I think of another way to connect the handbox because I want to keep
both RS232 connections of the main CPU free for other uses.
Instead of the second CPU there could be simple shift registers in the
handbox (74HC166 for reading the buttons and a 74HC595 for writing to the
LCD).
My Question is:
Is it possible to control serial shift registers in the handbox from the
main CPU over the cable ?
The cable can be up to 5 meters long and I don't know if there are unwanted
reflections or oscillations on the cable.
If this happens the shift register will get wrong clock signals.
Has anybody successfully connected such shift registers over a long
connection ?
What can I do to avoid unwanted effects on the cable ?
Thanks for help,
Martin Cibulski