Re: PIC, Keyboard, and USART



On 23 Mar 2006 13:16:40 -0800, "David L. Jones" <altzone@xxxxxxxxx>
wrote:

Abstract Dissonance wrote:
I'm going to try to program a simple keyboard translator using the PIC2455
which has a built in EUSART. At this point I just want to get the keyboard
codes into the pic and I just want to run this by you guys to make sure I'm
on the right track.

1. Setup hardware. Basicaly just have to connect the Data and Clock lines to
the EUSART pins on the pic
2. Enable the USART on the pic for Asynchronous mode and enable auto baud
rate dection(to make it easy).

No. You will need *synchronous* slave mode which uses the external
clock from the keyboard.
<snip>

Actually, the clock line should also be able to be driven by the
non-keyboard end of things, as well. The other end is responsible for
it's own clock driving action. These are bi-directional lines
supporting bi-directional communication and there is a negotiating
protocol that should be supported.

Jon
.



Relevant Pages

  • Re: PIC, Keyboard, and USART
    ... which has a built in EUSART. ... Basicaly just have to connect the Data and Clock lines ... clock from the keyboard. ... blink on certain codes). ...
    (sci.electronics.basics)
  • Re: PIC, Keyboard, and USART
    ... which has a built in EUSART. ... Basicaly just have to connect the Data and Clock ... clock from the keyboard. ... supporting bi-directional communication and there is a negotiating ...
    (sci.electronics.basics)
  • Re: PIC, Keyboard, and USART
    ... the keyboard codes into the pic and I just want to run this by you guys ... configure the keyboard to something sensible by sending commands to it. ... you'd have to use the clock ... slave mode for tranmission and reception. ...
    (sci.electronics.basics)
  • Re: PIC, Keyboard, and USART
    ... clock speed properly for tranmission but I figure that it shouldn't be to ... The way I've seen this and used the keyboard is that the keyboard actually ... In section 20.2 EUSART Asynchronous Mode the datasheet says that "Parity ... Is that for asynch mode? ...
    (sci.electronics.basics)
  • Re: Dapper clock and locales
    ... using English-United States as the installation language, rather than English-United Kingdom. ... The clock was now using the 12Hour system and 12Hour was an item in the clock's preferences menu. ... Changed the keyboard layout in the System -> Administration menu, but it didn't change - the keyboard stayed American. ... There is *no* 12 hour option in the clock's "Preferences" menu, when Dapper is installed using the English - United Kingdom language. ...
    (Ubuntu)

Loading