Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:47 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : AT keyboard to I2C

Author Message
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 07:32pm 03 Dec 2012
Copy link to clipboard 
Print this post

Hi all,

I've read through some of your I2C threads but as I am new here, I might have missed some.

Some time ago I did up a pic16f88 to interface to a pc keyboard to produce 8 bit parallel output codes. (all shift, alt and control functions)

Then I thought it would be handy to make the PC keyboard an I2C device. Problem!! Both the keyboard and I2C are essentially serial. So...I hooked up another pic module originally designed for IR. That means I have two chips back to back with handshaking in between to stop timeing clashes. Worked quite well.

Any interest?


david m.
David M.
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 12:17pm 04 Dec 2012
Copy link to clipboard 
Print this post

Hi Mobi,

Please post any and all of your little addons, whilst I personally do not see an immediate use for a PS2 to I2C (on my Maximite) I am sure that the ideas can be adapted for other tasks/application and as this is not exclusively a Maximite forum it may be of interest to others.

Please post what ever you want as I for one find them interesting...

Maybe one of our business members could lend some web space for hosting your products for you.

Regards,

Mick


Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 05:58pm 04 Dec 2012
Copy link to clipboard 
Print this post

Hi Mick

[quote]Maybe one of our business members could lend some web space for hosting your products for you.[/quote]

I'm not really interested in treating my projects as saleable products - been there - dismal failure. But, if anyone thinks that there is a market/use, then good! To me, they were/are a challenge and I can say "well, I beat you, you b...."

I put them on the ozelectronics forum but got almost zero take up. Hope I can find someone here to share experiences with.

BTW my background is 23yrs as RAN electronics both lower deck and commissioned. I taught MPUs at Darwin Institute of technology 1985/86, so am used to nearly all the micro processors from yesteryear.

I'll go ahead then and put this module together. Should I create a new topic for each module/project?

regards

David M

PS. I write all my software (except arduino and VB) in assembly language (got used to it years ago)
David M.
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 06:11pm 04 Dec 2012
Copy link to clipboard 
Print this post


Anyone looking for David's forum will find it, and the I2C 4 digit x 7 segment led display at:

http://www.ozelecforum.com/viewtopic.php?f=12&t=233

Welcome aboard David.

Hey, a lot going on at RAN Darwin right now. Be up near there just after Christmas.

Cheers Don...
https://www.dontronics.com
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 06:37pm 04 Dec 2012
Copy link to clipboard 
Print this post

  MOBI said  
I'm not really interested in treating my projects as saleable products - been there - dismal failure. But, if anyone thinks that there is a market/use, then good!
PS. I write all my software (except arduino and VB) in assembly language (got used to it years ago)


Hi David,

Thats fine, but a site somewhere with all of your products for simple interfaces (and from others) would, I feel, be of great interest.. If you can sell a PCB or 2 fine if not then the info is posted for all to use freely..

I started with TRS/System 80 basic. then I dabbled with z80assembly .. but only using CP/M BDOS calls.... That made it simple.. I did a bit of micro assembly (was it early PIC days??? Don might know, I cant remember now)

I cant get my head around this C stuff.. it may as well be written in sanskrit..
In fact I struggle to understand the numberless basic, I still like line numbers..

I like Steve CiaCia's words (Byte Magazine - US) "I program with a soldering iron"

Like the old saying, you cant teach an old dog new tricks.

I will leave the programming to those better able, but be that as it may, I feel I can still assist in other ways, and will do where I am able.


Regards,

Mick


Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 08:00pm 04 Dec 2012
Copy link to clipboard 
Print this post

  bigmik said  
I started with TRS/System 80 basic. then I dabbled with z80assembly .. but only using CP/M BDOS calls.... That made it simple.. I did a bit of micro assembly (was it early PIC days??? Don might know, I cant remember now)


Mick Who?

We chewed through a lot of code and languages in the old days. Anything we had to do to get our projects up and running. I think we successfully completed everything we started out to achieve, but I find it pretty much all uphill these days. Something about getting old.

Don...
https://www.dontronics.com
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 11:32pm 04 Dec 2012
Copy link to clipboard 
Print this post

Hi Don

[quote]Hey, a lot going on at RAN Darwin right now. Be up near there just after Christmas.[/quote]

Lived at HMAS Coonawarra (Winellie, not Darwin Naval Base) for 3 years (OIC Humpty Doo Naval Radio Transmitting station)

Stay clear of Patrol Boat armoury.

Is that Don of Dontronics? If so, you have sold me mcu chips in the recent past. Very happy.

Used the chips for an unusual journey. Started with a pic interface to a pic programmer to create an ATMEL programmer to create and Arduino. Might post it some time.

David M.

PS. MOBI is an old RAN term for apprentices (Most Objectionable B...s Imaginable)
Edited by MOBI 2012-12-06
David M.
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 08:52am 05 Dec 2012
Copy link to clipboard 
Print this post

  MOBI said  
Lived at HMAS Coonawarra (Winellie, not Darwin Naval Base) for 3 years (OIC Humpty Doo Naval Radio Transmitting station)

Is that Don of Dontronics? If so, you have sold me mcu chips in the recent past. Very happy.

Used the chips for an unusual journey. Started with a pic interface to a pic programmer to create an ATMEL programmer to create and Arduino. Might post it some time.


Hi David, yes D of D. I currently live in Darwin about a month a year in two chunks, as I have children and grand children up there. Makes you very aware of local news and politics. Changed dramatically over the last 22 years that I have seen. We have crocodiles in Mitchell St. for the tourists, and a gigantic wave pool and tourist residential complex at stokes wharf.

I was in Radio in the old PMG days, (1959+) and spent time at places like Radio Lyndhurst, Sydenham, and even a little time at the ABC studios in Melbourne.

My last real job was running the Victorian TAB computers at places like the Melbourne Cup for about 25 years. (retired 1999). I was responsible for getting Mick into the TAB workforce, and he told me during lunch (and a few small beers) yesterday that he has now spent more than half his life with the TAB. I met Mick at a TRS-80 User group meeting around 1979-80?

Don...Edited by donmck 2012-12-06
https://www.dontronics.com
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 08:34pm 11 Dec 2012
Copy link to clipboard 
Print this post

HI,

Here is the i2c ps2 keyboard details. Yes, I know ps2 is rapidly dying but some of us have a few of them still and it is easier (I think) to interface to a ps2 keyboard than a USB keyboard.

This module can also read IR remotes (the "standard" type) if the KDB pic RA2 (pin 1) is tied high instead of low. A different arrangement on the kbd input is then required. Not much more than a IR receiver and a resistor.

There should be enough data in the zip file to build one - there's even a picaxe bas file to read the keyboard and display on a 2 line LCD i2c module (That'll be another post).





2012-12-12_063317_New_Compressed_zipped_Folder.zip
David M.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024