Com3 problems

Started by church_art in BasicX12 years ago 7 replies

I am using a BX35 and inputing the output from Parallax's RFID reader and I should receive 12 bytes Byte 1 to 12 >> CR & Characters 1 to...

I am using a BX35 and inputing the output from Parallax's RFID reader and I should receive 12 bytes Byte 1 to 12 >> CR & Characters 1 to 10 & LF. Actual String is CR 0F027D6013 LF I process after the queue is >11 to get 12.I only get F027D6013 LF and two empty characters. So I only get byte 3 to 12 and nulls in 11 & 12


This is getting expensive.........

Started by jstjohnz in BasicX13 years ago 9 replies

I am setting up a BX-24 on a breadboard. I am powering pin 21 with the breadboard's built-in +5V supply. I have the PC Com port on pins...

I am setting up a BX-24 on a breadboard. I am powering pin 21 with the breadboard's built-in +5V supply. I have the PC Com port on pins 1-3, a Scott Edwards serial lCD as COM3 on pin 5, and an analog input from the rectified output of a mic preamp on pin 13. I worked with this debugging, etc for a couple of days and all was fine. Yesterday AM when I tu


CMUcam and BasicX

Started by Carlo Valentini in BasicX13 years ago

Thank you Joerg for your answer. Looking backward in this group history I've found several people have used CMUcam with BasicX. Does...

Thank you Joerg for your answer. Looking backward in this group history I've found several people have used CMUcam with BasicX. Does anyone know were can I found, if this is possible, the codes they have writed to drive the camera through the BasicX serial port as com3? Now my code works well in both direction, so I can give order to the CAM and


TTL Comm vs SPI

Started by p_dubinsky in BasicX14 years ago

Howdy, Folks, First I have no experience using SPI which is why I'm asking this question. I have an app the sends serial...

Howdy, Folks, First I have no experience using SPI which is why I'm asking this question. I have an app the sends serial messages (Tx only - no Rx) out a BX24 pin to another device using the usual COM3 implementation at 19.2k baud. The app spends a substantial amo


Newby reading several bytes from com port

Started by rr in BasicX13 years ago 1 reply

Hi, I would like to read and print to screen (debug) 10 bytes that I have incoming through the com3. I have the code...

Hi, I would like to read and print to screen (debug) 10 bytes that I have incoming through the com3. I have the code working to read and print one byte at a time, but I would like to know what is the best way to print all of them together. I have an array 1


Re: Coms problem?

Started by Neil Jepsen in BasicX14 years ago 3 replies

Frank, Tom and others I have what I think is a com3 problem. I have a rather large program which watchdogs about once in 24 hours....

Frank, Tom and others I have what I think is a com3 problem. I have a rather large program which watchdogs about once in 24 hours. The program consists of a number of subroutines, no tasks and no interrupts. It drives two serial LCDs and a serial RS485 port, tx only. In each of


Need help communicating via serial to iRobot Create

Started by daanmeym in BasicX9 years ago 1 reply

Greetings, This is my first post here so please be gentle. I'm trying to control my iRobot Create (www.irobot.com/create) with=20 my BasicX...

Greetings, This is my first post here so please be gentle. I'm trying to control my iRobot Create (www.irobot.com/create) with=20 my BasicX BX-24 and I'm not having any luck at all. I am trying to use COM3 to send some simple commands to the iRobot=20 (start etc.). Here's my setup... Wiring: I am powering my BX from the regulated 5V output from the iRobot.=20 (iRobot pin8 to BX pi...


Help Talking to LCD

Started by bsom21122 in BasicX12 years ago 3 replies

Well, I've gottan a few of thise LCD's from DOntronics in Australia and I'm trying to get them to talk to my BasicX's but I'm not having good...

Well, I've gottan a few of thise LCD's from DOntronics in Australia and I'm trying to get them to talk to my BasicX's but I'm not having good luck. I've tried Com1 and Com3, but I have been unable to get the screen to respond. If I use my Parallax USBtoSER, the screen works great. I'm stumped. I've used the serial LCD's from Parallax, et al. before, but this screen is more complicated...


Re: Timer() loses time

Started by Chris in BasicX14 years ago 8 replies

Neil, Frank is correct, I misspoke. Com3 will not interfere with the RTC. I was thinking of something else. Are you...

Neil, Frank is correct, I misspoke. Com3 will not interfere with the RTC. I was thinking of something else. Are you perhaps incrementing your Time variable with a "rounded" Timer result? Doing so would cause the loss of time you are seeing. Chris


Interfacing a Matrix Orbital GLK-12232-25-SM LCD with a BX-24

Started by in BasicX13 years ago 4 replies

I'm trying to interface this LCD with the Com3 port of the BX-24. When just the Rx line of the displace is connected to the Tx...

