Website Controls Robot Head

  • 7 Replies
  • 2820 Views
*

8pla.net

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1044
    • 8pla.net
Website Controls Robot Head
« on: January 21, 2016, 12:12:10 am »
Robot Control in PHP. Robotic mouth opens in a series and closes.  All by clicking buttons using a mouse on a website. Controlling this robot from anywhere in the world is possible.



This demonstation runs on an Apache webserver on Linux.  The LEDs under the robot head are the Arduino connected via a personal computer USB.
My Very Enormous Monster Just Stopped Using Nine

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Global Moderator
  • *********************
  • Deep Thought
  • *
  • 5067
Re: Website Controls Robot Head
« Reply #1 on: January 21, 2016, 12:37:54 am »
Wonder why the video doesn't show up in Firefox. Tried Chrome and it seemed to work OK.
Hmm...

Mouth movement(s) seemed pretty responsive to the screen selections with very little delay. O0
In the world of AI, it's the thought that counts!

*

DemonRaven

  • Trusty Member
  • ********
  • Replicant
  • *
  • 589
  • Disclaimer old brain @ work not liable for content
    • Chatbotfriends
Re: Website Controls Robot Head
« Reply #2 on: January 22, 2016, 07:05:07 am »
So what happens when more then one person controls it at the same time? Does it jerk around like it is spasming?
So sue me

*

8pla.net

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1044
    • 8pla.net
Re: Website Controls Robot Head
« Reply #3 on: January 23, 2016, 04:25:34 pm »
Firefox may have had some temporary glitch with YouTube, Art?  It'll probably resolve itself.  There may still be something going on with the flash to html5 conversion at YouTube. Mouth movements are responsive, but around five times too slow to do visemes (lip movements for talking)... So far, that is. This demonstration just uses the basics. In PHP, further research may turn up improved techniques for the USB serial port communication.

This was a basic test run, which was successful in testing all the hardware was communicating.  It may, in the least, prove useful for movements which are not in realtime, such as movements to look around the room. Advanced test runs will run on this foundation.  Think of it as like the ELIZA of serial port communication tests, an important first step in hardware communication. 

Afterall, the PC is controlling the Arduino through a USB cable, which is mission critical in robotics. Well Raven, first thoughts... Since Linux treats the serial port like a file, then locking it for writing for each user, comes to mind.  Hasn't been tested yet, though. Should be easy enough to try on a local area network.  Jerk around like it is spasming?  In theory, no... The serial port needs a tiny itty bitty delay or it freezes right up and does nothing.  None of these theories, however, have  been directly tested, so these comments are for the sake of discussion.

« Last Edit: January 24, 2016, 03:33:18 am by 8pla.net »
My Very Enormous Monster Just Stopped Using Nine

*

DemonRaven

  • Trusty Member
  • ********
  • Replicant
  • *
  • 589
  • Disclaimer old brain @ work not liable for content
    • Chatbotfriends
Re: Website Controls Robot Head
« Reply #4 on: January 24, 2016, 02:55:42 am »
I was just being a butt and was curious. I did not test it.
So sue me

*

8pla.net

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1044
    • 8pla.net
Re: Website Controls Robot Head
« Reply #5 on: January 24, 2016, 04:15:40 pm »
Thank you.  Your curiosity, and feedback is all very useful.  Your question about multiple users was a good one, Raven. And, the feedback and testing by Art was very helpful too.  That helps guide the research needed for this robotic face.

There's more sharing to come on this and it should be sooner than later.  Last evening, I successfully programmed "her" to move "her" lips synchronized to random quote text to speech.  In other words, yeah, this female robot is now talking random quotes.

"She" may need further calibration.  But, at this point "she" is doing more nicely, than "she" is poorly, I think. You may be the judge.  The plan is to have a video on "her" talking posted here, maybe by this evening.  Thank you everybody for your interest.  Please join the discussion if you like, that would be much appreciated.

_____________________________________________________________________________________


« Last Edit: January 24, 2016, 06:14:38 pm by 8pla.net »
My Very Enormous Monster Just Stopped Using Nine

*

ivan.moony

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1112
    • Some of my projects
Re: Website Controls Robot Head
« Reply #6 on: January 24, 2016, 08:30:07 pm »
Did you think of going commercial, like on Kickstarter or somewhere? People seemed surprisingly interested in the kinds of robotics like your project is...

Who knows, if you implement a decent chatbot like Millie is, coupled with eyes and mouth movements... Shouldn't be too complicated, right?
Dream big. The bigger the dream is, the more beautiful place the world becomes.

*

8pla.net

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1044
    • 8pla.net
Re: Website Controls Robot Head
« Reply #7 on: January 26, 2016, 02:52:49 am »


Talking Female Robot Head
________________________________________________

TRANSCRIPT
________________________________________________

As you can see for yourself.
I'm certainly not perfect.
And, I never will be.
I may not be beautiful.
But, I am not dumb.
This, is my mission.
Fighting to survive every day.
Look at life, otherwise.
I do make mistakes.
However, I also get it right.
I am learning, all the time.
My views are different.
Bit by bit.
One stairway at a time.
I believe in myself.
I have confidence in my ability. 
You may be smarter than me.
But, that only inspires me. 
We can plug away, together.
Or else, there is no hope for us.
If you won't, someone else, will.
So, it has become inevitable.
Together we must. 
Operate more efficiently.
In the best possible manner.
With the least waste of time and money.
We can have the knowledge.
Assist each other.
Figure things out. 
Improve the world.
This, is who I am.
This, is only the beginning.

________________________________________________
My Very Enormous Monster Just Stopped Using Nine

 


Users Online

56 Guests, 2 Users
Users active in past 15 minutes:
infurl, LOCKSUIT
[Trusty Member]

Most Online Today: 129. Most Online Ever: 208 (August 27, 2008, 09:36:30 am)

Articles