Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:43 11 Nov 2025 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 : E100 - Pullups on Keyboard?

Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9750
Posted: 04:51am 03 Mar 2018
Copy link to clipboard 
Print this post

Hello all.

I have had a question from someone asking about possible noise on the KB lines causing odd things to happen with their E100. The problem seems to have been solved by adding 4k7 pull-up resistors on the KB clock and data lines. In the schematic, they are not shown and these two lines are floating, and I am just wondering if those resistors are actually supposed to be there but were perhaps missed on the schematic?

Geoff?

Specifically, the piezo beeper used for touch clicks was squealing intermittently when it should not have been. Apparently, fitting the pull-ups to the KB lines has stopped it on the one I know about - so far.

Has anyone here who has got an E100 from me, WhiteWizzard or Silicon Chip ever had any problems with the piezo squeaking when it should not, when you have a keyboard connected to the board?

I myself have never heard of this, but it must be able to happen if someone is reporting it. At this stage, for the next revision of the board, I plan to include 4k7 pull-ups on the KB lines a-la the I2C pull-ups.

I note that page 40 of the Micromite Plus manual DOES show 4k7 resistors, but the E100 schematic(V4) does NOT show them.....

EDIT: My contact tells me this happens with the KB NOT plugged in. Just touch around the KB socket area, and the piezo squeaks. Very odd. Would LOVE to hear from any member who has had this happen to them.Edited by Grogster 2018-03-04
Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 06:29am 03 Mar 2018
Copy link to clipboard 
Print this post

I have not seen that and I have used the E100 a lot with a keyboard.

I put pullups into the original Maximite (if my memory is correct) but then I found that all keyboards had their own pullups built in - so I dropped them for the E100.

Weak pullups can be enabled in the PIC32. I will build a special version for your fellow to test.

Geoff
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9750
Posted: 06:35am 03 Mar 2018
Copy link to clipboard 
Print this post

Hi Geoff.

Could he perhaps make use of the ChangePin Cfunction to enable the pullups on the existing firmware?
Smoke makes things work. When the smoke gets out, it stops!
 
PeterB
Guru

Joined: 05/02/2015
Location: Australia
Posts: 655
Posted: 06:35am 03 Mar 2018
Copy link to clipboard 
Print this post

G'Day Geof
But what happens when the KB is unplugged?
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 06:54am 03 Mar 2018
Copy link to clipboard 
Print this post

  Grogster said  Could he perhaps make use of the ChangePin Cfunction to enable the pullups on the existing firmware?

Yes, much easier. It occurred to me that he has probably soldered in the pullups so there is no point building a test version anyway.

  PeterB said  But what happens when the KB is unplugged?

The internal PIC32 pullups will pull the signal lines high (which is the inactive state).

Geoff
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9750
Posted: 07:01am 03 Mar 2018
Copy link to clipboard 
Print this post

I believe he has soldered in the 4k7's for now to settle things down.
Perhaps if he removes the 4k7's and runs the ChangePin Cfunction on both of the keyboard pins?
Smoke makes things work. When the smoke gets out, it stops!
 
PeterB
Guru

Joined: 05/02/2015
Location: Australia
Posts: 655
Posted: 07:05am 03 Mar 2018
Copy link to clipboard 
Print this post

G'Day Geof
But what happens when the KB is unplugged?

G'Day Geof.
But there are no pullups.
But there will be:)
Peter
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025