Shop OBEX P1 Docs P2 Docs Learn Events
Problem with Serial Output. Please help. — Parallax Forums

Problem with Serial Output. Please help.

186b186b Posts: 2
edited 2007-11-10 00:36 in BASIC Stamp
We are using the BS2 module and experimenting with the SEROUT command.· The code looks as follow:


N9600·········· CON···· 16468
HIGH 16
· PAUSE 100
· SEROUT 16, N9600, [noparse][[/noparse]"Success"]


When using the BS2 Module on the Board of Education, we're able to view the output "Success" on hyper terminal, but when the BS2 Module is placed on a breadboard, running the same program, we don't get any output.· Is the Board of Education wired a certain way tht we must mimic when using the BS2 on just a breadboard?· Any ideas?

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2007-10-25 11:42
    With SEROUT 16 you're using the DB9 connector on the B-o-E, with Success.· It's not working out with the BS2 placed on the breadboard, because the breadboard doesn't have the communication circuitry necessary.· You'll have to work out an RS-232 interface (MAX232) for your breadboarded version.· You should be able to find examples using http://search.parallax.com
  • tabbotttabbott Posts: 26
    edited 2007-10-25 21:48
    If you are using pin 16 for serial communications, you only need·two 0.1uF 50V capacitors to get it to work on a breadboard. Connect the serial pins as shown on this snippet from one of my schematics.
    209 x 226 - 11K
  • 186b186b Posts: 2
    edited 2007-11-10 00:28
    tabbott, thank you very much for the info. That worked like a charm!!
  • Mike GreenMike Green Posts: 23,101
    edited 2007-11-10 00:36
    Note that the capacitors are used only for programming the Stamp. If you're not going to use the DB9 for programming, leave them out because the Stamp will reset when the DTR line is toggled (normal for programming, not helpful for other uses).
Sign In or Register to comment.