Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: Spyro543 on August 22, 2011, 08:05:06 am

Title: You know how we can print to the RS232 port on the Nspire with Lua...
Post by: Spyro543 on August 22, 2011, 08:05:06 am
...then why can't we make some sort of robot thing! You would type instructions on calc, which could then be sent to motors! (jimbauwen, his calc, and his mighty Arduino could surely do it :D)

With Ndless, we could do this, and could we get info back from the robot?

It would probably be just a simple car setup with four motors, two on each side.
The motors have to work like this:

DirectionLeft motorsRight motors
ForwardsClockwiseCounterclockwise
ReverseCounterclockwiseClockwise
LeftCounterclockwiseCounterclockwise
RightClockwiseClockwise
Title: Re: You know how we can print to the RS232 port on the Nspire with Lua...
Post by: Jim Bauwens on August 22, 2011, 08:09:05 am
Of course we can make a robot with it :)
I'm currently investigation different ways to send data back (with ndless you can have both direction communication, but noT with lua). I've got an idea, just need to do some research :)

Edit: big mistake: now-->not
Title: Re: You know how we can print to the RS232 port on the Nspire with Lua...
Post by: fb39ca4 on August 26, 2011, 12:37:29 am
I actually have a robot that can receive commands over rs232, I'll have to try this out.
Title: Re: You know how we can print to the RS232 port on the Nspire with Lua...
Post by: Adriweb on August 26, 2011, 05:44:48 am
Funny, I had the same idea :-)

I'll definitely make a robot of some sort soon, when I have my dock connector (maybe I'll make one maybe I'll do something else with some official cradle that I will dismantle.... :P)
Title: Re: You know how we can print to the RS232 port on the Nspire with Lua...
Post by: fb39ca4 on August 26, 2011, 11:39:26 am
I have this robotics kit from here (http://www.seattlerobotics.org/WorkshopRobot/index.php) (the level 1 kit), but this is quite doable with an arduino.
Title: Re: You know how we can print to the RS232 port on the Nspire with Lua...
Post by: DJ Omnimaga on August 26, 2011, 10:42:08 pm
A robot would be nice. If someone manages to do it, be sure to post a video of it :D

I remember in 2005 or something, someone at MaxCoderz made a TI-83+ robot once, controlled by an ASM program.
Title: Re: You know how we can print to the RS232 port on the Nspire with Lua...
Post by: mrmprog on August 26, 2011, 10:46:34 pm
A Nspire controlled bot would be amazing. It would be a great "look what I can do with my calculator" thing.
Title: Re: You know how we can print to the RS232 port on the Nspire with Lua...
Post by: Spyro543 on August 27, 2011, 06:53:14 am
For controlling program on calc:
Should you make a list of instructions then send it to the robot for execution?
-OR-
Should we be sending instructions in real time?
-OR-
Include both functions and let the user choose which.

GUI:
Icons and buttons
-OR-
Console-like interface
Title: Re: You know how we can print to the RS232 port on the Nspire with Lua...
Post by: Kjelddy on August 27, 2011, 07:04:29 am
sounds very nice to me :P