Author Topic: Replace DIP Switches with Tactile button (for EEPROM bank switching)  (Read 1021 times)

0 Members and 1 Guest are viewing this topic.

Offline ColorComputerStoreTopic starter

  • Newbie
  • Posts: 4
  • Country: us
Hello, first post here.

I want to work on a project that allows me to switch banks on an EEPROM. The original design called for three jumpers to select between EEPROM size and the bank that the user wanted to select. I think I can eliminate one jumper because I will use a specific EEPROM size (still debating 27128 or 27512). So that leaves the selection of which bank to load. I really want to get away from using jumpers as it isn't user-friendly for novices to use jumpers.

I want to keep it simple, like a tactile switch that when pressed would move through the settings.

I'm hung up on another point. In the current design the user experience is...
1) Set jumpers
2) Plug in cartridge
3) Turn on machine
4) Machine loads specific bank based on jumpers

But if I am using tactile switch, it doesn't seem possible to allow the user to simply change in the bank on the fly as that will crash my machine. So user experience needs to be something like...
1) Plug cartridge into machine
2) Machine loads first bank contents
3) User hits tactile button
4) Cartridge issues 'reset' command to machine
5) Machine loads next bank based on a 'counter'
6) Repeat Step 3 to 5 until counter gets to 4 (or 8 for 8KK banks) and change counter back to 1.

Hope I am making sense. Very much a rookie.

Thanks,

 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16618
  • Country: us
  • DavidH
Re: Replace DIP Switches with Tactile button (for EEPROM bank switching)
« Reply #1 on: July 26, 2018, 01:11:07 am »
Might also want it to remember the last setting after being powered down.

The easiest way now is probably to use a 50 cent PIC or AVR microcontroller.

 

Offline ColorComputerStoreTopic starter

  • Newbie
  • Posts: 4
  • Country: us
Re: Replace DIP Switches with Tactile button (for EEPROM bank switching)
« Reply #2 on: July 26, 2018, 08:08:37 pm »
Yes, I was recommended a PIC and AVR as well by someone else. I need to study them as I know ZERO. lol
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16618
  • Country: us
  • DavidH
Re: Replace DIP Switches with Tactile button (for EEPROM bank switching)
« Reply #3 on: July 26, 2018, 08:40:58 pm »
PIC and AVR microcontrollers are remarkably easy and inexpensive to use.

A discrete logic version is certainly feasible with several packages or some cleverness.  Maybe use a shift register with parallel load on startup to select one bank and then clock it using a pushbutton.  A monstable multivibrator could then trigger the reset.  A dip switch or jumpers could even select which bank is activated when power is applied.  This all might be feasible with a shift register and quad gate so two packages.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf