Recent content by SD70M

  1. S

    40X2 and ReadADC

    Ok, got a problem somewhere. I had ADC working on one 20M2 in simulator and the code for a second 20M2 worked too. Due to merging the second 20M2's code with the first one, so I only have one picaxe instead of 2, I required more pins, so I tried to go over to a 40X2. I read manual 2, page 29...
  2. S

    Pullup command not supported

    Hi guys Just read, and more importantly understood, the pullup command. ;) Added the code to be used on unused pins on 14 Picaxe's, 08M2,14M2 and 20M2, in VSM. Syntax in PE showed all was well. Ran the VSM schematic simulation and it runs but showed info in the Sim Log that pullup command...
  3. S

    Switching Transistor, before or after switched component?

    Hi guys I need to control 3 LEDs (A,B,C for ease) which are required to be on or off at specific input pin states. A and B are straight forward as the PICAXE only needs to switch them on or off. C needs to be able to switch an LED and also connect to another PICAXE in replacement of a normal...
  4. S

    To Resist-or or not?

    Hi guys, Simple question, manual3 shows driving a motor using a ULN2003A as opposed to a seperate transistor. No resistor shown. If I was driving a relay using the ULN2003A would I need a resistor (I think I would) and if so, which value am I looking for on the relay datasheet for the...
  5. S

    Mom. switch to toggle 2 servo positions

    You mean like this? init: symbol dirFlag = b1 ' direction flag dirFlag = 0 symbol minTrav = 100 ' minimum servo travel symbol maxTrav = 200 ' maximum servo travel servo 2, minTrav ' initialise servo position to minimum main: b0 = pin1 ' get button state if b0 = 1 and dirFlag =...
  6. S

    14M2 ADC on B ports failing

    Hi All I've attached a very basic VSM file and program file in which all I want to do is read the ADC from an LDR then display it on the built-in virtual terminal. On the C ports ADC pins it works fine but not the B ports. Is this intentional or did I miss something? This also happens on the...
  7. S

    20M2, Is it still beta? Plus two other problems

    Thanks hippy. I thought it may be. I have to say that the explanation for GMIN in the troubleshooting is a little vague unless you actually have a degree in this sort of thing. Please see attached circuit and code files. I'd be greatful to understand this a little more. Regards Angie
  8. S

    20M2, Is it still beta? Plus two other problems

    Hi All, Is there a non-beta version of the picaxe ic's? I'm testing a circuit as I build and I have 6 adc inputs and 6 transistor driver outputs. As I added the first 3 they worked great, as expected. I added the 4th and I now get the log saying: [SPICE] Gmin step [0 of 120] failed...
  9. S

    Generating stripboard layouts

    My 6 channel servo controller: Pic power @ top left Servo power @ top right Pic/Servo power connected 0V Switches are on main board elsewhere with +V from there to pic. LEDs are for programming mode indication while altering max/min throw Best of all..... it works. I've tested it using cheap...
  10. S

    Serrxd to serout, is it possible?

    Hi guys, Both chips are 20M2's. Been a few days trying this. Finally got one 20m2 to chat with another 20m2 using serout/serin. Also got PC to chat with 20m2 using serrxd/sertxd. Now I've hit a wall. Can I use serrxd on one 20m2 to read from the PC, then send this data to second 20m2 using...
  11. S

    Serial In pin name?

    Hi all, I've read, at various places, that I can use the serial in pin as an additional input. I've also been reading up on chip to chip comms. I'm trying to get my head around all of this and the end result would be as follows: 1. command from a PC to master chip 2. master chip send the...
  12. S

    Eeprom Read/Write

    Hi all, Newbie here so please be gentle. Just a quick question which I think I'll have trouble phrasing but here goes (using an anolgy) Chip: 20M2, Program: to light 1 led and remember state when power is disconnected and then connected again. Am I right in the following: 1. power up...
Top