Additional com ports?

Started by ChrisW in BasicX10 years ago 19 replies

I'm using Com3 to send & receive data, and my incoming speed is limited. I'd like to open 2 serial channels, one at 1200 baud, the other at...

I'm using Com3 to send & receive data, and my incoming speed is limited. I'd like to open 2 serial channels, one at 1200 baud, the other at least 9600 if not higher. How can I do this? ------------------------------------


Serial com & BX-24 resetting?

Started by ChrisW in BasicX8 years ago 1 reply

I'm having issues with the BX-24 resetting when I send data through Com3. I've run a similar program with no issues. What conditions could cause...

I'm having issues with the BX-24 resetting when I send data through Com3. I've run a similar program with no issues. What conditions could cause the uC to reset? ------------------------------------


CpuSleep

Started by anakatalan in BasicX13 years ago 4 replies

Hello, I'm a new user of Bx24 and I have ploblems with the instruction CpuSleep. In my program I am using com1, and com3, and 2 pins are ADC....

Hello, I'm a new user of Bx24 and I have ploblems with the instruction CpuSleep. In my program I am using com1, and com3, and 2 pins are ADC. I would like to call CpuSleep after a time without any change. I have seen an example (Low_power_App_Note_Bx24), but when I use it in my program, it is became hung up. Please, I need help. [(:|] thanks


Use of com1 fot other purposes

Started by Jan Valcke in BasicX15 years ago 1 reply

Hi all, Is it possible to use com1 that normal is used for programming and monitoring the basicX-24 chip for other purposes. I...

Hi all, Is it possible to use com1 that normal is used for programming and monitoring the basicX-24 chip for other purposes. I need to use this one because the baud rate is not limited to 19200B/s like the software uart com3 does. Thanks


Re: BX-24 and Mini SSC II

Started by arhodes19044 in BasicX15 years ago 8 replies

Well, I think this will be pretty easy. I think that you are saying you need to send the SSC-II the command 255, followed by the ...

Well, I think this will be pretty easy. I think that you are saying you need to send the SSC-II the command 255, followed by the servonumber, followed by the position in ascii. So you need to define com3 at a certain baud rate, with a certain input and output pin. To do this you will need input and output queues. Maybe 10 bytes in each queue unless you


Serial data Com3 19200

Started by Mikael Karstikko in BasicX14 years ago

Hello ! I have an extra Innovate XD-16 display ( 19200, 8, 1 ) I was hoping to drive it with the BX-24 ... I have had no luck so far ... I...

Hello ! I have an extra Innovate XD-16 display ( 19200, 8, 1 ) I was hoping to drive it with the BX-24 ... I have had no luck so far ... I guess my problem is the 16bits / word ... I am currently using normal characters (from ascii table) 2 per word . Also how do i convert an integer easily to binary ?? ( if i ever get this to work ... ) Here's the discription of the protocol . ht...


Serial Queues again.

Started by Don Lewis in BasicX15 years ago

Ok, resources in ram are getting too thin.. I am trying to have my BX-24 talk to multiple serial devices on COM3 and one device on...

Ok, resources in ram are getting too thin.. I am trying to have my BX-24 talk to multiple serial devices on COM3 and one device on COM1. It works very well switching between the ports and pperforming the tasks it I limit them. My question: Is the sharing of InQueue and OutQueue


BX-24 And Ocelot

Started by manuelito01 in BasicX14 years ago

Has anyone ever tried use Bx-24 to control an Appdig Ocelot??? I've tried, but no results. I used the Com3 and a TTL signal converter. ...

Has anyone ever tried use Bx-24 to control an Appdig Ocelot??? I've tried, but no results. I used the Com3 and a TTL signal converter. The communication parameters are correct (9600,1 stop bit, no parity, no handshake). The communication protocol is correctly implemented !! I tested everything with a serial protocol spy!


Two serial ports at once

Started by Edward Ringel in BasicX14 years ago

Hi all, Hoping to get some help which may be of interest to everyone. I want to use a BX-35 to maintain two RS-232 ports. I have com3 working...

Hi all, Hoping to get some help which may be of interest to everyone. I want to use a BX-35 to maintain two RS-232 ports. I have com3 working without difficulty, talking to the LCD+. I want to be able to load my program, disconnect from my PC, and then connect com1 to another piece of hardware that wants to talk to an RS232 interface. I know that piece of hardware works, because I ...


Com3 problems

Started by church_art in BasicX14 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 BasicX15 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 BasicX15 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


Newby reading several bytes from com port

Started by rr in BasicX15 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


Need help communicating via serial to iRobot Create

Started by daanmeym in BasicX12 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 BasicX14 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 BasicX16 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 BasicX15 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 BasicX14 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.


bx24's com 1 to siteplayer serial

Started by dakota_99_64804 in BasicX15 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


bx code problem??

Started by dakota_99_64804 in BasicX15 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