Member #155499

Member Since: October 10, 2010

Country: United States

  • Product DEV-09799 | about 3 years ago

    I’m using this without an Arduino, and mounted a MAX232 (http://www.sparkfun.com/products/316) in the experimental section. I now have a nice module to which you apply power (3.3v and 5v both work!) and RS232 serial data, attach a speaker, and you get speech! Here’s my simple Python code to drive it:
    import serial,time
    def phrase(a):
    return ‘’.join([chr© for c in a])
    aybabtu=phrase([20, 96, 21, 114, 22, 88, 23, 5, 8, 135, 8, 146, 5, 128, 153, 5, 170, 154, 8, 188, 5, 152, 5, 170, 8,128,146,8,135,8,144,5,8,191,162,5,8,134,187])
    sounds=phrase([200, 201, 202, 203, 220, 221, 222] * 10)
    class speakjet(object):
    def init(self,port=‘/dev/ttyAM1’):
    self.s=serial.Serial(port,
    9600,
    serial.EIGHTBITS,
    serial.PARITY_NONE,
    serial.STOPBITS_ONE)
    time.sleep(1)
    def say(self,s):
    self.s.write(s)
    time.sleep(1)
    def close(self):
    self.s.close()
    if name==‘main’:
    sp=speakjet()
    sp.say(aybabtu)
    sp.close()

  • Product COM-09765 | about 3 years ago

    The data sheet for this device says that:
    “Sending the reset display command, 0x76, will clear
    the display and set the cursor to the first digit."
    However, I want to send 0x7B 0x76 (which should illuminate a capital "H” on the first digit because 0x76 is the correct segment bit pattern. However, in the source, one can see that the check for blanking (0x76) is made before the “digit control” check.
    I’d call that a bug. One can easily work around it, but it’d be a good idea to fix it in a later rev of the firmware.

No public wish lists :(