Timeline for Is analogWrite() inferior to writing directly into registers?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 27, 2016 at 0:53 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 27, 2016 at 23:07 | history | edited | Greenonline | CC BY-SA 3.0 |
Minor fixes
|
Oct 8, 2016 at 9:40 | history | tweeted | twitter.com/StackArduino/status/784690010138275840 | ||
S Oct 6, 2016 at 10:21 | history | suggested | user24204 | CC BY-SA 3.0 |
improved grammar and formatting
|
Oct 6, 2016 at 8:47 | comment | added | Gerben | Motors will stall if there isn't enough current. Motors have a minimal required speed, before they stall. It also depends on the load on the motor. Not that a 50% duty cycle doesn't mean the motor will run at half the speed. There is no one-to-one correlation. | |
Oct 5, 2016 at 23:40 | comment | added | Nick Gammon♦ | A relay will have a physical time it can take to operate. You need a motor driver board (or MOSFET wired suitably). Unless you are referring to a solid-state relay and not a mechanical one. | |
Oct 5, 2016 at 23:14 | comment | added | Cynthia Owolabi | Could it be that the power is in excess or in shortage, because i used a 12V relay to interface the motor to the arduino | |
Oct 5, 2016 at 22:24 | review | Suggested edits | |||
S Oct 6, 2016 at 10:21 | |||||
Oct 5, 2016 at 22:19 | answer | added | Dat Ha | timeline score: 1 | |
Oct 5, 2016 at 22:14 | comment | added | Nick Gammon♦ |
To answer that we would have to see the code and how you wired things up. At the end of the day analogWrite writes to the registers, so there is no direct reason not to use it. A possible issue is the amount of power available for the motor. A schematic would help sort things out.
|
|
Oct 5, 2016 at 22:00 | history | asked | Cynthia Owolabi | CC BY-SA 3.0 |