Search results

  1. A

    Servo & i2c on 20X2...

    I have a project where I want to use a 20X2 as a slave that gets data over i2c. This 20X2 will control 3 or 4 servos using position information that was transferred to it over i2c. I've read through the documentation about various conflicts and it doesn't appear that using servo and i2c on the...
  2. A

    Adjustable Current Sink

    I want to build a current sink that can sink from 1A - 15A at 12V. I've seen a few circuits online, but I'm looking for something that can work with a PICAXE so that I can control the sink via software. Problem is all the circuits I seem to find are analog using an OP-AMP to drive a transistor...
  3. A

    AXE134 Pre-Defined Messages

    Modifying the BASIC firmware file for custom pre-defined messages is easy enough, but I'd like to be able to put special characters in my messages. Can I only do this in the firmware file or is there a command where I can load my own pre-defined messages on the fly through the serial connection...
  4. A

    Retrieve Code From EEPROM

    Has anyone ever read out an EEPROM that had code previously loaded via I2C? It would seem to me that you could simply read out the code from one previously programmed EEPROM and write it to second EEPROM, then have a PICAXE use the booti2c command to load the program from the second EEPROM...
  5. A

    New X2 Parts and Speed of Execution...

    Has anyone done any tests yet on how fast the new X2 chips are? I've got several on order and plan on doing some testing when they arrive, but don't want to repeat something already done. I've read previous posts about some methods used to check speed, and I'm going to do something like this: -...
  6. A

    PICAXE Experimenter Board and new X2's

    This might be a really dumb question, but I should be able to use one of the latest 40X2 chips in the AXE091 experimenter board. The pinouts for power/gnd/resonator for the new 40X2 are the same as the older 40 pin chips so I assume there's nothing "mysterious" that would prevent me from...
  7. A

    Dilemna - i2c or SPI...

    I have successfully connected several X2 chips together and used i2c to transfer data back and forth from my master to three slaves. Everything works great and having the built-in i2c support has made coding this extremely easy. I was looking at a few devices I wanted to connect and there's a...
  8. A

    ADC Protection with Zener

    Did a search and have seen lots of suggestions of using a 5V or 5.1V Zener on the ADC input to protect from voltages above 5V. I want to measure 0-16V so I'm going to use a resistor divider to bring my input down to 0-5V. I can put a 5V Zener after my divider to prevent damage if my input foes...
  9. A

    Logarithm in PICAXE?

    It would be really handy to have a LOG function on a project I'm working on. I know PICAXE doesn't have it, but has anyone ever written their own function or subroutine to approximate a LOG function?
  10. A

    Programming the PICAXE Questions...

    Is there any way to get a program onto a PICAXE without using the Programming Editor? What I want to be able to do is to give someone program files and allow them to program a PICAXE without letting them edit the programs. This is to make the programming "idiot proof". If I get them to use the...
  11. A

    i2c Question...

    I've read up on using the i2c bus and I think I understand it pretty well. I want to use one master PICAXE to talk to several slaves which will gather data (and make it available to the master via scratchpad) and also control outputs (by using data sent from the master). My main question is...
  12. A

    28X1 serin/serout and pin question...

    Just a quick question I think I already know, but wanted verification. Can I use serin on any of the 8 input pins and serout on any of the 8 output pins (according to the documentation it appears I can)? Are there any "preferred" pins to use, or do they all work exactly the same?
  13. A

    Two PICAXE Outputs to one Input?

    I have two PICAXE chips in a project. I have a logic level (5V) MOSFET controlling a small load, and want to be able to turn this MOSFET on with an output from either of my PICAXE chips. Can I connect both PICAXE outputs together to the MOSFET input? Will this cause any problems if one output...
  14. A

    PICAXE and Pololu Jrk Motor Controller...

    Anyone used the Pololu Jrk 21v3 or 12v2 USB motor controllers with a PICAXE? They have a serial input but I can't seem to find any code examples of how to use & connect with a PICAXE. I'm only interested in sending serial target position commands to the Pololu Jrk and nothing more.
  15. A

    readadc Speed, General PICAXE speeds...

    I'm wondering how fast is the readadc command on the X2 parts? If I wanted to read from 6 analog inputs to get a "snapshot" of the state of several devices, then what would the time difference be between each readadc command? I'd like to get all 6 readings to be as close together timewise as...
  16. A

    END Command, what happens to inputs/outputs?

    If I use the END command to put my PICAXE into low power mode, what precautions do I need to worry about regarding inputs/outputs? Can inputs be damaged if they have a voltage applied to them in this low power state? Do my outputs all "float" in this state?
  17. A

    Question about pulsout timing...

    If I use the commands pulsout 1,300 pulsout 2,100 then I'll get a pulse on output 1 for 3ms (300 x 10us) So what happens with my second pulsout command? Does it output a 1ms pulse after the first pulse is over (program execution waits for the first pulsout command to finish) or does the second...
Top