Shop OBEX P1 Docs P2 Docs Learn Events
Sound App Module and DiosPro — Parallax Forums

Sound App Module and DiosPro

merlinmerlin Posts: 40
edited 2008-02-10 00:48 in Robotics
Hi folks,
Certanly this is an off-topic issue, however I really need some help here:

I had working on a robotic project based on Basic Stamp2, using Sound App Module for feedback purposes. It worked fine but eventually I ran out my I/O ports, so I have migrated the project to DiosPro, a microprocessor like BS2 with steriods... All works Ok except Sound App Module doesn't recognize the Serial commands sent by DiosPro. I have tested the wiring and hardware, it all seems to be ok, but the Sound Module refuse to work with DiosPro instructions.
I guess it is a particular issue related to Sound App Module / BS2, because the byte structure of SEROUT Dios pro command seems to be identical to Basic Stamp.
I reallly appreciatte any advice to workaround on this matter
Thanks in advance


daniel

PD: Of course I had worked this issue with Crustcrawler guys from DiosPro....no results at all

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


Visit my Personal Home Page:

http://darnoff.vtrbandaancha.net/

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-02-04 01:47
    Are you sure the baud rate is correct? Try setting it slower.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • merlinmerlin Posts: 40
    edited 2008-02-09 00:27
    It was a very promising idea, unfortunately it doesn't work.

    I setup the DiosPro ·from 1200 to 9600 and the Sound App Module didn't respond to the commands sent.

    If I send the command sequence via BasicStamp2, the module works Ok., so I guess the problem is related to the format or serial protocol used by Dios Pro.

    Any other advice from the comm geeks?



    Thanks in advance,



    daniel



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Visit my Personal Home Page:

    http://darnoff.vtrbandaancha.net/
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-02-09 02:38
    It's concievable, even likely, that the BS2 definition of "normal" or "inverted" RS232 is the opposite of the DiosPro definitions. You might try "Inverting" the DiosPro.
  • merlinmerlin Posts: 40
    edited 2008-02-09 17:45
    Pls excuse my ignorance but....how can I invert the RS232 on DiosPro? The signal is going from DiosPro port 4 to Sound Module via one wire (and ground, of course)
    Is it a matter of software or hardware?


    daniel

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Visit my Personal Home Page:

    http://darnoff.vtrbandaancha.net/
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-02-10 00:48
    There should be a parameter in the DiosPro 'open' of the serial port that supports "inverted" mode.
Sign In or Register to comment.