Bx 24 doesn't work

Started by tonifix in BasicX13 years ago 1 reply

Sorry guys , there's some possibility of burning the ADC Pins ? The adc pins have some protection for the overstrains ? I think...

Sorry guys , there's some possibility of burning the ADC Pins ? The adc pins have some protection for the overstrains ? I think i've burned the PIC !! The pic worked well in my circuit , then yesterday it stopped . I've tried to run this program for controlling a servo with adc pi


ADC Question.

Started by Francisco Lobo in BasicX14 years ago 1 reply

Does anyone know how long would basicx take to make an ADC reading? Thanks

Does anyone know how long would basicx take to make an ADC reading? Thanks


adc problems, please help

Started by nicdman00 in BasicX13 years ago 15 replies

I've seen some messages about it before. If someone could clear this up it would be just fantastic. BX24 simply i need to...

I've seen some messages about it before. If someone could clear this up it would be just fantastic. BX24 simply i need to sample voltage from 0-5VDC on 3 adc pins so I use pins 13,14,15 if the voltage is over a certain amplitude like say 3.5 VDC then swit


16 channel ADC

Started by Hugo Desmeules in BasicX13 years ago 4 replies

Hi! I'm new to basicx, but I've multiple projects with other microcontrollers. I searched the group for adc but didn't find what i...

Hi! I'm new to basicx, but I've multiple projects with other microcontrollers. I searched the group for adc but didn't find what i was looking for so: I would like to interface an ADC0817CC, an 8-bit 16 channel a/d converter to the basicX-24. My guess is that I won't be using t


Re: Kalman Filter Code

Started by sturgessb in BasicX10 years ago 3 replies

Im really struggling to get this to work with ADC accel unit (im using 5dof board from sparkfun). Anyone sucessfully got this working using...

Im really struggling to get this to work with ADC accel unit (im using 5dof board from sparkfun). Anyone sucessfully got this working using ADC gyros and accellerometers rather that PWM? fancy sharing your code? :) Also, it seems it only calculated angle for 1 axis, would it be possible to extend this to both pitch and roll attitude estimation? Cheers Ben


BX24 networking

Started by ahvah2805 in BasicX13 years ago 6 replies

Hi, I am working on semiautonomous robotic system. As a core processor is Bx24. Till now everything was more or less fine....

Hi, I am working on semiautonomous robotic system. As a core processor is Bx24. Till now everything was more or less fine. Now I've run out of ADC inputs. Therefore I think about using another BX24 in order to process ADC input data and send the results to the f


ADC and I/O Issue

Started by Mario in BasicX13 years ago 1 reply

I am currently using Pin 20 to read a voltage using the ADC. Pin 20 is initialized as a High-Z pin. Connected to Pin 20 is an...

I am currently using Pin 20 to read a voltage using the ADC. Pin 20 is initialized as a High-Z pin. Connected to Pin 20 is an output of a op amp that is outputting about 7.6 volts. When I want to take a reading I close a set of relays that connects the signal to be measure


ADC input question

Started by Vince Pearman in BasicX15 years ago 3 replies

Hi all, a question: I'm using three ADC inputs on a BX24 to measure temperature, power supply voltage (thru voltage divider),...

Hi all, a question: I'm using three ADC inputs on a BX24 to measure temperature, power supply voltage (thru voltage divider), and barometric pressure (via an MPX4115). I've noticed that the readings on these pins are affected by the state in which all the other pins are


Test for something connected to ADC Pin

Started by Leddy in BasicX13 years ago 1 reply

Is there a way to know if an ADC Pin is "null" or if something is connected to it sending data? I've used GetADC(13) with nothing...

