85 reputation
18
bio website tushark.com
location New York, NY
age 26
visits member for 3 years, 4 months
seen Dec 31 '11 at 5:19

indian tech geek / entrepreneur from japan, columbia engineering (@cuseas) grad, project manager / marketing @socialbicycles


Mar
26
awarded  Popular Question
Nov
6
awarded  Popular Question
Mar
16
awarded  Enthusiast
Feb
18
answered Ubuntu Firefox Tab Navigation
Feb
18
answered How do I get Windows and Ubuntu on Mac via bootcamp?
Feb
16
awarded  Supporter
Feb
16
answered Why I am I getting color artifacts while watching YouTube in Flash at times?
Feb
16
awarded  Teacher
Feb
16
answered Dropbox alternative that works with Google Storage
Feb
16
awarded  Commentator
Feb
16
comment How does RealTerm send Numbers
@Dennis I added the code to the Stack Overflow question. Thanks for the help!
Feb
16
comment How does RealTerm send Numbers
@dennis-williamson Would it be more appropriate to edit my StackOverflow question since this is now programming related? I'll post code as soon as I get back. Thanks again for the help!
Feb
16
accepted How does RealTerm send Numbers
Feb
16
comment How does RealTerm send Numbers
@dennis-williamson I am out of the house right now, but I wanted to thank you for your help and answer a few of your questions. I am already using a USB to serial adapter with lights on it (which is how I know I am communicating with the Roomba - it lights up in the direction of sending information to the Roomba). Using RealTerm, I can communicate with the Roomba directly using the Send Numbers function (if I try to communicate any other way, it sends every keypress). Also, I call $serial->deviceOpen(); just like that? Should I be sending an argument? Thanks for the help once again!
Feb
15
comment How does RealTerm send Numbers
@dennis-williamson I have tried everything and it still doesn't work. I don't know how to get PHP to work in the command line, but that doesn't seem to work for me. However, PHP does run off my webserver, which my Roomba is connected to through serial line. The goal is not to use RealTerm at all - it was just a method of testing whether the Roomba was responding to commands. Rather, it is to output through PHP the given values. I'm guessing this might have something to do with how the serial class for PHP is sending the data? Also, is PHP even capable of what I am asking?
Feb
15
comment How does RealTerm send Numbers
@dennis-williamson Thanks! What is the php -r for? Do you mean to only insert the code in single quotes? I have tried $serial->sendMessage("\x80"), $serial->sendMessage(chr(128)), and $serial->sendMessage("%c",128). The first two run, but don't work. The third one hangs during execution for some reason. Any ideas? Thanks for your repeated help!
Feb
15
comment How does RealTerm send Numbers
@dennis-williamson I am using a laptop, but it doesn't have an overlaid numeric keypad. I tried the Windows character map, but unfortunately, selecting the numbers there and pasting it in doesn't work (it just shows numbers for the characters). I don't really want to use either PuTTY or RealTerm - I'm trying to figure out how to convert to the necessary data type in PHP (StackOverflow question referenced above). In doing so, I decided to try and get it to work in PuTTY and now I would like to figure that out before programming even further. Thanks for the repeated help!
Feb
15
awarded  Student
Feb
15
comment How does RealTerm send Numbers
@dennis-williamson Thanks for looking at the docs. Is there another method which doesn't use a numeric keypad? The 133 opcode is for powering the Roomba on and off. Thanks for the help once again!
Feb
15
comment How does RealTerm send Numbers
@dennis-williamson I am trying to figure out the data type that I need to send to the Roomba and don't have a numeric keypad. I was using PuTTY / RealTerm to debug and need to figure out how to send the opcodes because I'm writing a program in PHP for the Roomba. Someone wrote a PHP serial class, so I can communicate with the Roomba, but the Roomba doesn't seem to be accepting any of my commands. StackOverflow question