Propeller and iphone
Rob7
Posts: 275
Interesting weekend,
Whell I did it again ! I dropped my phone. This time it does not work to well.
So, went out to by a phone and the iphone was there, a giant display staring me in the face.
Well to make a long story short, I bought one!
Great device, The wierd thing about it was that I was thinking in the back of my mind "if the Propeller chip could do that !!!"
I dont yet know if the propeller can, but I have a question too all the fourm members.
Has anybody· played with the accelerometer tilt function to change the screen say holding the screen then rotation it 90 deg and having the screen follow it ?
I was thinking about a propeller project like this, "Hmmm"
·A colleague sent me this interesting link, enjoy http://www.edn.com/article/CA6463808.html?nid=3351&rid=158661008
·Rob7
Post Edited (Rob7) : 9/11/2007 2:31:24 PM GMT
Whell I did it again ! I dropped my phone. This time it does not work to well.
So, went out to by a phone and the iphone was there, a giant display staring me in the face.
Well to make a long story short, I bought one!
Great device, The wierd thing about it was that I was thinking in the back of my mind "if the Propeller chip could do that !!!"
I dont yet know if the propeller can, but I have a question too all the fourm members.
Has anybody· played with the accelerometer tilt function to change the screen say holding the screen then rotation it 90 deg and having the screen follow it ?
I was thinking about a propeller project like this, "Hmmm"
·A colleague sent me this interesting link, enjoy http://www.edn.com/article/CA6463808.html?nid=3351&rid=158661008
·Rob7
Post Edited (Rob7) : 9/11/2007 2:31:24 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
That's a great idea !
I have not thought of that in that term.
Just a simpler method, See the video feed on your iphone and mabe navigate form your phone. I have seen some similar posts about controlling your Beo-Bot with your phone but I don't think anybody has completed this project as of yet.
Rob7
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
Then some simple commands, (go foward, back, stop, left, right).
I need to get the prodocal to work first.
Hmm' This might take some time.
Rob7
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
Don't use an accellerometer for this, but go for a Gyroscope instead.
With an accellerometer you need to know the starting orientation to calculate the 'now' orientation when the device is moved.
A gyro will always tell you your exact orientation, without any messy calculations...
Or course, adding an accellerometer means you can add 'bounce' to the picture...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
The Prop, the Parallax forums, the OBEX, various companies providing hardware, like GadgetGanster, are all based on openness. Open source software, open hardware designs, open PCB layouts etc. There are hundreds of contributed projects to the Propeller and other forums all free for use, free to study and free to distribute.
Then there is the iPhone, closed source, and a hundred bucks to even develop an app for your own phone. No free way to distribute your efforts. Worse still, no free way for users of your code to make and distribute their modifications and improvements.
Nice gadget and all, and if you are prepared to live with restrictions OK. But an Android or other OS based device would do all you need for phone to Prop working without the expense and more importantly the restrictions.
The Gyro will have no initial reference because it can only tell you when it is turning (or resisting a turn, technically.)
For a good example of using the Propeller with Accelerometers and Gryos (and Compass and GPS) check out my Wingman. (http://www.virtualhud.com/VirtualHud/Wingman.aspx) It combines Gyros and Accelerometers to detected the accurate attitude of an aircraft and displays it, similar to what the Rob7 was asking for.
Bill
I've also made a WAV player this same way, which also works great.