Search results

  1. S

    Calibrating CMPS14

    I HAVE been running the module off of 5v and so experimenting with a lesser voltage might not be a bad idea. The module is close to my monitor which I understand can have some magnetism - but my standard compass does not seem to be affected. I am using a breadboard and the module is about 6...
  2. S

    Calibrating CMPS14

    Hippy, I then tried using your new code suggestion (sertexting bits 7 through 0) and here is the output (I stopped and started with each new direction): Calibrating Started Calibrated = 142 10 00 11 10 Direction=3064 NORTH Calibrated = 142 10 00 11 10 Direction=3061...
  3. S

    Calibrating CMPS14

    In answer to your question about what numbers I saw (and I totally agree this is almost impossible without looking over my proverbial shoulder), here is a copy of the sertext output. Of note, the module was 1st pointed at magnetic north, then pivoted to east, then to south, then west and then...
  4. S

    Calibrating CMPS14

    Here is the original code that worked, but with poor accuracy: #Picaxe 08M2 #Terminal 4800 INIT: PAUSE 2000 SETFREQ M8 SYMBOL DIR.LSB = B2 SYMBOL DIR.MSB = B3 Symbol direction = w1 SERTXD ("BEGIN", CR, LF) PAUSE 2000 Do HIGH C.1 PAUSE 100 SerOut C.1, T9600_8, ($13) 'ASK CMPS14...
  5. S

    Calibrating CMPS14

    So the above code returned calibration "status" numbers running from 142 down to 12 as I rotated the module. The headings that came up appeared to be typical (in the ballpark but ranging from 10 to 30 degrees off as before). I then removed the #REM and #ENDREM lines to include that portion of...
  6. S

    Calibrating CMPS14

    Hi Hippy. For whatever it's worth, and with a few modifications to your code, I was able to receive a response: "Calibration = 0". So the good news is I can still talk with the module but the bad news is I'm still perplexed on coding to turn on the calibration function.... Feel free to move...
  7. S

    Calibrating CMPS14

    Hi all. I've had some limited success in getting my CMPS14 to return various headings, mostly using Serial communication. I've tried both 8 and 16 bit resolutions and can get readings of 0 - 255 for 8-bit and 0 - 3650 for 16-bit. The problem is the headings are far from accurate (20 to 40...
  8. S

    Picaxe vs. Arduino Support

    I really appreciate everyone's responses and all seem reasonable. I tried to purchase an older model of the CMPS as they seemed easier to program but alas, I can't find them. I must agree that half or maybe 90% of the fun IS trying to figure out the correct coding. It's a satisfying feeling...
  9. S

    Picaxe vs. Arduino Support

    Thank you both for your answers. Looks like the price of these modules has increased about two-fold since I purchased mine. And "yes", I have seen Hippy's assistance in coding to get feedback from the device. But again, no one seems interested in Configuration and I'm surprised others have...
  10. S

    Picaxe vs. Arduino Support

    I'm sure I'm going to catch he** for this but I'll discuss it anyway. I've been a Picaxe user for many years. I love the system and believe it is the easiest programming to learn and most reasonably priced programmable system. BUT, if anyone googles anything concerning programming questions...
  11. S

    Sharing single PWM Output Pin to drive 2 Cytron 13 amp Motor Controllers

    Thanks Hippy. Actually, I was using 4 pins for 2-motor control (b.4, b.5, b.6 and b.7). It looks like the Cytron Boards will only require 3 of these same pins - using b.6 for PWM, and say b.4 and b.5 for directions control. As you can see, there are a few other available pins but c.4 appears...
  12. S

    Sharing single PWM Output Pin to drive 2 Cytron 13 amp Motor Controllers

    Thanks Hippy. I had read the Truth Table but was not sure if by "high" they meant digital or simply a specific PWM signal coming in. So at least now I have the option of "full speed ahead" if for any reason my PWM signal doesn't work. And thanks to Westaust55 for teaching me about the term...
  13. S

    Sharing single PWM Output Pin to drive 2 Cytron 13 amp Motor Controllers

    Thank you. The project involves a very slow moving ROV with two motors, one on either side of the vehicle. The props are running in counter rotation and hopefully will push relatively equally from both sides. In almost all cases, I'd be running at top speed with very little need to use PWM...
  14. S

    Sharing single PWM Output Pin to drive 2 Cytron 13 amp Motor Controllers

    Hi everyone. I've looked around and cannot find an answer to this: I'm working on an ROV using an 18M2 chip to control two thruster motors. I was looking at the Cytron Motor Controllers which seem to require PWM input vs a high-low signal to turn the motors on and off. As I only have one...
  15. S

    Help with reprogramming the AXE134Y 18m2 software

    Hello all. I've purchased, assembled and have had good luck with the Picaxe Serial OLED 20X4 display. It was easy changing the eeprom to display a different message on start-up. I would like to be able to set up a situation in which sending certain data from another picaxe to the on-board...
  16. S

    Parallax 4x20 serial lcd & pause commands

    Hello. I've had great success with the Parallax LCD when connected directly with a Picaxe 18m2. But when using RS-485 comms over a 150 foot line, the LCD will work fine as long as I don't place a Pause command any longer than 2 seconds (Pause 2000) between Serout commands. I've tried the...
  17. S

    Serial communication, efficiency in programming

    I'm sorry if this has been asked before but I couldn't find any threads. I'm working on an ROV using rs485 communication. One of the programs will be for the pan and tilt of a camera. I've written the code so that the sending picaxe (on the surface) includes the "loop" information to the...
  18. S

    Registering that Pin is High

    Hello Group. I've got a problem that seems simple enough. I've built this cat feeder which uses an 08M chip to essentially turn the feeder on and off every 12 hours. The feeder uses a pvc drum which rotates 360 degrees (filling at one point and dumping at another). I've had a problem with...
  19. S

    Electret Mirophone to Servo Interface

    Hello. I've been studying various animatronic projects and would like to set up a servo to respond to an adc input via a microphone. The idea would be to move a "jaw" up and down proportionately to the volume or length of time a voice was transmitted via a microphone. In other words, a long...
  20. S

    08M Clock Accuracy

    Hello. I've built an automatic cat feeder using an 08M chip with a simple program to run a small motor every 12 hours. The motor runs for approximately 8 seconds to turn a cylinder which dispenses the food. The problem is that there seems to be a 2+ minute delay for every 24 hours. This...
Top