I'm trying to interface this LCD with the Com3 port of the BX-24. When just the Rx line of the displace is connected to the Tx pin of the BX-24 it works fine and I can get stuff to display. But when I connect the Tx line of the display to the Rx of the BX-24 the display go


Netmedia: Request for com port enhancment - null queue

Started by cfrancois_55116 in BasicX12 years ago 2 replies

Being able to specifiy a dummy pin _AND_ queue address when using com3 would help to avoid the queue storage waste for uni-directional...

Being able to specifiy a dummy pin _AND_ queue address when using com3 would help to avoid the queue storage waste for uni-directional serial communications. This issue has come up numerous times with no resolution. Can we please get this fixed? BTW, Zbasic has addressed this problem. Thanks for your consideration.


Re: Serial Comm Help!

Started by Neil Jepsen in BasicX14 years ago

I assume you are using the same baud rate,parity,stop bits etc both time?. Try inverted and non-inverted data in your com3 setup (...

I assume you are using the same baud rate,parity,stop bits etc both time?. Try inverted and non-inverted data in your com3 setup ( bx10001000 and bx00001000) and also you may have a difference with MSB first LSB first in your data. A flip-bits will solve that problem neil


bx24's com 1 to siteplayer serial

Started by dakota_99_64804 in BasicX13 years ago 2 replies

Has anyone tried this and gotten it to work? basicly it's using com1 of the Bx24 to talk to the siteplayer through the serial...

Has anyone tried this and gotten it to work? basicly it's using com1 of the Bx24 to talk to the siteplayer through the serial line (pin 7 & 8). I can make this work with com3 but i run into a problem with another part of my project. My bx24 seem to like 19200 better than 9


Serial Input Timeout

Started by mknight73 in BasicX14 years ago 2 replies

I am writing a program at the moment that accepts data in via a serial port (Com3) and then carries out a manipulation on that...

I am writing a program at the moment that accepts data in via a serial port (Com3) and then carries out a manipulation on that data. My problem is that if no data turns up the program will continue to loop around indefinately. I am sure this is a common problem but I haven'


Serin/serout replacements for BASICX

Started by arhodes19044 in BasicX14 years ago 4 replies

I want to use the Parallax PWMPAL device. It interfaces with the Stamp over a specific pin, and uses SERIN and SEROUT over that one...

I want to use the Parallax PWMPAL device. It interfaces with the Stamp over a specific pin, and uses SERIN and SEROUT over that one specific pin at 19,200 baud. All the examples of COM3 communication have different in ant out pins. is it possible to use just one pin for thi


bx code problem??

Started by dakota_99_64804 in BasicX13 years ago 3 replies

I am trying to send the following out serial in Value through com3 at 9600: "Z00"&quo t;AAHELLO" it looks...

I am trying to send the following out serial in Value through com3 at 9600: "Z00"&quo t;AAHELLO" it looks something like this in stamp code(bs2p24): SEROU


VSDM Simmetry - Com3

Started by Joseph Obernberger in BasicX14 years ago 7 replies

Hi - I'm glad I found this group! Has anyone tried using the BX-24 with the simmetry VSDC ( http://www.simmetry.com/ ) serial...

Hi - I'm glad I found this group! Has anyone tried using the BX-24 with the simmetry VSDC ( http://www.simmetry.com/ ) serial display module? I can talk to the display, but there is always garbage after some of the commands. The clear command wor


Serial Write and Read problems

Started by i_cohen in BasicX12 years ago

Hello, I have a project where my BX24 is connected to my PC for debugging on COM1 and to a Nokia phone on COM3 for SMS sending. I'm...

Hello, I have a project where my BX24 is connected to my PC for debugging on COM1 and to a Nokia phone on COM3 for SMS sending. I'm writing to the phone to send SMS using the Nokia AT command spec but for some reason the commands not always get preformed and even when they do I receive a lot of errors. When I try to read I receive junk all together. I try and check if there is dat...


Separate a Integer into two Bytes (HIGHBYTE,LOWBYTE)

Started by itisnt in BasicX14 years ago 4 replies

Hi I would like to use a Parallax Servo Controller under BasicX but i don't know how to translate the following piece of Code...

Hi I would like to use a Parallax Servo Controller under BasicX but i don't know how to translate the following piece of Code into BasicX. Question: How can i separate a Integer (16bit) into two Bytes so that i can send these two Bytes via a Com3 to the Servo


Serial delays

Started by Francisco Lobo in BasicX14 years ago 4 replies

Hello. I am using the com3 to send some serial data obtained from a sensor. The thing is that the sampling speed gets slower...

Hello. I am using the com3 to send some serial data obtained from a sensor. The thing is that the sampling speed gets slower (much slower) when i am sending data over a serial port. Does anyone knows if there is a way to speed this up. THe data i am sending is quite small,