Shop OBEX P1 Docs P2 Docs Learn Events
Any experience with VRStamp? - Page 2 — Parallax Forums

Any experience with VRStamp?

2»

Comments

  • GICU812GICU812 Posts: 289
    edited 2008-09-15 03:31
    I dont know if anyone is following my ... well torture I guess, but at least this gives me a place to rant.

    I have found that the VRS uses pins 0.4 and 0.7 to communicate with its onboard 24LC128 EEPROM where it stores the program.

    Using a stamp to interaface directly with the EEPROM, Ive found it is not the problem, I can write to it and it will hold my data, but when I read the EEPROM through the Mikro loader, it does not read my data, always gives me the same FFFFF \ 00000 whatever. So the problem must not be in the EEPROM on the old chip.

    What is wierd, it worked the first time I used the chip, I was able to correctly download the running program, but sometime right after that it died.


    I still cannot get the new chip working, I dont want to do anything to invasive to it that might damage it. Ive emailed sensory about it, we'll see what they say tommorrow.

    For now all the new chip does is run its program in some forgien language, and nothing seems to know it is there.
  • GICU812GICU812 Posts: 289
    edited 2008-09-15 03:36
    Oh and the new chip leaks current on the output pins just like the first one did, so LEDs light up a little. So that might not have been a failure indication.
  • GICU812GICU812 Posts: 289
    edited 2008-09-15 04:03
    AHA!

    In a fit of common sense, I dowloaded the latest flash software

    IT WORKS!!!!!

    for some reason, it takes 6 tries for the VRStamp to hookup with the software. I thought the issue was it was timing out too soon. The old chip pulled the TX line high immediately after I hit read, the new on waited a second or so to do it. I didnt want to manually pull the line high for fear of damaging.

    FINALLY! No more annoying italian woman!

    Ive never been so happy to see blinking LEDs in my life!
  • GICU812GICU812 Posts: 289
    edited 2008-09-15 07:23
    Well that elation didnt last long.


    I cant some programs to build. I keep getting "Undefined extern name '_P1_EXISTS' in module 'INTS_MOD' when trying to build the LEDLIGHTSHOW program
    I get about 10 of those with diffrent names and modules

    Other programs I get relocatability errors. Very frustrating.

    Any suggestions?
  • LilDiLilDi Posts: 229
    edited 2008-09-15 20:53
    GICU812,

    Replace the CONFIG.MCA file from the LedLightShow project with one from the Sensory Fluent Chip library. Probably should use the CONFIG.MCA file from the SOURCE folder.

    Also, at the beginning of the config.mca file, change as follows:

    ; Choose at most 1 of the following options:

    DEMO_EVAL_2···· .EQU··· 0······ ; 1 = V2 board with serial flash AT45DB321
    DEMO_EVAL_1···· .EQU··· 0······ ; 1 = V1 board with parallel flash SST29x020
    VR_STAMP······· · .EQU··· 1······ ; 1 = VR Stamp board, SEEPROM, no flash
    RPM·············· ··· .EQU··· 0······ ; 1 = Rapid Prototyping Module, serial flash
    ·········································· ; Custom hardware if all of above = 0

    Post Edited (LilDi) : 9/15/2008 9:15:45 PM GMT
  • GICU812GICU812 Posts: 289
    edited 2008-09-16 04:31
    Thanks!

    Actually I got it working a little earlier today, but seriously I really appreciate it, I would be banging my head on the board right now if I couldnt get it working.

    Here's where Im at.

    I can program up to 7 words, when a word is recognized, it pulls the corresponding pin high. The Stamp is tied to these pins, when the Stamp sees the pin high, it recognizes it. (For now it just debugs "Lights On" or the like.

    So that is a good start. Im working on getting the VRS to accept inputs while it is listening. Once I can do this, I will be able to have the B-Stamp command the VRS to say a word.

    This is a very promising start, after a seemingly long and painful journey.

    Also, the VRS stores the programmed words, so you only need to train it once.

    This is the basis of a basic interface for communicating the B-Stamp to the VRS. If I can get it fully debugged, I will offer programming services to Parallax users. Just send me a VRS and some sound files, I will program the VRS to interface on specified pins.

    As for my project, this is just proof of concept for the building blocks. Once I really learn how to use some features, it should take off.
  • GICU812GICU812 Posts: 289
    edited 2008-09-16 06:09
    Well Im stuck.

    Ive been trying to build my own output files using QS4. When selecting build, I do now know where in CONST space to load it, or if Im supposed to load to Data or something.

    It doesnt seem to like anything I can put in for "Load at or above" it says the hex address is invalid
  • GICU812GICU812 Posts: 289
    edited 2008-09-16 07:37
    For now im just opening the LEDLIGHTSHOW qs4 file, replacing everything, renaming it, and building that. I dont have a clue what the problem is, but that works
  • GICU812GICU812 Posts: 289
    edited 2008-09-30 20:08
    Sorry I havent been keeping updated.

    Well, this thing definitely is not for the faint of heart, but really, once you grasp the C language, and get past the unavoidable yet totally cryptic error messages the compiler gives you, its not half bad. Im still stubling through with a lot of trial and error, but Im getting there. I would be glad to answer any questions anyone has, at least to the best of my ability.

    Im having trouble with the speech training, its downright infuriating at times, sometimes it will learn a word just fine, othertimes it will ask you to repeat 4 times then refuse, and I cant get the error codes working to understand why its doing this. So far the numbers zero - seven seem to work rather flawlessly.

    Oh, and I must be doing something wrong, because this thing will not tolerate any kind of noise in the background during recognition.

    I also have yet to figure out the templates. The notes say you should only have as many words in a recognition template as are relevant at that time, so if you have menu levels, you should only be listening for the words on that level, and ignoring the others. I cant seem to get it to train multiple templates.



    I would like to play with SI, any chance one of you nice gents with the software would be willing to make me a file so I can at least experiment with it?
  • GICU812GICU812 Posts: 289
    edited 2008-10-22 02:09
    Im definitely making some good progress.

    Right now I have an app that will do the following

    Train 4 trigger words, then 4 sub words under each of those

    Accept 4 main trigger words
    Respond to those triggers instantly, even in the middle of a sentance

    Then listen for one of the four triggers

    I can retrain any one of the sub words whenever I want, for changes or troubleshooting

    debug out in standard serial any basic value I need, and therefor probably communicate serially to the Basic Stamp

    Prompt with words for the programming, and respond with words and phrases to the voice commands.


    I could expand the vocabulary to many more sub words, but I can only listen for 4 keywords. Im not in the posistion to have sub-sub menus, but its possible if I wanted to recode some things.
  • GICU812GICU812 Posts: 289
    edited 2008-10-22 02:12
    I would still really like to try T2SI. Would anyone be willing to make me a template? If not one I can use, than at least one I can experement with.

    Please?

    Im still tossing around the idea of programming them for the Parallax community, but every time I think I might start, there is something new I want to incorporate.

    Im actually thinking about building voice modules for the X10 systems as well. The problem there being the cost more than the work, I would have to charge probably $125 for a unit.
  • xanatosxanatos Posts: 1,120
    edited 2009-05-22 22:32
    Oh how happy I am to find THIS thread!· This is exactly what I am wanting to do.· I've been playing with stamps for a while, but I've been wanting to do a genuine home-control system using voice, with a "wake-up" word ("computer"), a phrase to select the system or group to be controlled ("Office Lights") and a state-command ("On").· I want to keep it simple, but be able to add to it.· For my (at least initial) foray into this I am really only looking at On/Off commands, rather than range commands like thermostat control, etc.· Your info here has been immensely helpful as I have not yet purchased the VR or any of its programming boards, but have some better idea of their features and drawbacks.

    I have purchased some X10 equipment (eBay) anticipating using it to give me the powerline data access.

    My question is - how has this project progressed since your last posting here on 10/21/2008?

    Thanks VERY much!!
  • xanatosxanatos Posts: 1,120
    edited 2009-05-26 23:44
    GOOD NEWS: The limitation has changed on the Q2TSI Lite software:

    "Quick T2SI Lite no longer has this limitation. It was recently changed and now offers unlimited life/builds. The maximum phrases/words has been reduced from 25 to 12. Most VR Stamp users fall into this range. I hope this better suits your requirements."

    From Steve at Sensory Inc.

    Much happier now.... smile.gif

    Dave
Sign In or Register to comment.