useing ti86 calculator to interface with BS2homework board?
iamdenteddisk
Posts: 66
Hi to all, I am currently trying to find any documentation/info on interfaceing my BS2 homework board with my ti86 calculator I have all known docs for both, they both are i2c compliant devices and software for this is well documented on both devices but my question is "what support circuits are required to protect both from overcurrent" ? has anyone done one of these ?
·My project is a hexbug I have implemented a pir motion·sensor,piezio spkr,some led's,and light detection,and some door switches from an aircondition supply house for the bugs antanna ,2servos ,photo resistor ,solor power charger -it all·seems to work well·for its design and im trying to eventually·put·them in my vegtable garden to scare any uninvited animals and maybe add another homework board to keep adding so I·can maybe use it to collect data and based on the data tend to things like watering,fertilizing,weeding,seeding . if these all work out·,all·I will have left to do is harvest. and im thinking that is just a few hundred dollars away too.
thanks parallax for the simple controler and its ease of use.
im now waiting on my new hardware to arive to build a data collection setup so·I want a way to graphicly view and change things without removeing them from garden.·The software·I got ,the 2 interface's I dont. can someone help?
*This is what I need*
1#info on interfaceing board to board useing i2c
2#info on interfaceing board to calc useing i2c
· As for now the watering job will be a second bugbot and as·I figure each bug and its devices run around $200 cost to build and 30 hours once done and the garden is·growing·I want to post about it all·and some movies of them in action.
Oh yeah aside from the calc interface the whole project would be an excelent plug for parallax·I wonder if they will offer sponsorship or a buydown on parts if I go commercial [url=mailto:.....iamdenteddisk@yahoo.com].....iamdenteddisk@yahoo.com[/url]
·
·My project is a hexbug I have implemented a pir motion·sensor,piezio spkr,some led's,and light detection,and some door switches from an aircondition supply house for the bugs antanna ,2servos ,photo resistor ,solor power charger -it all·seems to work well·for its design and im trying to eventually·put·them in my vegtable garden to scare any uninvited animals and maybe add another homework board to keep adding so I·can maybe use it to collect data and based on the data tend to things like watering,fertilizing,weeding,seeding . if these all work out·,all·I will have left to do is harvest. and im thinking that is just a few hundred dollars away too.
thanks parallax for the simple controler and its ease of use.
im now waiting on my new hardware to arive to build a data collection setup so·I want a way to graphicly view and change things without removeing them from garden.·The software·I got ,the 2 interface's I dont. can someone help?
*This is what I need*
1#info on interfaceing board to board useing i2c
2#info on interfaceing board to calc useing i2c
· As for now the watering job will be a second bugbot and as·I figure each bug and its devices run around $200 cost to build and 30 hours once done and the garden is·growing·I want to post about it all·and some movies of them in action.
Oh yeah aside from the calc interface the whole project would be an excelent plug for parallax·I wonder if they will offer sponsorship or a buydown on parts if I go commercial [url=mailto:.....iamdenteddisk@yahoo.com].....iamdenteddisk@yahoo.com[/url]
·
Comments
Here's a webpage with a lot of information on the TI Link protocol: www.ticalc.org/pub/text/calcinfo/
Post Edited (Mike Green) : 5/25/2008 3:09:23 AM GMT
Post Edited (Mike Green) : 5/25/2008 5:21:42 AM GMT
+
/-- --- ---| To TI85
< |
\-- --- ---|
| | | +
| | |
| | Gnd
| | +
+
| | | +
+ |
| | | | +
+ | |
| | | | | +
+ | | |
| | | | | | | | | |
| | +++ +++ +++ +++ | | | | ->
| | 470 | | | | | | | | \---/ \---/ \---/ \---/
| | Ohm| | | | | | | | \ / \ / \ / \ / ->
+5V | | | | | | | | | |
| | | +++ +++ +++ +++ | | | | ->
| | | | | | | | | | |
| | | | | | | | LED0 | LED1 | LED2 | LED3
+--+ +--+ +--+ +--+ +--+ +--+ +--+ | | | |
|16| |15| |14| |13| |12| |11| |10| | 9| +----+----+----+
+
+ |
| Vdd SDA SCL Int P7 P6 P5 P4 | |
| | |
+-+ | |
| | PCF8574 | |
+-+ | |
| | |
| A0 A1 A2 P0 P1 P2 P3 Vss | |
+
+| |
| 1| | 2| | 3| | 4| | 5| | 6| | 7| | 8| |
+--+ +--+ +--+ +--+ +--+ +--++-++--+ |
| | | | | | | | | |
| | | o | o | o | o | | | |
| | | -+ -+ -+ -+ | | |
| | | o | o | o | o | | | |
| | | | S0 | S1 | S2 | S3 | |
| | | | | | | | | |
+----+----+----+----+----+----+----+
+
|
- Gnd
sorry but this didnt copy/paste right and after 20 min of trying to fix it,you get the crooked version ,below is the asm you can also contact me or its auther if he's still with us for the compleate file .
my email : iamdenteddisk@yahoo.com
;
; 2
; I C routines for ZShell 4.0
;
; Per Finander, 1996
; e-mail: pfimdt93@tufvan.hv.se
;
; +
; /-- --- ---|
; < | To TI85
; \-- --- ---|
; | | | +
; | | |
; SDA SCL Gnd
;
;
; (updated 31 May 1996)
;
; Send I2C Start pulse
;
I2CStart:
ld a,$C0 ; SDA 1 ""\
CALL_(I2CDT) ; 0 \_____
ld a,$C4
CALL_(I2CDT) ; SCL 1 """""\
jr I2CDT ; 0 \__
;
; Send I2C Stop pulse
;
I2CStop:
ld a,$CC ; SDA 1 /""
CALL_(I2CDT) ; 0 _____/
CALL_(I2CDT)
ld a,$C0 ; SCL 1 /"""""
jr I2CDT ; 0 __/
; Send A to I2C bus
;
; In : A - Byte to send
; Out: CF - =1 if no acknowledge was returned (error)
I2CSend:
push bc
ld b,$08
I2CNextB:
rlca
push af
ld a,$CC
jr nc,I2CNotS
xor $04
I2CNotS:
CALL_(I2CPulse)
pop af
djnz I2CNextB
ld a,$C8
CALL_(I2CPulse)
rr c
pop bc
ret
; Read byte from I2C bus, Send an acknowledge
;
; Out: A = byte
I2CReadA:
ld a,$CC
jr I2CRead1
; Read byte from I2C bus, Don't send an acknowledge
;
; Out: A = byte
I2CRead:
ld a,$C8
I2CRead1:
push bc
push af
ld b,$08
xor a
I2CGetB:
push af
ld a,$C8
CALL_(I2CPulse)
pop af
rr c
rla
djnz I2CGetB
ld b,a
pop af
CALL_(I2CPulse)
ld a,b
pop bc
ret
I2CPulse:
CALL_(I2CDT)
CALL_(I2CDT)
ld c,$07
in c,(c)
I2CDT:
out ($07),a
xor $08
ret
-Phil
you get speed by swaping a capacitor,
greyscale with software,color by modification
and a nifty 2gig+96k memory by implimenting a flashdrive
what else can you ask ,its small fast easy to use .infact I noticed lately all the other ti calcs go down in price,the 86 is still $120 new same as the day it came out ,first the serial link wasnt avalible and now im seeing less and less of the 86 im thinking bigbrother< because it has this nifty command where it can freeze any cpu you connect it to in a state while you poke around and then free it and it never knows you where there ,this is funny but once i reformatted my c:drive and reinstalled windows xp on my computer I had left my calc connected after finnishing i picked up the calc to ballance checkbook and when it came on it was running windows desktop "all access" I played a few minuites and couldnt belive it so i disconnected to show someone and it crashed do to memory error the calc was useing pc ram ,and once you get a flash drive to work your good. in my oppinion any one who wants power in hand ti86 ,mods&reserch.
Geeeeez I feel silly
.. guess i had to rant....