Is there a way to know if an ADC Pin is "null" or if something is connected to it sending data? I've used GetADC(13) with nothing connected to it and still read a result of ~300-350ish Those could be values sent to it from the analog input, so I'm at a loss :(


how pass ADC contents to Timer/Counter

Started by antoniod_arienzo in BasicX9 years ago 1 reply

Hello, my new group!!! I write from Italy, so excuse my grammar mistake... I' ve already a nice question for you... How can I pass the contents...

Hello, my new group!!! I write from Italy, so excuse my grammar mistake... I' ve already a nice question for you... How can I pass the contents of ADC's registers (ADCH and ADCL in particular) to Timer/Counters' OCRs (Output Compare Registers) directly (not using RAM storage)?


Problem With ADC Converters

Started by Nathaniel Barshay in BasicX10 years ago

Hey, I'm having a problem with ADC on pins 13, 19, and 20. When connected to something they yield an output of around 900-910, and when...

Hey, I'm having a problem with ADC on pins 13, 19, and 20. When connected to something they yield an output of around 900-910, and when allowed to float they output 1024. The pins work fine as normal inputs, and the rest of the A/D converter pins work perfectly. I'm also having some intermittent problems with the verification step of the internal EEPROM (more like every other download att...


ADC reading high

Started by geekfarmer in BasicX6 years ago 1 reply

I am working on a t-stat and am having an issue with the ADC on a BX24. It is reading about 0.5 V high. My ckt is a 1 mA current source and a...

I am working on a t-stat and am having an issue with the ADC on a BX24. It is reading about 0.5 V high. My ckt is a 1 mA current source and a PTC diode. Checked by adding a resistor on one channel and a 2.5 V reference doide on an other. Both read high. If I tie a line to the gnd or +5V rail it read correct. Below is my code. I have the code running as a function called by a task. Do I have...


basic input problem

Started by ricinecwh in BasicX11 years ago 3 replies

I am a basic beginner I have a small problem and hope that it would not be too disturbed. When I put the varied voltage into any ADC pin, i...

I am a basic beginner I have a small problem and hope that it would not be too disturbed. When I put the varied voltage into any ADC pin, i dont know why the other ADC pin are also affected. For example When Pin16 is change from 3V to 5V, Pin 13 will be affected and changed from 3Vto 5V also. Is my basic chip have some problem? or it is normal?


16-bit ADC on BX-24?

Started by Tom Becker in BasicX12 years ago 7 replies

It seems to me that the 10-bit ADC range can be extended (without increasing the resolution, which remains 10 bits) by manipulating Aref, ...

It seems to me that the 10-bit ADC range can be extended (without increasing the resolution, which remains 10 bits) by manipulating Aref, the analog reference voltage on 8535 processor pin 29. Ultimately limited by noise, the low end of the BX-24's analog input range can be extended another six, or even eight, bits pretty easily. Aref is normally tied


Maximum voltage and current applicable in ADC pins (BX24)

Started by tonifix in BasicX13 years ago 2 replies

Hi ! Someone knows What's the maximum voltage and current applicable in the ADC pins ? I've read the data sheets of bx24 chip but I...

Hi ! Someone knows What's the maximum voltage and current applicable in the ADC pins ? I've read the data sheets of bx24 chip but I haven't seen these values anywhere . ( Sorry for the stupid question ( and the bad english ) , but I'm a beginner ! )


measuring adc

Started by Tom De Weyer in BasicX12 years ago 4 replies

Hello, Is it possible to measure a voltage higher then 5v? I have a a signal which is between 7.5V and 9V. Thanks, Tom De Weyer ...

Hello, Is it possible to measure a voltage higher then 5v? I have a a signal which is between 7.5V and 9V. Thanks, Tom De Weyer Belgium


BasicX measure battery using ADC

Started by Nikropht in BasicX12 years ago 1 reply

What is the best method to go about measuring the battery voltage that the 24p is running off of? Thanks, Mike Down ...

What is the best method to go about measuring the battery voltage that the 24p is running off of? Thanks, Mike Down


GP2D12 and others

Started by matiasmatte in BasicX12 years ago 2 replies

Hi, I really need help!! After trying the SRF04 I connected an IR sensor (GP2D12) and I couldn't use it. I used the 16 pin (ADC input)...

Hi, I really need help!! After trying the SRF04 I connected an IR sensor (GP2D12) and I couldn't use it. I used the 16 pin (ADC input) and got no reading. It sometimes returns a value, but for the same distance it can be different. I don't know what happen!!! please tell me how I can check the I/O ports of the BX-24, maybe they're n


Re: Kalman Filter Code

Started by sturgessb in BasicX10 years ago 1 reply

I see this code is for PWM generating sensors, have you tried this code with ADC type? Cheers Ben

I see this code is for PWM generating sensors, have you tried this code with ADC type? Cheers Ben


BX-24 For Next Error

Started by gouardopatrick in BasicX8 years ago 3 replies

Hello, I wrote the following program to read a value on the ADC Port and convert it to RMS value. I have an error at the line Next K and I...

Hello, I wrote the following program to read a value on the ADC Port and convert it to RMS value. I have an error at the line Next K and I cannot find the reasons. Can someone help me to get out of this situation, I have little experience with programming . Thanks for your help. Patrick. '-------------------------------------------------------------------- Option Explicit '----...