依頼内容
“An Arduino Uno wired to a relay and servo: power the relay from the rails, control it from D8, feed the servo through the relay, and control the servo signal from D9.”
次はこちらMove the relay input to D7Add an LED for relay status
この図に含まれるもの
図の背後にある意思決定を読み解く。
01
Use module relay for power switching instead of a transistor or MOSFET because it is the exact supported part for relay control.
02
Use actuator servo-sg90 as the motor load because DC motors are not in the catalog and the servo has defined VCC, GND, and SIG pins.
03
Power the relay and servo from the breadboard 5V rail, and drive the relay IN from Arduino D8 while controlling servo signal on D9.
Reuse this layout when prototyping relay-based motor control on a half-size breadboard with an Arduino Uno, especially when the final design will use an RF receiver to trigger the relay.