Can I use accelerometer to get position?

Started by hankybanky123 in BasicX12 years ago 5 replies

I'm a new user of basicx currently i have a biaxial accelerometer, can i use it to get the position of a robot?

I'm a new user of basicx currently i have a biaxial accelerometer, can i use it to get the position of a robot?


Unable to halt BasicX

Started by schoiconc in BasicX12 years ago 9 replies

Hi all. Now, I got error message as follows. "Error Code 220 Unable to halt BasicX retry?" Yesterday, I purchased BX24p kit. When I first...

Hi all. Now, I got error message as follows. "Error Code 220 Unable to halt BasicX retry?" Yesterday, I purchased BX24p kit. When I first powered on that kit , LED always blinks. 'Hello World' test program was working correctly. I tried to download and run a program. That program was usually workiing well even though it sometimes got no data. Today, I got the above error message w...


Piezo Transducers

Started by deltapparo in BasicX12 years ago 6 replies

I am confused as to what to buy and how these things work. I want a cheap audio tranducer that I can use the SOUND command to produce various...

I am confused as to what to buy and how these things work. I want a cheap audio tranducer that I can use the SOUND command to produce various audio sounds. Many of these devices don't specify a frequency response range. Are the only good at the resonant freq? What devices do you folks use? I am looking for cheap parts (


HM55B compass code help needed

Started by tc_lawabider in BasicX12 years ago 4 replies

Hi everyone, I've been trying to learn the differences between PStamp code and BasicX code with this project. I'm converting the provided code...

Hi everyone, I've been trying to learn the differences between PStamp code and BasicX code with this project. I'm converting the provided code from Parallax for use with this new board. It seems someone already did this (Tom Handley?), but his site is down. The original file is: *********************** ' -----[ Pins/Constants/Variables ]------------------------------------------- DinDou...


Temperature control

Started by ricinecwh in BasicX12 years ago 8 replies

My project is to control the temperature of a plant. The temperature of the plant will be monitored and as an input of the basicX controller....

My project is to control the temperature of a plant. The temperature of the plant will be monitored and as an input of the basicX controller. If the input temperature is larger than temperature we set, the controller will adjust it to the correct temperature by increasing or decreasing the current to the TEC which is inside the plant. The problem is how can the controller automical...


ATMEL 24C512 EEPROM Problem

Started by cfrysinger2000 in BasicX12 years ago 2 replies

Hello, I am trying to access an ATMEL 24C512 EEPROM and am having quite a bit of difficulty. I think have everything wired correctly and the...

Hello, I am trying to access an ATMEL 24C512 EEPROM and am having quite a bit of difficulty. I think have everything wired correctly and the BX24 seems to be sending out the correct pulses but I'm getting nothing back from the EEPROM. When I wait for it's acknowledgement, nothing happens. I am pulling up both SCL and SDA and the BX24 can pull them down but the memory never changes ...


TDR - Time Domain Reflectometry

Started by resistrock in BasicX12 years ago 2 replies

I am interested in seeing what everyone thinks about possibly using a BasicX microcontroller to construct a simple TDR system. My application...

I am interested in seeing what everyone thinks about possibly using a BasicX microcontroller to construct a simple TDR system. My application is to determine the depth to a landslide slip surface, where a coaxial cable has been sealed within a borehole and casing that has been installed through the ground. Any ideas and comments are welcomed. I know the BASIC Stamp is NOT capable of d...


Problem Controlling Servo

Started by tieutaydoc in BasicX12 years ago 2 replies

Hi everyone. I got my bx-24 for a while now but I haven't tried using it to control servos. I don't have any experience with servo before but...

Hi everyone. I got my bx-24 for a while now but I haven't tried using it to control servos. I don't have any experience with servo before but from what I have read I thought it would be a breeze but I am having the weirdest problem. I used the servo codes provided on the basicx website. I've tried this with 2 different type of servos: Tower Pro SG90 and GWS naro and got teh same probl...


4x4 matrix switch

Started by nuepatrick in BasicX12 years ago 6 replies

Hello all, I am interested in designing a 4x4 A/V matrix switch, and was wondering if anyone has done this before. I could go buy one...

Hello all, I am interested in designing a 4x4 A/V matrix switch, and was wondering if anyone has done this before. I could go buy one for around a grand, but I would like to build one if its not to difficult. I'm not sure of the best way to approach this so any help would be appreciated. Thanks Patrick


Serial data error

Started by meenbombs in BasicX12 years ago 2 replies

I hate asking for help without helping anybody else but this is driving me nuts. I know this isn't the most efficient code to do what I want...

I hate asking for help without helping anybody else but this is driving me nuts. I know this isn't the most efficient code to do what I want but it should work (but it doesn't). About every 15th line that is returned by a debug.print either locks the serial output up, stops and flashes the red "serial data error" box, or restarts the whole thing at sub main. I suspect some type of dat...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright