Recent content by roho

  1. R

    Hippy status, rev 2.0

    Welcome back, great to see you again!
  2. R

    LOOKING FOR SWITCH

    The switch remains closed for as long as the button is pushed down. Release it to open the switch.
  3. R

    LOOKING FOR SWITCH

    Hi John, Are these the sort of switch you're looking for? I use the shorter button version of these to set the limits of travel of a servo motor, one for one direction, the other for the other direction. My prototyping is all done on 1.6mm PTH PCB, for which I designed my own footprint. They...
  4. R

    AXE171 board and 2 servos

    Presumably these are the Tower Pro SG90 servos that you mentioned on a previous thread? I too had problems with these servos glitching (not identical from your description but not too dissimilar either) when controlled by a 14M2 using the SERVO command. The solution was to use the PULSOUT...
  5. R

    I2C inter-PICAXE smulation ?

    It is possible, but be careful before you go down that route. Firstly, you should check with RevEd which version of Proteus VSM runs under. When I purchased VSM at the end of 2015, it ran with v7 of Proteus. My understanding is that VSM still runs under this version, but check with RevEd to be...
  6. R

    Light Dependent Resistor (LDR) and LED lighting

    Aahh yes, Peco solenoid switches, I remember them well. Driving them wasn't a problem, but the noise they make -- WACK! as you rightly put it -- was too much for me, so I junked them in favour of using a servo. Indeed so, yes, 14M2 for the two way turn out and an 18M2 for the three way and the...
  7. R

    Light Dependent Resistor (LDR) and LED lighting

    I use those Tower Pro SG90s for turn out switching. They're easy to use and reliable, I've had no problems at all with them and they should work fine in your application. However, they don't have any fixing lugs on them (don't know if this is a common trait of miniature servos or not since these...
  8. R

    Position sensing

    ...of a model train. Hi folks, Does anyone have any practical experience of locating trains automatically on a model railway? The purpose would be automating the running of the railway, such as the routing of trains, signalling, etc. The first requirement is that the hardware needs to be kept...
  9. R

    14M2 interrupt error in model

    Hi Technical, Generating a suitable .dsn file is going to be time consuming, assuming I can do it at all, that is. I haven't used Proteus v7 for some years now, having switched to v8. I can send you the .pdsprj file without any problem, but I suspect that you won't be able to handle it. Is this...
  10. R

    14M2 interrupt error in model

    Thanks hippy and Technical for your inputs. There is a single 0V rail, the various separately drawn parts being connected by signal naming, "ZEROV" and "LOGIC0". 0V_A and 0V_B are components on this rail: solder pins for connecting to the off PCB circuitry. I've just double-checked the...
  11. R

    14M2 interrupt error in model

    I'm not certain that the code and circuit diagram are going to be helpful in this particular case, however, since you asked, here they are. ; This is a programme for driving the beep test circuitry. #PICAXE 14M2 #TERMINAL 38400 ; Define the PICAXE port directions. LET dirsB = %00111111 ; [0]...
  12. R

    14M2 interrupt error in model

    I'm trying to detect a low input on either pin C.0 or pin C.1 using the interrupt thus: SETINT OR 0x00, 0x03 This simulates correctly in PE6.0.9.3, but completely misbehaves in the mixed signal environment. I'm hoping that the solution will be a fairly simple update to the AXE14M2.MDF model...
  13. R

    Confused by MIN

    I don't know for certain and the user manual isn't specific, but yes, this does appear to be the case. At least, if you re-define the temp register as a word variable then your original code works as intended.
  14. R

    PC to PICAXE communication

    Thanks all for your feedback -- it's been most useful in getting things working, and I am now able to transfer single ASCII characters from PC to PCB using TCL and an AXE027. The code I posted earlier was the entire code bar the definitions so, yes, I definitely bungled when setting the baud...
  15. R

    PC to PICAXE communication

    Now I'm confused. Is this user manual up to date? According to the HSERIN command description, reception for X2 parts is always to the scratch pad, whereas M2 parts receive to a variable.
Top