this post was submitted on 28 Jul 2024
18 points (100.0% liked)

Ask Electronics

3325 readers
1 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 1 year ago
MODERATORS
 

I have one of those basic motor kits you can buy off of Amazon. I was wondering what steps I should take to make it so that I can turn the motor on/off with the press of a button, wirelessly.

I'm still very new, so any information you can offer no matter how basic will probably be useful to me.

you are viewing a single comment's thread
view the rest of the comments
[–] theit8514@lemmy.world 2 points 3 months ago

IANAEE. For an on-board application you can create a simple switch with a transistor. https://www.electronics-tutorials.ws/transistor/tran_4.html

To make something wireless you'll probably want to go with a microcontroller or Raspberry Pi and hook up GPIO pins to the motor controls. A transistor wouldn't be needed in that case as the microcontroller can hold the pin high or low depending on what state you want.