Author Topic: TI-Nterface (my version of labpro)  (Read 64645 times)

0 Members and 1 Guest are viewing this topic.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: TI-Nterface (my version of labpro)
« Reply #45 on: December 19, 2011, 01:11:42 pm »
nice :) it's good to see progress on this, it might be very useful when finished..

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI-Nterface (my version of labpro)
« Reply #46 on: December 19, 2011, 04:18:24 pm »
nice :) it's good to see progress on this, it might be very useful when finished..
Yeah. I dunno if I'm gonna make it in time for our schools' deadline. I'm trying hard.
If you like my work: why not give me an internet?








Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: TI-Nterface (my version of labpro)
« Reply #47 on: December 19, 2011, 04:21:30 pm »
oh? when do you have to get it ready? that's a nice schoolproject.. what kind of studies are you doing?

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI-Nterface (my version of labpro)
« Reply #48 on: December 20, 2011, 11:57:30 am »
oh? when do you have to get it ready? that's a nice schoolproject.. what kind of studies are you doing?
Secondary school :) I hope to graduate this year.
If you like my work: why not give me an internet?








Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI-Nterface (my version of labpro)
« Reply #49 on: January 11, 2012, 03:47:30 pm »
Artwork on the front of my essay
If you like my work: why not give me an internet?








Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: TI-Nterface (my version of labpro)
« Reply #50 on: January 11, 2012, 03:50:10 pm »
wow, great, i love it :) did you manage to make it ? (maybe you already said it somewhere, but i must have missed that if you did)

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI-Nterface (my version of labpro)
« Reply #51 on: January 11, 2012, 03:58:03 pm »
wow, great, i love it :) did you manage to make it ? (maybe you already said it somewhere, but i must have missed that if you did)
Not yet. I got stuck. programming those microcontrollers is a little weird. I cant find working code examples for my compiler. I am still gonna build the thing. It is just gonna take some time :)
If you like my work: why not give me an internet?








Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nterface (my version of labpro)
« Reply #52 on: January 11, 2012, 07:04:29 pm »
Nice, and when you did your presentation you should post a video of your device in action an d put it here :D

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI-Nterface (my version of labpro)
« Reply #53 on: January 12, 2012, 02:05:30 am »
I just printed my essay. I woke up earlier to make a presentation for Life Science and Technology :P So much to do. Tomorrow a Dutch test and more tests next week. My presentation is February 20th. I really hope I have a working prototype by then.
If you like my work: why not give me an internet?








Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nterface (my version of labpro)
« Reply #54 on: January 12, 2012, 02:08:12 am »
Oh ok I was sure it was pretty soon, like tomorrow, and that you already finished the prototype. :P

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI-Nterface (my version of labpro)
« Reply #55 on: January 12, 2012, 12:15:15 pm »
Oh ok I was sure it was pretty soon, like tomorrow, and that you already finished the prototype. :P
I wish I had, but things went a little different.
If you like my work: why not give me an internet?








Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI-Nterface (my version of labpro)
« Reply #56 on: February 18, 2012, 05:47:44 am »
I'm working on the device right now. I hope it's finished by Wednesday! (otherwise I am f*ckd)
If you like my work: why not give me an internet?








Offline adept

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: TI-Nterface (my version of labpro)
« Reply #57 on: February 18, 2012, 03:05:24 pm »
I, and many others, including you Keoni, have been wanting to interface the calculators serial with an Arduino. I've coded only sparsely in my life, just enough to get by. I use lots of example code to write programs, they're my crutch. So basically what I have right now is a Arduino program that sends a byte repeatedly through the link port using Kerm Martian's whitepaper on the Calcnet protocol to fix my timings. But the calc still receives nothing. I am using two programs on the calc to receive a byte. The built in GET command and my Omnicalc linkreceive() command. Neither of these get anything from my program on the Arduino. Here is my code:

Code: [Select]
#include <SPI.h>

int Data = 6; //Data or TIP or RED
int Clock = 7; //Clock or RING or WHITE
byte DRead = 0;
byte DataByte = 0;

void setup()
{
  Serial.begin(9600);
  delay(1000);
  Serial.println("Awesome Sauce! :)");
}

void loop()
{
  sendByte(127);
}

