PIC16F876 + QV306m4 Problems


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    mmm i think i've found the problem. You said that some are ok, some not... what about if you change your message constants to
    Code:
    _zero           con 0
    _uno            con 1
    _due            con 2
    _tre            con 3
    _quattro        con 4
    _cinque         con 5
    _sei            con 6
    _sette          con 7
    _otto           con 8
    _nove           con 9
    _dieci          con $10
    _undici         con $11
    _dodici         con $12
    _tredici        con $13
    _quattordici    con $14
    _quindici       con $15
    _sedici         con $16
    _diciassette    con $17
    and so on for the others.. just add an $ befor your number. Post your results after that.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Let's try this again.

    According to the datasheet for the qv306m4.
    To select one of the fixed phrases, issue a set mode command for “direct” (0f0h), then send the number of the phrase to be played.
    I see that you've defined a constant for the command

    QV_Direct con $F0 '240 dec

    but it doesn't get sent prior to sending the phrases.

    Darrel

  3. #3
    Join Date
    May 2005
    Location
    Cesena - Italy
    Posts
    13


    Did you find this post helpful? Yes | No

    Default Thanks for the reply!

    OK today I test my software with a ICD debugger.
    The software work perfectly.
    All value sent are exactly...but the qv306m4 doesn't work perfectly.
    In some case when I send the address 011 he speack the correct word (eleven) with others address he speack wrong word..(but the address number is correct!)
    I add the direct command $f0, but the problem is the same.
    In the qv306m4 datasheet manual I read it's possible to create a string of max 32 characters and speack all in the same time...I will try this...
    All new ideas will be accepted!
    I will try also to reprogram the qv306m4...
    In the next reply I send you the result.
    Thanks

  4. #4
    Join Date
    May 2005
    Location
    Cesena - Italy
    Posts
    13


    Did you find this post helpful? Yes | No

    Default All Works Well!

    Now all work perfectly!
    The software it's ok ...the problem was only the qv306m4....I program the QV306m4 another way, and all work without problem.
    Thanks
    Paolo

Similar Threads

  1. 2 PWM in 16F690 problems
    By ciendavila in forum mel PIC BASIC
    Replies: 9
    Last Post: - 27th April 2008, 09:03
  2. Input problems
    By ALFRED in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 23rd July 2006, 21:02
  3. Goto inside a gosub??? Problems...
    By leonel in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 13th October 2005, 12:17
  4. How to make working one HCTL2016 and a PIC16F876
    By hawk72501 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th July 2005, 13:46
  5. USART problems
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 47
    Last Post: - 6th March 2005, 21:45

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts