the code is working very well but I'm facing problem to find a way to code the rpm speed when analogread get a value like 700 or 500 or 200
I want to increase the speed (rpm) until the analog read is (i) , its important to have a same speed (rpm) at any load
Dece:
Question: do you get any answer on questions about scripts here or are there here not people who know something about programming Arduino's?
The issue is delivery of the question. The question needs to be adequately clear - easy to understand. The description must be coherent. For example, it's impossible for anybody to answer something if uncommented (and possibly erroneous/flawed) code is posted, and the question is about reading some analog value in which the code does not appear to involve a reading of an 'analog' value.
Yea ok, but newbees have the problem that they have a problem and don't know how to solve it, so they post what they have and want to learn what they did wrong. So it is logic that newbees don't have all the knowledge that it needs, otherwise they wouldn't ask for help.
Don't understand me wrong, i help people online to with their computer problems so i do understand the difficulties that we are facing sometimes with solving people their problems, but that is in a way the fun from it.
Boardburner2:
That is a light dimmer (resistive load).
Motor is an inductive load.
Ah, but its a universal motor (aka parallel wound), the field windings are snubbed by the
armature's low resistance (easy path for current changes), so normal dimmer circuits are typically
OK. One of the advantages of universal motors is the sensible power factor, as most of the current
is armature current and not very inductive (mainly resistive due to mechanical load).
An induction motor on the other hand is very inductive.
MarkT:
Ah, but its a universal motor (aka parallel wound), the field windings are snubbed by the
armature's low resistance (easy path for current changes), so normal dimmer circuits are typically
OK. One of the advantages of universal motors is the sensible power factor, as most of the current
is armature current and not very inductive (mainly resistive due to mechanical load).
An induction motor on the other hand is very inductive.
The bit i am trying to get at is the arduino kits use wall warts , these work ok for kits with small motors but when used for applications with more powerful motors they are not so good.
IME wall warts are not generally good for supplying motors.
EDIT
I am not sure any way from the description I understand what the OP is trying to do anyway.
Boardburner2:
I am not sure any way from the description I understand what the OP is trying to do anyway.
This is the problem between the experienced user and the beginners on this forum. The beginner don't know what the experienced user want to read and the experienced user don't know what the beginner wants.
Boardburner2:
The bit i am trying to get at is the arduino kits use wall warts , these work ok for kits with small motors but when used for applications with more powerful motors they are not so good.
IME wall warts are not generally good for supplying motors.
EDIT
I am not sure any way from the description I understand what the OP is trying to do anyway.
Clearly you don't know what a universal motor is then!
Universal motors are universally used as single-phase mains AC motors. Controlling these from
an Arduino is via opto-isolators, no high power involved on the Arduino side at all.