int sendByte(byte DataByte)
{
  //initialize the contact with the mothership

  pinMode(Data, OUTPUT);
  pinMode(Clock, OUTPUT);
  digitalWrite(Data, HIGH);
  digitalWrite(Clock, HIGH);
  delayMicroseconds(1000);
  digitalWrite(Clock, LOW);
  delayMicroseconds(9000);
  digitalWrite(Data, HIGH);
  digitalWrite(Clock, HIGH);
  delayMicroseconds(52);
  delayMicroseconds(110);
  digitalWrite(Data, LOW);
  digitalWrite(Clock, LOW);
  delayMicroseconds(52);
  digitalWrite(Data, HIGH);
  digitalWrite(Clock, HIGH);
  delayMicroseconds(42);

  //send data now
  int BitIncrement;
  for(BitIncrement<=7; BitIncrement++;)
  {
  int SendBit;
  bitRead(DataByte, BitIncrement);
  digitalWrite(Data, SendBit);
  delayMicroseconds(17);
  digitalWrite(Clock, LOW);
  delayMicroseconds(35);
  digitalWrite(Data, HIGH);
  digitalWrite(Clock, HIGH);
  delayMicroseconds(52); 
  }
}

int recieveByte(void)
{
  //initialize contact with the daughtership
 
  pinMode(Data, INPUT);
  pinMode(Clock, INPUT);
  DRead = digitalRead(Data);
  return DRead;
}

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: TI-Nterface (my version of labpro)
« Reply #58 on: February 18, 2012, 04:00:21 pm »
I, and many others, including you Keoni, have been wanting to interface the calculators serial with an Arduino. I've coded only sparsely in my life, just enough to get by. I use lots of example code to write programs, they're my crutch. So basically what I have right now is a Arduino program that sends a byte repeatedly through the link port using Kerm Martian's whitepaper on the Calcnet protocol to fix my timings. But the calc still receives nothing. I am using two programs on the calc to receive a byte. The built in GET command and my Omnicalc linkreceive() command. Neither of these get anything from my program on the Arduino. Here is my code:

Code: [Select]
#include <SPI.h>

int Data = 6; //Data or TIP or RED
int Clock = 7; //Clock or RING or WHITE
byte DRead = 0;
byte DataByte = 0;

void setup()
{
  Serial.begin(9600);
  delay(1000);
  Serial.println("Awesome Sauce! :)");
}

void loop()
{
  sendByte(127);
}

int sendByte(byte DataByte)
{
  //initialize the contact with the mothership

  pinMode(Data, OUTPUT);
  pinMode(Clock, OUTPUT);
  digitalWrite(Data, HIGH);
  digitalWrite(Clock, HIGH);
  delayMicroseconds(1000);
  digitalWrite(Clock, LOW);
  delayMicroseconds(9000);
  digitalWrite(Data, HIGH);
  digitalWrite(Clock, HIGH);
  delayMicroseconds(52);
  delayMicroseconds(110);
  digitalWrite(Data, LOW);
  digitalWrite(Clock, LOW);
  delayMicroseconds(52);
  digitalWrite(Data, HIGH);
  digitalWrite(Clock, HIGH);
  delayMicroseconds(42);

  //send data now
  int BitIncrement;
  for(BitIncrement<=7; BitIncrement++;)
  {
  int SendBit;
  bitRead(DataByte, BitIncrement);
  digitalWrite(Data, SendBit);
  delayMicroseconds(17);
  digitalWrite(Clock, LOW);
  delayMicroseconds(35);
  digitalWrite(Data, HIGH);
  digitalWrite(Clock, HIGH);
  delayMicroseconds(52); 
  }
}

int recieveByte(void)
{
  //initialize contact with the daughtership
 
  pinMode(Data, INPUT);
  pinMode(Clock, INPUT);
  DRead = digitalRead(Data);
  return DRead;
}
I borrowed a usb interface a while ago. I was able to recieve bytes with it from the TI-84+, so I'm trying to port the software to the arduino and hope it will work :)
If you like my work: why not give me an internet?








Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nterface (my version of labpro)
« Reply #59 on: February 19, 2012, 02:34:12 am »
Good luck Keoni29 on finishing this in time. X.x

Also welcome here adept. :) Nice to see another hardware guy around. :)