Interface system for controlling operant chambers

Modding and Technical Issues

Moderator: Moderators

Post Reply
Kakemoms
Vic 20 Nerd
Posts: 740
Joined: Sun Feb 15, 2015 8:45 am

Interface system for controlling operant chambers

Post by Kakemoms »

I just found this old article on using a Vic-20 as a controller:

http://link.springer.com/content/pdf/10 ... 200952.pdf

I didn't think anyone had used the Vic-20 for this. The C64 would probably work as well since they only use the userport. Interesting project!
norm8332
Vic 20 Nerd
Posts: 626
Joined: Sun Nov 13, 2016 11:04 am
Location: USA

Re: Interface system for controlling operant chambers

Post by norm8332 »

That's cool, but not practical now a days. Why use a whole Vic-20 when a $2 Arduino pro mini will do? Maybe for nostalgia.
“In religion and politics people’s beliefs and convictions are in almost every case gotten at second-hand, and without examination... whose opinions about them were not worth a brass farthing.”

-Autobiography of Mark Twain
Kakemoms
Vic 20 Nerd
Posts: 740
Joined: Sun Feb 15, 2015 8:45 am

Re: Interface system for controlling operant chambers

Post by Kakemoms »

Ehhp. Well, for one, there is no clicky keyboard on the arduino. :D

Actually the AVR are nice, and their assembly language is quite close to the 6502 and they are more modern with efficient ways of handling more memory.
Still, if you build your own modern base computer with a 6502, its going to be:

- More power minimalistic (the WDC has its own patented power saving mode),
- Faster (up to 200MHz demonstrated in embedded cores, >100MHz in soft cores),
- Cheaper (or can be depending on volume - its only 3500 transistors per core!),
- Can be put into the body (the wdc65c02 is the only one that is certified for that),
- Put it into a tiny cpld or even smaller embedded core,
- Made in a larger volume (around 100 million per year).

and probably a number of other reasons I can't remember now. :mrgreen:
norm8332
Vic 20 Nerd
Posts: 626
Joined: Sun Nov 13, 2016 11:04 am
Location: USA

Re: Interface system for controlling operant chambers

Post by norm8332 »

With a single atmega328p etc. you can directly connect a ps2 keyboard, ntsc monitor, all IO is built in - digital, analog, UART(serial),PWM, SPI, TWI. All for 2 dollars from ebay. But with that said this is a Vic-20 board and I love to do new things with my Vics. :D
“In religion and politics people’s beliefs and convictions are in almost every case gotten at second-hand, and without examination... whose opinions about them were not worth a brass farthing.”

-Autobiography of Mark Twain
Kakemoms
Vic 20 Nerd
Posts: 740
Joined: Sun Feb 15, 2015 8:45 am

Re: Interface system for controlling operant chambers

Post by Kakemoms »

norm8332 wrote:With a single atmega328p etc. you can directly connect a ps2 keyboard, ntsc monitor, all IO is built in - digital, analog, UART(serial),PWM, SPI, TWI. All for 2 dollars from ebay. But with that said this is a Vic-20 board and I love to do new things with my Vics. :D
Yep, you can ADD a lot to the Atmel range of AVRs, but that is going to drive the cost up. And the $2 version is some Chinese variant that may work for a while. I would´t base my product on that.

Actually, putting a 65C02 core into a CPLD is going to cost less than 2 dollar for a MachXO3L-1300 from Lattice, so you might want to stick with the 6502, even from a cost perspective. And then you can add what interface you want to, because its programmable logic. :wink:
Post Reply