Notifications
Clear all
Search result for: WA 0821 1305 0400 Rekanan Erosion Control Mat Wilayah Dogiyai Papua [[Tiga Pillar]]
| # | Post Title | Result Info | Date | User | Forum |
| RE: Difference between 180° vs 360° servo motors and how to control them with Arduino | 5 Relevance | 2 years ago | Admin | Hardware/Schematic | |
| @Yvette Inside a standard servo motor, there's a potentiometer connected to the output shaft. This potentiometer provides feedback to the Control circuitry about the current position of the shaft. The Control circuit compares the desired position (set by the PWM signal) with the current position (measured by the potentiometer). It adjusts the motor's position to Match the desired position, typically within a range of 0 to 180 degrees. Continuous rotation servos do not have a potentiometer for position feedback. Instead, the feedback loop is removed or altered so that the motor can spin freely. The Control circuitry is modified to interpret the PWM signal in terms of speed and direction rather than position. A neutral PWM signal typically stops the motor, while varying the PWM width in one direction causes forward rotation, and in the other direction, reverse rotation. | |||||
| Answer to: Can i use EN pins for PWM speed control in L298N Motor driver? | 4 Relevance | 2 years ago | Admin | Hardware/Schematic | |
| Yes, you can hook these pins to the PWM pin on Arduino. The Enable pin on the L298N acts as a gatekeeper for the power supplied to the motor. When the pin is set HIGH, the motor is enabled and can run. When set LOW, the motor is disabled and stops. By connecting the Enable pin to a PWM-capable pin on the Arduino and sending a PWM signal, you can Control the effective voltage supplied to the motor. This changes the speed of the motor: A higher duty cycle (e.g., 100%) means the Enable pin is HIGH most of the time, allowing full power to the motor and thus full speed.A lower duty cycle (e.g., 50%) means the Enable pin is HIGH only half the time, reducing the average power supplied to the motor and thus reducing the speed. Here's an example that demonstrates how to set up and Control the motor speed connected to A channel: // Define pins const int ENA = 9; // PWM pin for Motor A const int IN1 = 8; // Direction pin 1 for Motor A const int IN2 = 7; // Direction pin 2 for Motor A void setup() { // Set pin modes pinMode(ENA, OUTPUT); pinMode(IN1, OUTPUT); pinMode(IN2, OUTPUT); } void loop() { // Set motor direction digitalWrite(IN1, HIGH); digitalWrite(IN2, LOW); // Set motor speed using PWM analogWrite(ENA, 127); // 50% duty cycle, half speed delay(2000); // Run for 2 seconds // Change motor speed analogWrite(ENA, 255); // 100% duty cycle, full speed delay(2000); // Run for 2 seconds | |||||
| Answer to: How to interface stepper motor with Raspberry Pi Pico? | 4 Relevance | 1 year ago | Dinesh bhardwaj | RPi Pico | |
| ... unlike most Arduinos, which use 5V; therefore, it's essential to ensure your stepper driver is compatible. Fortunately, common drivers like the A4988, DRV8825, and even the ULN2003 (for 28BYJ-48 motors) work just fine with the Pico without level shifting in most cases. For wiring, I connected the STEP and DIR pins of the A4988 to GPIO14 and GPIO15 on the Pico, powered the motor using an external 12V supply, and tied the A4988’s ENABLE pin to ground for always-on operation. Since the Pico supports MicroPython, I used it to write a simple script that toggle ... | |||||
| Answer to: Creative Ways to Use a Relay Module? | 4 Relevance | 1 year ago | Nitin arora | Theoretical questions | |
| Relay modules are incredibly versatile and can be used in many creative and practical applications. Below are some ideas beyond just turning lights on and off: 1. Home Automation:Use a relay module to automate household appliances like fans, coffee makers, or even a WAter heater. These can be triggered using a microcontroller, voice commands (via Alexa or Google Assistant), or a mobile app. 2. Smart Irrigation System:Control WAter pumps or solenoid valves in a garden or farm setup. A soil moisture sensor can activate the relay to start WAtering only when n ... | |||||
| Answer to: Suggestions for Good ATtiny85 Projects | 4 Relevance | 1 year ago | Admin | Circuits and Projects | |
| Here are 15 amazing project ideas you can create using the ATtiny85 microcontroller: LED Matrix AnimationProgram an LED Matrix to display scrolling text or animations using the ATtiny85. Miniature Digital ThermometerBuild a small thermometer using a temperature sensor like LM35 or DS18B20 and display the data on a tiny OLED screen. IR Remote Control SystemDecode signals from an IR remote to Control LEDs, fans, or other appliances. Sound Reactive LightsCreate an audio visualizer where LEDs blink in response to sound or music using a microphone module. Capacitive Touch SwitchMake a touch-sensitive button using a conductive surface and the ATtiny85, perfect for smart home switches. Portable Motion DetectorUse a PIR sensor to build a portable motion detection alarm system for security purposes. USB Volume ControllerTurn your ATtiny85 into a USB HID device to Control your computer’s volume with a rotary encoder. Tiny Weather StationMeasure temperature and humidity with sensors like DHT11/DHT22 and display the readings on an OLED. Ultrasonic Distance MeterUse an ultrasonic sensor to measure distances and display them on a small display. Blinking Bicycle LightCreate a small, energy-efficient blinking tail light for a bicycle, powered by a coin cell battery. Minimalist USB Game ControllerBuild a simple game Controller for retro-style games with buttons connected to the ATtiny85. PWM Fan Speed ControllerControl the speed of a DC fan using pulse-width modulation and a temperature sensor for feedback. ATtiny85 Robot BrainPower a small robot with an ATtiny85, Controlling motors and sensors for basic navigation. Night Light with Light SensorCreate an automatic night light that turns on in low-light conditions using an LDR and LEDs. Tiny Digital StopwatchDesign a simple stopwatch with start, stop, and reset functions using push buttons and an OLED display. These projects highlight the versatility of the ATtiny85 and can help you learn more about electronics, programming, and sensors. This site is hands down the best for projects related to ATtiny85. So, definitely check it out. | |||||
| Answer to: Difference between active and passive buzzer and how to identify them? | 4 Relevance | 2 years ago | Admin | Theoretical questions | |
| For a tank WAter level Control system, both active and passive buzzers can be used for sound alerts, but which one is best depends on your needs. Key Differences:Active Buzzer: This type comes with an internal oscillating circuit, meaning it generates sound as soon as you power it. You don't need any extra Control or signal from a microcontroller—just apply voltage (like 5V), and it will produce a constant tone. This is ideal for simple "on/off" alerts. Pros: Easy to use, no extra coding needed to generate sound. Cons: Fixed tone—no Control over pitch or ... | |||||
| Answer to: Is It Safe to Control 15 LEDs Directly from Arduino Pins? | 4 Relevance | 2 years ago | TechTalks | Hardware/Schematic | |
| Hello Tristan, You see directly connecting 15 LEDs to Arduino pins can lead to overcurrent issues, potentially damaging the Arduino. This is because each LED draws a certain amount of current, and the combined current draw can easily exceed the maximum current rating of the Arduino's pins. Additionally, the resistors used to limit current will also dissipate power, which can overheat the Arduino or the resistors themselves. To avoid these problems, it's recommended to use LED driver such as ULN2003. These drivers and Controllers can handle higher currents without overloading the Arduino pins. By employing these methods, you can safely Control 15 LEDs with your Arduino without risking damage. hope this will help | |||||
| RE: Is It Safe to Control Multiple LEDs(15) Directly from Arduino Pins? | 3 Relevance | 2 years ago | Tristan | Hardware/Schematic | |
| @ankunegi Ohhh. Now I get it. Thanks! | |||||
| RE: Is It Safe to Control 15 LEDs Directly from Arduino Pins? | 3 Relevance | 2 years ago | Admin | Hardware/Schematic | |
| 1. Yes you can. But then you have to turn ON only one LED at a time. 2. It is simple. If each LED consumes 12mA we get, total current= 12X15 = 180mA, which is below the maximum rating. Now resistor value = 5V/12mA = 416 ohms. | |||||
| RE: Is It Safe to Control 15 LEDs Directly from Arduino Pins? | 3 Relevance | 2 years ago | Tristan | Hardware/Schematic | |
| @ankunegi Thank you for explaining. I have two questions: 1. What if I don't use individual resistor for every pin, will it still work? For example: one resistor for 5 LEDs and so on 2. How do I actually calculate the resistor value for 15 LEDs | |||||
| Answer to: How to interface stepper motor with Raspberry Pi Pico? | 3 Relevance | 11 months ago | Aiden | RPi Pico | |
| I've used both Arduino and Raspberry Pi Pico for stepper motor Control, and while the Pico works a bit differently, it's definitely up to the task. For drivers, the A4988 or DRV8825 work great with the Pico—just connect the STEP and DIR pins to any GPIOs. If you’re using a 28BYJ-48 stepper, the ULN2003 driver is also a good Match. The main difference is in the coding environment. With Arduino, you get easy-to-use libraries like AccelStepper. On the Pico, you can use MicroPython or C/C++. MicroPython is easier to get started with, and you can Control the motor by toggling GPIO pins with delays. But for smooth, high-speed stepping, the PIO (Programmable I/O) on the Pico really shines—it lets you generate very precise timing signals without using up the CPU. The Pico has more raw power and flexibility, especially with its dual cores and PIO blocks, but you’ll probably spend more time setting things up compared to Arduino. Once you get past the learning curve, it’s a really powerful platform for stepper Control. Let me know what motor and driver you're using—happy to help with wiring or code examples! | |||||