MUX

Started by davidsousamendes in BasicX12 years ago 4 replies

Hello I need to multiplex one of the ADC pins of BasicX in order to receive signals from 4 analog devices...(Of course using 2 digital pins for...

Hello I need to multiplex one of the ADC pins of BasicX in order to receive signals from 4 analog devices...(Of course using 2 digital pins for address purposes) Can anyone suggest a mux to use in such application? Cheers David


CpuSleep

Started by anakatalan in BasicX12 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


ADC & Calculations

Started by kjellosan in BasicX14 years ago 1 reply

Hi there I have been trying for the last weeks to get different accelerometers and gyro's to work together with my BX24....

Hi there I have been trying for the last weeks to get different accelerometers and gyro's to work together with my BX24. Finally I have got the board from rotomotion to work. It contains one accelerometer (adxl202) and a Tokin cg16do. I have some problem


GetADC time

Started by p_dubinsky in BasicX14 years ago 2 replies

Does anyone know how long a GetADC command takes? Would it be faster to use an off module ADC (assuming 10 bit resolution)? ...

Does anyone know how long a GetADC command takes? Would it be faster to use an off module ADC (assuming 10 bit resolution)? Thanks, Paul


Problem with code,,,, Please help....

Started by ribron32 in BasicX13 years ago 2 replies

Below is some sample code I am trying to use. It takes a ADC value from a shapr GP2D12 IR and converts it to ,"CM". What I'd like to do ...

Below is some sample code I am trying to use. It takes a ADC value from a shapr GP2D12 IR and converts it to ,"CM". What I'd like to do is to implement a conditinal like ... If ( Range < 150 ) then BlinkGreenLED But I keep getting setax errors. I know it's something I'm doing wrong, but I just don't know what.... Thank in advance _Duane


ADC Confusion

Started by Leddy in BasicX14 years ago 1 reply

I lost all my source code due to a recent system crash. I'm trying to remember something and I just can't for the life of me...

I lost all my source code due to a recent system crash. I'm trying to remember something and I just can't for the life of me remember how I did it. I know it was something very simple. I want to read in a voltage ranging from 0.0 to 1.0v and display it as 0.000 through 1.00


GetAdc question

Started by Francisco Lobo in BasicX15 years ago 1 reply

I need to reed a pot from basicx to determin its postion, and i need to do this as fast as possible, would you recommend attaching...

I need to reed a pot from basicx to determin its postion, and i need to do this as fast as possible, would you recommend attaching a pot to it and reading its ADC? and if yes, what pot value would you recommend from 0 kohm to --???? Thanks


BX24 & ADXL202EB

Started by kjellosan in BasicX14 years ago 12 replies

Hi There I am trying to learn how to do some ADC conversions, but nothing of what I try seems to work. Today I got an...

Hi There I am trying to learn how to do some ADC conversions, but nothing of what I try seems to work. Today I got an ADXL202EB (Analog Devices Accelerometer Evaluation Board) which I try to connect to my BX24. There are two example programs (DisplayAcce


Reading Temp using a 10K Thermistor

Started by Jim Fouch in BasicX16 years ago 5 replies

I was wondering if someone would give me some hints on how to hook up a Radio Shack 271-110A thermistor. It for a motorcycle...

I was wondering if someone would give me some hints on how to hook up a Radio Shack 271-110A thermistor. It for a motorcycle application and I only need temps in the range of 0 - 125. I would like to use one of the ADC ports, but not really sure how to convert the


Reading Temperature sensor with BX-24

Started by jaws301jaws in BasicX14 years ago 13 replies

Hi everyone, i would like to read 10K sensor(Type2or3) with the ADC fonction on the BX-24. For the electrical connexion on the...

Hi everyone, i would like to read 10K sensor(Type2or3) with the ADC fonction on the BX-24. For the electrical connexion on the BX-24 i have no problem but since those sensors ares non-linear, does someone knows what is the math function i have to use in order to read the senso


ADC Pin Query via RS232 into MatLab

Started by John A. Muller in BasicX15 years ago 1 reply

Perhaps someone in this forum could suggest a solution to a problem: I am using a BasicX24 as an A to D converter in a...

Perhaps someone in this forum could suggest a solution to a problem: I am using a BasicX24 as an A to D converter in a scientific experiment; currently, I capture all of the data using a program similar to the "6 Day 8 Channel Datalogger" you may be familiar with


ADC - DAC question

Started by Francisco Lobo in BasicX14 years ago 3 replies

A couple of questions from a newbie : I can't make basicx keep a stable voltage on one of its pins, this is because i have to...

A couple of questions from a newbie : I can't make basicx keep a stable voltage on one of its pins, this is because i have to be calling the routine to keep the voltage, but my app does not allow for fast enough refreshes. I need to output 8 bit DAC, does any one has a solu


Re: gyro ADXRS300, 150

Started by Francisco Lobo in BasicX14 years ago 1 reply

Are you reading duty cycle or ADC??? Both are very easy to implement. On Sep 28, 2004, at 8:59 PM, preston35757 wrote: ...

Are you reading duty cycle or ADC??? Both are very easy to implement. On Sep 28, 2004, at 8:59 PM, preston35757 wrote: > Has anyone worked with the gyro chip ADXRS300? I just purchased a > basicx24 and am new to the programming language. I need to cr


ADC Help

Started by paul...@yahoo.com in BasicX10 years ago 3 replies

I am new to the bx 24 and for a starter project I have designed a tracking solar panel system. I have two small panels that i would like to...

I am new to the bx 24 and for a starter project I have designed a tracking solar panel system. I have two small panels that i would like to compare voltages to in order to tell if the panels are in the optimal position. I have used a non-inverting op-amp configuration so that my voltages range from 0 to 5V. I am using a small stepper motor with a driver that i had lying around. I have been able ...


DeltaTime

Started by Francisco Lobo in BasicX15 years ago 1 reply

I am trying to determine DT every time i sample an ADC from an analog input.... This is what i am doing... TimerTemp =...

I am trying to determine DT every time i sample an ADC from an analog input.... This is what i am doing... TimerTemp = Timer ' We store the timer value in TimerTemp to not get fluctations in the following lines. DT = TimerTemp - LastTime ' We determine DT


ADC between two points / more than 500V

Started by Ed in BasicX14 years ago 4 replies

Hi I'm trying to develope a tool to measure the voltage in a system that works up to 600V. For this I use a voltage divider to...

Hi I'm trying to develope a tool to measure the voltage in a system that works up to 600V. For this I use a voltage divider to measure between 0 and 5 Volts (proportional to the 600V) and a zener to protect the uC so the voltage doesn't go above 5V. The problem with this is that I loose a lot of resolution because the wide amplitud (0.


BX-24 I/O Pins

Started by Mario in BasicX13 years ago 3 replies

Good Morning, I have an application where I am using the ADC of the BX-24 to read some resistance values of a wheatstone bridge sensor....

Good Morning, I have an application where I am using the ADC of the BX-24 to read some resistance values of a wheatstone bridge sensor. I am using relays, constant current source, and active circuits to read and scale a voltage to correspond to a resistance. The problem that I am running into is that when the relays are not engaged my analog circuit is


BX-24 diagnostic?

Started by Tom Becker in BasicX12 years ago

I have a small pile of BX-24s that I've set aside as I've suspected that each had developed an apparently bad pin. I have surely smoked a few...

I have a small pile of BX-24s that I've set aside as I've suspected that each had developed an apparently bad pin. I have surely smoked a few processors but others, I'm sure, are fine. I grabbed one of them today and found that logical I/O of one pin was fine but its ADC multiplexer doesn't seem to work. I'd like to go through them all and cull the bad from the good. Has anyone written ...


Forum status

Started by Tom Becker in BasicX10 years ago 1 reply

Netmedia's Chris is clearly busy designing exciting new products and does not have time to effectively moderate here. If you guys read...

Netmedia's Chris is clearly busy designing exciting new products and does not have time to effectively moderate here. If you guys read a question that you can correctly and concisely answer, do it. I expected surely that someone would easily have answered "is a Float ADC read faster", but to assume that apparently means no answer as the group becomes more apathetic. We were once new, to...


new gyro from analog devices

Started by alex_salvi in BasicX11 years ago 10 replies

I'm building a balancing bot and I just saw this new gyro by Analog Devices that will come out in a few days. There are three choices...

I'm building a balancing bot and I just saw this new gyro by Analog Devices that will come out in a few days. There are three choices for sensitivity settings as opposed to only one for the adxrs300 I am currently using and it has a built-in 12 bit ADC. Is it worth considering as an upgrade? - Alex ADIS16255 Programmable Low Power Gyroscope Product Description The ADIS16...