0

HD 410 5V SERIAL HELP NEEDED



I need to control the HD410 using a Parallax SX microcontroller. I am sending a 5v serial command to the 410 but do not get any response. In looking at an old post, it looks like I need to change the 410 to look at the 5v 3.5mm instead of the 9 pin. Does this sound right or do I need to look at something else. Any help with the code to do so would also help.

15 comments

  • 0
    Avatar
    RokuLyndon


    Are you using brightauthor? If so, then yes, it looks at the standard 9v port. what needs to happen is we need to modify the autorun.brs script that gets published to your flash card.

    If you search in that file, a text file, for the following string: "roserialport", you'll find a line that looks like this:

    serial = createobject("roSerialPort", 0, 115200)

    THe port speed might be a variable.

    The important part here is you need to change the 0 in the middle to 1. That determines what kind of serial port object is created, either one for the 9v or 5v serial. Once you make the change, the 9v serial port will be ignored.
  • 0
    Avatar
    prozach77


    How do I open the .brs file?
  • 0
    Avatar
    prozach77


    I figured out how to open the brs file.   Made the change but still no response.

    I am send the serial "11" out using the following looping program:

    Start:
    pause 2000
    serout serial_out,t9600,11

    pause 2000

    serout serial_out,n9600,11

    pause 2000
    serout serial_out,ot9600,11

    pause 2000
    serout serial_out,on9600,11

    goto start
    END

    The loop sends the data true, inverted....

    I am sending the serial on the tip of the 3.5mm jack and grounding the base.

    Any suggestions?

    Thanks
  • 0
    Avatar
    RokuLyndon


    Are you sending a string to the unit, with a carriage return, or are you sending something else? Brightauthor assumes strings with a carriage return.
  • 0
    Avatar
    prozach77


    I am not a programmer so I will need some help here...

    I am not sure what the carraige return is.   Is it the same as the stop bit?

    Here is what Parallax says about the serial tx:

    Transmit asynchronous serial byte at the selected baud rate and mode using no-parity, 8-data bits, and 1-stop bit

    Does this sound right?
  • 0
    Avatar
    RokuLyndon


    What is actually being sent to the brightsign?

    It looks like a byte is being sent to the brightsign. I can make a further change to the unit will accept byte input into a brightauthor project. But, I need to know what bytes you are sending to the unit, and what's supposed to happen with each byte you send?
  • 0
    Avatar
    prozach77


    The microcontroller appears to send out a single byte (0-255).   I need the 410 to respond to the byte that is sent.  For instance, from the initial state I have put the number "11" in the serial input to trigger the next event.  I plan to control the entire presentation this way.
  • 0
    Avatar
    RokuLyndon


    Ok, are you sending hex value for 11, or the hex equivalent of the number 11.
  • 0
    Avatar
    prozach77


    sending the hex value
  • 0
    Avatar
    prozach77


    Any news on this??
  • 0
    Avatar
    RokuLyndon


    I have a modified autorun I need to finish testing, but I've made the changes necessary so you can send a hex byte but still use the serial event in brightauthor.
  • 0
    Avatar
    prozach77


    Have you had a chance to test the autorun file?
  • 0
    Avatar
    prozach77


    I have been waiting for  2 weeks for a solution to this....are you able to help me or should I move on to a different company?  Left a phone message today.
  • 0
    Avatar
    RokuLyndon


    I just sent you an email. I should be able to get this sorted out today.
  • 0
    Avatar
    RokuLyndon


    I added a new custom autorun brightauthor thread that includes the custom autorun that lets you receive input as bytes over the TTL port. Any bytes that are sent are automatically converted to their decimal equivalent on the brightsign.

    So, if you send the hex value 30, the brighsign will see it as the decimal equivalent, 48. So, you should use 48 as the serial input value in the interactive project.
Please sign in to leave a comment.