Jump to content
43oh

mixographer

Members
  • Content Count

    10
  • Joined

  • Last visited

Reputation Activity

  1. Like
    mixographer got a reaction from bluehash in [Energia Library] Parallel Thermal Printer Library   
    Here is what the printouts look like with various print modes active:

     
    Here is what my little breakout boards look like. (This one is the I2C PFC8574 version):

     
    And here is my shift register board and value line launchpad. The ribbon cable leads to the printer's parallel port:

     
    EDIT: I removed this text, as I figured out how to upload. 
     
    ---
    I cannot figure out how to upload pictures here. I see posts that say don't link it in, but I can't figure out how the media thing works.
     
    Edit: Maybe it's the attach thingy I just noticed below. 
    ---
  2. Like
    mixographer got a reaction from bluehash in [Energia Library] Parallel Thermal Printer Library   
    Hi,
     
    I have created a library to work with parallel thermal printers. This is specifically for those receipt printers that use the ESC/POS protocol. I have used the printers in a fortune teller machine I built with a LaunchPad. I wrote an I2C library and a Shift Register Library for Arduino, but I can only get the shift register version to work with Energia and LaunchPad. I have tested the Shift Register version of the library with LaunchPad and the 2553 chip. 
     
    The library is at my Github:
     
    https://github.com/mixographer/430-Thermal-Printer-I2C
     
    You will want to use the _SR version, "Thermal_Printer_SR.h" and "Thermal_Printer_SR.cpp." 
     
    The library supports printing with bold, underline, upside-down, inverse, etc. and there are example sketches 
    that show how to print. There is also a schematic that shows how to hook up a 595 shift-register to the parallel printer. 
     
    Should be useful if you find a parallel version of the common receipt printer. Around here the serial versions are scarce and more expensive, so the parallel printers were what I could find easily. 
  3. Like
    mixographer reacted to cde in Serial (without emulation side)?   
    Another option, Take a spare mini-usb cable, cut it in half, and solder a 3x1.5 battery pack to red(v+) and black(v-). (Or solder the battery pack to tp3 (gnd) and tp1 (v+) by the usb connector. The tps77301 regulator will then power the rest of the board. It only needs 3.7~3.8v to work properly, anything above that (like 4.5v) is great.
  4. Like
    mixographer reacted to jazz in Serial (without emulation side)?   
    My point is... why using something (standard MAX232 chip) that maybe works OK with low voltage (close to 3V), when you can use something (MAX3232 or any other 3V rated chip with enough drv/rec) that is working OK for sure with low voltage (close to 3V by data sheet spec, and can go under). Don't see any reason for connecting MAX chip to any other supply voltage (to 5V why?), then MSP430 supply (battery, close to 3V).
     
    As I understood, in this topic user want to use (battery powered standalone device) MSP430 with MAX chip for sending data to POS. There is problem in RS232 interface between MSP430 and POS, and there is no reason for putting FTDI chip in this story. Or maybe I don't understand the problem, don't know?
  5. Like
    mixographer reacted to VirtualEnder in Serial (without emulation side)?   
    It sounds like the battery voltage is not enough to power the MAX232. Try plugging in to a USB wall charger rather than battery power. Unless there is some specific need to use battery, it's much more reliable. I'm assuming since this going right to the printer it will be near an outlet.
  6. Like
    mixographer reacted to SeuPay in Serial (without emulation side)?   
    Several comments:
    If you are turning ON the LaunchPad and the printer simultaneously,
    use a delay before sending the message, maybe the printer needs more time to begin the reception...
     
    LaunchPad VCC = 3.6 Volts
    Two AA batteries= 3.0 Volts or less
    Three AA Batt. = 4.5 Volts or less
     
    How do you power the MAX232 ? (Supply voltage range 4.5~5.5V).
     
    Setting time of the MAX232 after power on?
    If you are using a MAX232 is good practice to place a delay routine
    to ensure that the charge pump voltage has risen to its proper operating level.
     
    Logic levels betwen MAX232 and the launcPad?
     
    just ideas, trying to help... :thumbup:
  7. Like
    mixographer reacted to gordon in Serial (without emulation side)?   
    You need either the FTDI to go from TTL serial to USB or you need the MAX3232 to go from TTL to RS232 (I don't know if the MAX232 can cope with 3.3V, the 3232 can, IIRC).
  8. Like
    mixographer reacted to SeuPay in Serial (without emulation side)?   
    Why a 20 seconds delay?
    it's a lot of waiting time to me.
    You will be using the reset button to send the message...
    :thumbup:
  9. Like
    mixographer reacted to gordon in Serial (without emulation side)?   
    Connect a USB-serial converter (FTDI cable, whatever) to on the RX and TX pins of J3 on the target side, RX is J3 pin 2, TX is J3 pin 3 (see the schematics and the board layout in SLAC437).
×
×
  • Create New...