Discussion forum for the BasicX family of microcontroller chips.
Hi all, need some basic help with the bx-24. - Cain - Apr 11 21:46:53 2008
My experience with microproccesors is very limited. Last semester we
did a sumo robot using th bx-24 but we were basically spoon fed the
programs. I am now trying to use the bx-24 to read continuity changes
and store the data in an array. Unfortunately I am having alot of
problems even getting started. First off I can't get the program to
compile on my laptop as it is saying that the port is unable to be
opened. I am using a converter between the chip and my laptop that
converts the serial cable to a USB. Is this the problem? The port on my
computer is labeled USB-D. So I am really confused on what port (1-10)
would coorspond. Also if anyone has a sample code that might help too.
Thank You for any help
Kerry Cain
------------------------------------

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )
Re: Hi all, need some basic help with the bx-24. - Don Kirby - Apr 12 22:00:28 2008
Hi Kerry,
You'll need to determine the correct com port number in order to
download anything to the chip using the USB-Serial adapter you have
there. One way to do it is to open the device manager and look under
the Ports(COM&LPT) heading for your adapter device. You'll know that
you have the right device if it disappears from the list when you
unplug it from the USB port. Once you've located the device, you
should see a (COMx) next to it's name in the list, where x is your com
port number. If you don't see a Com port number listed, you'll need
to look to the manufacturer of your adapter for advice.
Once you have the number you should be able to connect to the chip.
You can ignore tha A B C D designations on the USB ports, they don't
relate to anything in the software (at least not on the level we're
dealing with here).
It would be hard to offer advice on the actual programming without a
more specific question. You'll find that the forum is great for
answering questions, but not so great at spitting out complete
applications. Try putting something together and see what doesn't
work. Then post the relevant code with a description of what you
think it should be doing. I'm sure someone will be able to help you
diagnose the problems.
You seem to be a bit overwhelmed with the whole process. I can
certainly be very frustrating in the beginning. The key is to move
one step at a time (like getting the downloads to work before you
start writing code), and make sure you understand what you are doing
as you are doing it. Remember that the correct way to work through a
problem is not to change things blindly until it works. This 'brute
force' method takes longer and you never really understand what the
code is doing. The better method is to identify the core of the
problem and determine all of the causes. Usually, once you find the
problem and understand its' nature, the solution is self-evident.
-Don
--- In b...@yahoogroups.com, "Cain"
wrote:
>
> My experience with microproccesors is very limited. Last semester we
> did a sumo robot using th bx-24 but we were basically spoon fed the
> programs. I am now trying to use the bx-24 to read continuity changes
> and store the data in an array. Unfortunately I am having alot of
> problems even getting started. First off I can't get the program to
> compile on my laptop as it is saying that the port is unable to be
> opened. I am using a converter between the chip and my laptop that
> converts the serial cable to a USB. Is this the problem? The port on my
> computer is labeled USB-D. So I am really confused on what port (1-10)
> would coorspond. Also if anyone has a sample code that might help too.
>
> Thank You for any help
> Kerry Cain
>
------------------------------------

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )Re: Hi all, need some basic help with the bx-24. - John Biggs - Apr 13 6:47:35 2008
I am affraid that it may be. I have had problems using adaptors, but when I used the usual
RS232 UART I had no trouble. But I can see how you can use the BX 24 to do what you want.
I would pick a resistor to use as a shunt. Send a regulated voltage thru the resistor to
the load under test and measure the V dropped. Convert that voltage to current and do the
math. V/ I= R. Then answer is R of shunt minus R
----- Original Message ----
From: Cain
To: b...@yahoogroups.com
Sent: Friday, April 11, 2008 12:47:13 PM
Subject: [BasicX] Hi all, need some basic help with the bx-24.
My experience with microproccesors is very limited. Last semester we
did a sumo robot using th bx-24 but we were basically spoon fed the
programs. I am now trying to use the bx-24 to read continuity changes
and store the data in an array. Unfortunately I am having alot of
problems even getting started. First off I can't get the program to
compile on my laptop as it is saying that the port is unable to be
opened. I am using a converter between the chip and my laptop that
converts the serial cable to a USB. Is this the problem? The port on my
computer is labeled USB-D. So I am really confused on what port (1-10)
would coorspond. Also if anyone has a sample code that might help too.
Thank You for any help
Kerry Cain
__________________________________________________
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )RE: Hi all, need some basic help with the bx-24. - =?iso-8859-1?Q?Reynaldo_D=EDaz?= - Apr 14 19:40:54 2008
I had the same problem, but in my case it was the AC adapter I was using that couse this
problem. I change the AC adapter and every thing went right.
To: b...@yahoogroups.comFrom: d...@yahoo.comDate: Fri, 11 Apr 2008 19:47:13 +0000Subject:
[BasicX] Hi all, need some basic help with the bx-24.
My experience with microproccesors is very limited. Last semester we did a sumo robot
using th bx-24 but we were basically spoon fed the programs. I am now trying to use the
bx-24 to read continuity changes and store the data in an array. Unfortunately I am having
alot of problems even getting started. First off I can't get the program to compile on my
laptop as it is saying that the port is unable to be opened. I am using a converter
between the chip and my laptop that converts the serial cable to a USB. Is this the
problem? The port on my computer is labeled USB-D. So I am really confused on what port
(1-10) would coorspond. Also if anyone has a sample code that might help too.Thank You for
any helpKerry Cain
_________________________________________________________________
Blog your life in 3D with Windows Live Writer.
http://www.windowslive.com/overview.html?ocid=TXT_TAGLM_Wave2_wl_writer_022008
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )