Dear all,
I have a microcontroller sending out data to another chip over a distance of about 30cm (1ft). The signal seems corrupted after I extend the distance further another few cm. Since I only need a little bit more extension (a few cm) in the transmission distance, is there any simple and cheap method to do this?
Thanks.
Regards,
Liak
Extending distance of TTL signal transmission
Moderators: David Barker, Jerry Messina
Hello liak,
Several methods can be employed.
1, make sure you have low value(say 1k for instance) pullups on the transmitter and pull downs on the receiver, this will give very sure 0 and 1 signals.
2, use as slow a speed as you can, this will be very important.
3, use screened cable for the data and do not run the cable near ither data or power supply lines.
4, like RS232 use a higher voltage to send the data and then reduce it at the receive end.
5, make sure the power supplies for both receive and transmit are very clean and are not modulated by noise.
6, make sure there is a very good ground signal for the data that starts at the transmit data point and goes to the receive data point, any power supply current flowing down the data ground will corrupt the signal.
Over such a small distance these ideas should be easy to test and get you working.
Good luck.
Several methods can be employed.
1, make sure you have low value(say 1k for instance) pullups on the transmitter and pull downs on the receiver, this will give very sure 0 and 1 signals.
2, use as slow a speed as you can, this will be very important.
3, use screened cable for the data and do not run the cable near ither data or power supply lines.
4, like RS232 use a higher voltage to send the data and then reduce it at the receive end.
5, make sure the power supplies for both receive and transmit are very clean and are not modulated by noise.
6, make sure there is a very good ground signal for the data that starts at the transmit data point and goes to the receive data point, any power supply current flowing down the data ground will corrupt the signal.
Over such a small distance these ideas should be easy to test and get you working.
Good luck.
I'll put a disclamer here first as i've never tried to connect to an sd card.
looking at this spec i could imagine that the drive strength to the card is a bit weak.
try changing the resistor divider values to 100 and 200 ohms the pic will easily drive that.
infact ideally put the100R at the transmit end and 200R resistors at the sd card end of the cable, this will act as almost ideal impedance matching to the cable.
another thing you can try if your using software spi is to tweak the routine to delay the clock transition more after a data transition.
do you know if its reading writing or both?
looking at this spec i could imagine that the drive strength to the card is a bit weak.
try changing the resistor divider values to 100 and 200 ohms the pic will easily drive that.
infact ideally put the100R at the transmit end and 200R resistors at the sd card end of the cable, this will act as almost ideal impedance matching to the cable.
another thing you can try if your using software spi is to tweak the routine to delay the clock transition more after a data transition.
do you know if its reading writing or both?
Hmmm..
Dear doj and richard,
Thanks for the replies. I have tested the pull-ups. They helped a lot, just did miracle! Thanks.
Richard, just to clarify. I am not sure if you have misplaced your reply to my other queries on SD card in another thread here. But thanks anyway, I will look into the SD connection again.
Regards,
Liak
Thanks for the replies. I have tested the pull-ups. They helped a lot, just did miracle! Thanks.
Richard, just to clarify. I am not sure if you have misplaced your reply to my other queries on SD card in another thread here. But thanks anyway, I will look into the SD connection again.
Regards,
Liak