Re:TI-H: Drive-85


[Prev][Next][Index][Thread]

Re:TI-H: Drive-85




Richard Piotter wrote:

> If you do it right, you won't need a microcontroler, just a shift 
> register or an I2C 8-bit paralel interface chip. Just connect devices to 
> the interface chip and access the chip by emulating I2C protocol or 
> sending raw data (shift register). The microcontroler is a pain because 
> if anyone wants to try making it, then you or whoever made the 
> microcontroler program, will have to make the chip for the person. The 
> ASM program on the calc can easily be tranfered. The program on the 
> microconntroler can not be used by anyone without a PC and the 
> microcontroler development system. I recomend the logic circuits and a 
> complete driver on the calc, written in ASM. It would be possible to 
> create a file format that reads srings or program data to have the calc 
> send commands. Maybe even a comand structure that allows the robot to 
> react via sensors.

Yes, I'd also recommend against using a microcontroller unless the system gets
very complicated. I don't know much about controlling robots, but I know
there are chips called EEpots (E2pots), electrically controlled
potentiometers, which use the I2C bus. You could use either digital 8-bit
I/O-expanders, E2pots or even both to make a digital, analog, or combined
interface. You could even add I2C A/D converters for sensors etc. For more
information about using I2C on a calculator see my MBus page at
http://www.clinet.fi/~ozone/mbus/
There is also a link to a page called The I2C Zone which in turn has links
to many I2C chip manufacturers, which usually provide datasheets etc. to
help design the system. You have to use assembly language to be able to use
I2C, but that's probably not that bad because BASIC is quite limited
anyways. You could use either my MBus drivers (compiled with just raw mode
support) or the simple I2C drivers by Per Finander, which can be found at
http://www.ticalc.org/pub/text/hardware (not sure about this address).

-Ozone

-- 
*** Osma Suominen *** ozone@clinet.fi *** http://www.clinet.fi/~ozone ***


References: