Sorry, I forgot to divide rpm by 60 to get revolutions per second.
Here is (I hope) the correct calculation:
motor shaft is running at 11050rpm
That's 184.17 rotations per second
40...
Type: Posts; User: lsteele; Keyword(s):
Sorry, I forgot to divide rpm by 60 to get revolutions per second.
Here is (I hope) the correct calculation:
motor shaft is running at 11050rpm
That's 184.17 rotations per second
40...
I think you may be right. Here's a listing of my polling version of the code:
Device 16F876a
Config WDT_OFF,CPD_OFF,CP_OFF, LVP_OFF, BODEN_OFF, HS_OSC
Xtal = 20
HSERIAL_BAUD = 57600 ...
Hello,
I'm trying to use a wheel mouse optical sensor as a quadrature encoder for a small DC motor. I have the small patterned disc from the mouse epoxied onto the back of the motor, and the...
Hi Jerson,
You're absolutely right - that was the problem. What an incredibly stupid mistake! For anyone who's interested it now works fine with a 10k pull-down as in the diagram I posted earlier,...
Ok,
I've tried replacing the 20k resistor with 1M (largest I have to hand), and the results are much the same - a clear voltage swing when just connected to my voltmeter, but almost none when also...
Hello,
I'm trying to use the optical encoder from a ball mouse to make a cheap quadrature encoder for an electric motor.
I've removed the part of the PCB with the LED and sensor, and wired them...
Thanks for all the suggestions - I'm blown away by how quickly people have responded.
Ok, I've added the snubber and it's immediately eliminated 90% of the resets. I can now turn the relay on and...
Oh! In series... Which is what you said to begin with (sorry, somehow misread your original post).
Thanks again.
Thanks
>> If you didn't change the default config fuse while loading the Bootloader firmware the first time, you can't modify them later in your code.
I know! :-) But I'm quite happy with that...
mat: If I try what you suggest won't the resistor allow a current to flow all the time? Or have I misunderstood how it should be connected?
sayzer: The code is definitely working ok - with no load...
Hi,
I'm trying to switch a mains current (240V AC) with a relay connecting via a transistor to my PIC (a 16f876a). The PIC is powered from a battery supply - 4 rechargeable AA NIMH cells providing...
Hi there,
I'd like to know if there's an easy and preferably cheap (in terms of components) way that my PIC can determine whether current is being drawn by a mains level (i.e. 240V) device....
Hi,
Well spotted! Unfortunately putting it in doesn't seem to resolve the problem.
Actually I am using Proton. I posted here automatically because I'm used to reading this forum. Would I be better off posting it elsewhere (at www.picbasic.org/forum)?
Nontheless, here's a...
Hello,
I have a 16f876a running at 20MHz. It's connected to 2 H-bridges (of Bob Blick's design as can be seen at http://www.bobblick.com/techref/projects/hbridge/hbridge.html) which I'm using to...