Thanks for all your replies.
The resistors are definitely right. I get 3.8V when I disconnect from the PICaxe pin.
Could I have overloaded the input and damaged it? I expected the 10k resistor to limit the current effectively and the 4k7 to form an effective pull-down. Does that sound right?
I need to detect a 12V pulse on a 18M2.
I used a voltage divider 10k/4k7 to ground to bring the pulse down below the 5V supply voltage, but connecting to the input (B.2 declared as input) drags the centre down to ground.
Can anybody tell me the problem, or suggest a better way?
My AXE027 download cable seems to have stopped working. Trying to download a program gives error message "Hardware not found on COM4!". I get the same error when connected to several boards with the same PICAXE type (18M2+) installed.
It was working previously with all the same settings...
Thanks to you all for your very informative replies.
In the end I've fixed the problem by using a tri-state line driver on the master and only enabling it to send data. Ths was partly to forstall potential problems when I increase the length of the bus and the number of slaves on it. The...
I'm working on a system with one PICaxe-18M2+ as master and several as slaves on a ring (data and ground).
The master is driving the ring directly from pin B.3 set as O/P and each slave is connected directly to it on pin C.1 set as I/P.
With master set with <high B.3>, I find that when I...
Thanks Aries for your very fast response. That works. I had the capacitor, but evidently not close enough to the Picaxe terminals.
And thanks also Inglewoodpete. I've not got a capacitor across the motor terminals. I'll try adding one.
I've made a MOSFET H bridge circuit to drive model railway trains.
I'm using a 18M2+ to generate PWM pulses to drive the bridge transistors via 74 series logic chips. The form of the program is to perform some initial setup and then go into an infinite loop generating the PWM pulses.
The first...
I've tried to install my AXE027 cable on my PC running Windows 10, but I cannot find any documentation beyond Windows 8.
The installation seemed to have worked using the self extracting pre-installer and I got a message saying it was ready to go, but when I tried to upload a program to the...
I'm using a 08M2.
I've used up pins C.0 - C.4 and everything works nicely.
Now I want to have one more digital input, but I find that connecting anything except ground to C.5 upsets the 08M2. I cannot even download a program to it - error massage: Verification error - 0x00 transmitted but...