Shop OBEX P1 Docs P2 Docs Learn Events
HB 25 Motor controller conflicts with SERIN 16 — Parallax Forums

HB 25 Motor controller conflicts with SERIN 16

TimNTimN Posts: 32
edited 2007-03-19 04:02 in BASIC Stamp
I am currently using a program that runs HB-25 motor controllers but recieves commands for them via a serial cable using the SERIN 16 command. however, every time data comes in over the serial line, the HB25 gets reset. is there any way to prevent this from happening?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-03-19 04:00
    Is the HB-25 getting reset or is the Stamp getting reset? It would be normal for the Stamp to be reset whenever the serial port is "opened" since most programs toggle the DTR line at that time and it's the change of state on the DTR line that is used to reset the Stamp for downloading. You may need to put a switch in the ATN lead from the Stamp or in the DTR line in the serial cable to prevent this from happening during operation, but to allow the reset to occur for programming.
  • TimNTimN Posts: 32
    edited 2007-03-19 04:02
    uh... i am not sure if the stamp is being reset or the HB 25 is. How could i tell? and what are the ATN and DTR lines, and how would i put such a switch in?
Sign In or Register to comment.