seeking experts advice.......

8 posts / 0 new
Last post
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

can anyone tell me the schematic diagram of the interfacing between microcontroller ATMEGA168P with the encoder HT640s???/

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Are you sure that you really need this IC? It does something that can be done in software in just few lines of code. What you really need is something named "TXM-xxx-LC" in the datasheet.

The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I'm affiliated with.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

alexru wrote:
Are you sure that you really need this IC? It does something that can be done in software in just few lines of code.

well what is the code?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

so can u tell me the code that can be used at the place of that ic????

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No, I'm not doing other people homework. Show me your code and I'll correct bugs in it, but I'm now writing the code for you.

Mod: stop using two accounts.

The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I'm affiliated with.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

so, after using that code there will be no requirement of encoder ic,????
is this right???

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Correct, you can even use standard UART module. All this IC does is data serialization, which will be done by the UART module. Connect UART TX pin to whatever "TXM-xxx-LC" is and you've got a transmitter.

The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I'm affiliated with.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

if i want to send some signals from microcontroller to my pc and then want to viusulize it.
how to connect both of them????
what softwares exactly should be used???