Author Topic: error in vrbot(voice recognition) example code  (Read 9896 times)

0 Members and 1 Guest are viewing this topic.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: error in vrbot(voice recognition) example code
« Reply #30 on: June 08, 2012, 07:33:12 PM »
After plugging in your battery and VRbot, turn everything on.

Then measure two things:

1) battery voltage
2) voltage for the VRbot

Offline aaa3aTopic starter

  • Full Member
  • ***
  • Posts: 50
  • Helpful? 1
    • Skype - CharlesgrareOB
Re: error in vrbot(voice recognition) example code
« Reply #31 on: June 08, 2012, 07:39:46 PM »
battery voltage 5.89volt
vrbot voltage 4.98volt

i'm asking if we can use chat as u and me online or u prefer posting?

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: error in vrbot(voice recognition) example code
« Reply #32 on: June 08, 2012, 09:58:44 PM »
The voltage seems fine, but I'm going to ask you to charge that battery anyway just in case. Then retry.

Using your multi-meter, double check the connectivity of your wires, making sure it's all solid.

It worked before, and then you said it sometimes worked and sometimes didn't. It could be a wire was slowly breaking. Check to make sure the wires look ok.

ps - posting is best, as it allows other people to chime in their thoughts and search for this info online
« Last Edit: June 08, 2012, 10:00:13 PM by Admin »

Offline aaa3aTopic starter

  • Full Member
  • ***
  • Posts: 50
  • Helpful? 1
    • Skype - CharlesgrareOB
Re: error in vrbot(voice recognition) example code
« Reply #33 on: June 10, 2012, 03:25:57 AM »
i just want you to check my code on your vrbot module this could solve the problem if it is work so my module could be damaged
as it must respond to the trigger command at least and there is no prob. in the wiring all the cable ok

tell me if my code work with you

by the way iam using UART 0 for the vrbot

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: error in vrbot(voice recognition) example code
« Reply #34 on: June 17, 2012, 06:25:07 AM »
I am confused on which code isn't working.

Is it not the compiled .hex for USB to serial that is causing you issues, and not your custom code?

Offline aaa3aTopic starter

  • Full Member
  • ***
  • Posts: 50
  • Helpful? 1
    • Skype - CharlesgrareOB
Re: error in vrbot(voice recognition) example code
« Reply #35 on: June 17, 2012, 02:36:42 PM »
i'm talking about the vrbot i sent have you tested it on your vrbot module the usb cable code worked once then died may be there is fault in the usb code or baud rate but if the vrbot code was good it should be working fine if the vrbot module is fine as it is direct connected to the uart so test the code i've attached on your vrbot to be sure the code i'm use is good so my module is faulty then

thanx

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: error in vrbot(voice recognition) example code
« Reply #36 on: June 17, 2012, 04:03:38 PM »
So, you are able to program voice commands fine into your robot using the USB to serial hex, right? And you tested that and it works, right?

Offline aaa3aTopic starter

  • Full Member
  • ***
  • Posts: 50
  • Helpful? 1
    • Skype - CharlesgrareOB
Re: error in vrbot(voice recognition) example code
« Reply #37 on: June 18, 2012, 06:18:03 AM »
yes that's happened once i'm talking now about the vrbot code i wrote is it work on your vrbot module this will prove it is ok or not


Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: error in vrbot(voice recognition) example code
« Reply #38 on: June 21, 2012, 11:33:05 AM »
Follow these steps:

1) recharge your battery - it's too low and maybe even dead

2) verify it works using VRbot GUI software and the USB to serial code
(you said this works fine, right?)

3) Use the example .c code *without* any modification other than that it's for the original Axon:
http://societyofrobots.com/downloads/Axon2_Voice_Recognition_Software.zip

Offline aaa3aTopic starter

  • Full Member
  • ***
  • Posts: 50
  • Helpful? 1
    • Skype - CharlesgrareOB
Re: error in vrbot(voice recognition) example code
« Reply #39 on: June 23, 2012, 03:10:53 PM »
i've removed all the devices from the axon board except the vrbot module and the motor driver and did a test for the usb-serial code with the module software(vrbot gui ) and it can connect now to the module and tested the commands but when i flash the vrbot code the one you wrote and the one i am wrote no response from the module to my voice.i've replaced the servo commands in the code with a print msg just for check and  used hyper terminal to see the output of the rprintf function and  nothing happened

please check the code i wrote and sent to you before or even yours there something wrong i've replaced the servo commands in the code with a print msg just for check

you will find my code in this file
http://www.societyofrobots.com/robotforum/index.php?action=dlattach;topic=15650.0;attach=6427

regards

 


Get Your Ad Here