Forum >Replies by snskreationz
userhead snskreationz
Replies (5)
  • You Reply: [quote="sbirdranch"]Mine does not use the double row of pins on the mega.
    [/quote]

    On the mega, the SPI pins are 50 - 53, that is what the SD card *should* be using. They could also use the ISCP pins, but that shield does not have ISCP so if it is not connected to the SPI pins, there will be no connection.
  • You Reply: [quote="sbirdranch"]Mine does not use the double row of pins on the mega.
    [/quote]

    On the mega, the SPI pins are 50 - 53, that is what the SD card *should* be using. They could also use the ISCP pins, but that shield does not have ISCP so if it is not connected to the SPI pins, there will be no connection.
  • You Reply: If you have a link to the product being used, which arduino you are using, your code and your pins being connected I could definitely try to point out if something is wrong.
  • You Reply: If you have a link to the product being used, which arduino you are using, your code and your pins being connected I could definitely try to point out if something is wrong.
  • You Reply: I figured out how to get the APC220 working by translating a few forums.

    I had to put ser.setRTS(0)

    The problem now is that there is is significant lag when communicating. sometimes it might take a few seconds, sometimes nothing happens for a long time.
    Is there any setting in these parameters that could make a difference?

    (port=None, baudrate=9600, bytesize=EIGHTBITS, parity=PARITY_NONE, stopbits=STOPBITS_ONE, timeout=None, xonxoff=False, rtscts=False, writeTimeout=None, dsrdtr=False, interCharTimeout=None)

    I am using baudrate 19200 right now.
    From the arduino serial, I always get the communication with minimal delay, so once again, I think it might be a setting in pyserial that is causing this.

    Thank You.