Notifications
Clear all
Search result for: WA 0852 2611 9277 [[GLORION]] Custom Kitchen Set Ada Oven Murah East Point Jakarta Timur
Good Point by @FullBridgeRectifier . Just to clarify for anyone new to this: when we say “divide by 255 instead of 256,” it’s because we’re looking at the maximum value the PWM can take, not the total count of values.
This WAy, your duty cycle calculations always correctly reach 100%.
You are forgetting the whole Point of the pull resistors: they ensure that the pin remains in a stable state(either 5V or Ground) until an opposite voltage state is given to it so that the pin can detect this state change and the system can perform some action. If you will connect it to 5V directly, it will never be able to detect the GND because then it will be connected to two different voltage state at the same time causing a short circuit. The high-value pull-up or pull-down resistor ensures this does not happen.
@ankunegi The answer is on Point but I think there's a mistake in your calculation. To calculate the duty cycle, we have to divide it by 255(the maximum value) and not 256(The total no. of steps).
For example: A 2-bit PWM signal has 4 possible steps: 0,1,2 and 3 corresponding to 0%, 33.33%, 66.67% and 100% duty cycle. You get this by dividing by 3, not 4. If you divide it by 4, you will get 25%. Which means 0%, 25%, 50% and 75%. See, you are not getting 100% duty cycle in this case.
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 ...
Here is the list of UNO R4 WiFi projects I found during my research:
1. Weather Station Using Arduino UNO R4 WiFi & VisuinoBuild a weather station to monitor temperature, humidity, and pressure using sensors. The data is displayed and updated in real time using Visuino software.Project Link: Weather Station Project
2. Arduino UNO R4 WiFi ExperimentsExplore multiple small projects to familiarize yourself with the UNO R4 WiFi, including controlling the onboard LED matrix and creating simple WiFi apps.Project Link: UNO R4 WiFi Experiments
3. Home Automation with Web ServerSet up a home automation system using a local web server hosted on the Arduino UNO R4 WiFi. Control home appliances remotely without relying on third-party IoT platforms.Project Link: Home Automation System
4. LED Matrix AnimationsLearn how to program the built-in 12x8 LED matrix on the UNO R4 WiFi to display Custom animations and graphics. A great project for beginners to practice coding and LED control.Project Link: LED Matrix Programming
5. Smartphone-like Device with AppsTransform the Arduino UNO R4 WiFi into a smartphone-like device with multiple apps, a keyboard, and cloud sync. An innovative project showcasing the board's capabilities.Project Link: Smartphone-like Device Project
6. SparkFun Qwiic Kit IntegrationConnect various sensors and components using the SparkFun Qwiic Kit with the Arduino UNO R4 WiFi. This guide is ideal for experimenting with multiple peripherals.Project Link: SparkFun Qwiic Kit Guide
P.S.: I tried some of these not all.
How is this negative? I just Pointed out there's no Point in upgrading if you already have the original Pico. You hardly require additional memory and power for most of the projects that Pico 1 can't handle
@nathan I personally think if you already own a PICO or PICO W and not utilizing it to its full extent, there's no Point in upgrading. Because the PICO 2 does not have a USB C which is a major turndown. But obviously, if you WAnt to try the RISC-V, it's one of the best options considering the community support.
Measuring a transformer with an oscilloscope, especially in mains-powered circuits, requires caution to avoid damaging your equipment or risking personal safety.
One major risk comes from grounding. Most benchtop oscilloscopes connect their probe ground clips directly to earth ground through the power cord. If you attach the ground clip to a Point in the transformer circuit that isn’t referenced to earth ground—such as a floating secondary—you can unintentionally create a short circuit. This short can damage the oscilloscope, harm the transformer, or even cause electric shock.
To prevent this, always ensure the oscilloscope and the circuit under test share the same ground reference. If that’s not possible, use an isolation transformer to power the circuit. This isolates it from the mains ground, allowing you to safely connect the oscilloscope.
You can also use a differential probe, which measures the voltage between two Points without relying on a common ground. This makes it ideal for measuring floating or ungrounded circuits.
You also need to pay attention to voltage ratings. Oscilloscopes and their probes can only handle a limited amount of voltage. If you exceed that limit, you risk damaging both the probe and the oscilloscope.
To stay within safe limits, use attenuating probes like 10:1 or 100:1 when working with high voltages, and always verify the maximum input ratings before connecting anything.
Improper connections can also cause short circuits and overloads. If you connect probes incorrectly or create a ground loop, large currents might flow through unintended paths. This can burn out transformer windings, destroy probes, or even start fires. To stay safe, always double-check your connections before powering the circuit. Set the oscilloscope’s input impedance correctly to avoid incorrect readings or signal distortion. When working with floating circuits, rely on isolation techniques or differential probes to create a safer test environment.
If you follow these steps you can surely measure a transformer with an oscilloscope but make sure safety first.
I’ve been exploring more advanced uses for my Raspberry Pi and WAs wondering if it’s possible to replace a standard home router or Set it up as a network firewall. I understand that the Pi has Ethernet and Wi-Fi capabilities, and with the right software like OpenWRT or Pi-hole, it seems doable.
Has anyone here successfully Set up a Raspberry Pi (especially models like the Pi 4 or Pi 5) as a full-fledged router or firewall? How well does it handle real-world network traffic and multiple devices? Also, what are the limitations in terms of speed, security, and ...
To identify the neutral wire safely, start by disconnecting the mains power at the main breaker—this is absolutely essential for your safety.
Next, use a multimeter to verify that the phase (live), neutral, and protective earth (PE) wires are separate by measuring the resistance between each pair:
phase and neutral, phase and PE, and neutral and PE.
Each measurement should show high resistance, typically in the megaohm (MΩ) range, indicating proper separation. If you get low resistance readings, there may be a crossover or shared connection in the wiring, which is often difficult to trace—especially in older homes.
Once you're sure the circuits are isolated, you can run a temporary cable from a known neutral Point to the location you're testing. Measuring the loop resistance at that Point will help you determine which wire is which.
Finally, before handling any wires, always check for voltage using a multimeter—even if you believe the power is off. In older installations, improper wiring or feedback from other circuits can leave wires unexpectedly live, so never rely solely on switches.
Safety first.
That's a great observation and a very common question. The reason birds don’t get electrocuted while sitting on high-voltage power lines has to do with how electricity flows.
Electricity needs a path to flow—from a higher voltage Point to a lower voltage Point (or ground). When a bird perches on a single wire, both of its feet are at the same electrical potential. Since there's no difference in voltage between the two contact Points, there's no current flowing through the bird’s body, which is what causes electrocution.
However, if the bird were to touch two wires at different voltages at the same time, or a wire and a grounded object (like a pole or transformer), then electricity would flow through it, and it could be fatal.
So, it's not about the bird’s size—it’s about the fact that it’s only touching one wire and not providing a path for current to flow through.
This is the safest option to identify the Neutral wire using a multimeter:
1. Set Up Your Multimeter: Set your multimeter to AC voltage mode (V~).
Choose a range higher than your supply voltage (e.g., 250V for 220V systems).
Insert the black probe in COM and the red probe in V/Ω.
2. Identify the Live Wire:
Place the black probe on a known earth source (e.g., a metallic pipe or grounded screw).
Use the red probe to measure each wire.
Live to Earth = ~220V (or 110V)
Neutral to Earth = 0V - 5V
Earth to Earth = 0V
The wire showing the highest voltage (~220V or 110V) is Live.
3. Identify Neutral vs. Earth:
Measure the voltage between the remaining two wires.
Neutral to Earth should show 0V - 5V due to minor voltage drop.
Earth to Live should still show ~220V (or 110V).
The wire showing nearly 0V relative to Earth is the actual Earth wire.
Hey there! Here's a quick, step-by-step guide to identifying live, neutral, and earth wires using a digital multimeter: Set Up Your Multimeter:Choose the AC voltage mode and Set the range higher than your local supply (e.g., 220V or 110V).
Identify the Live Wire:
Label your three wires as A, B, and C.
Measure the voltage between A and B, B and C, and A and C. The pair that shows ~220V (or 110V) contains the Live and Neutral wires. For example: 220V between A and B i.e., one of them is live.
Then, measure between one of these (A) and the third remaining wire (C).
If A to C also reads close to 220V (or 110V), then A is likely to live.
If it’s much lower (around 1-5V), then the live wire is the other one (B).
Determine Neutral vs. Earth:
Now measure the voltage between the identified live wire and the remaining two wires i.e., first between A and B, then between A and C
The wire with a lower voltage difference (around 1-5V) compared to the live wire is neutral. For example: Bw A and B = 215 and BW A and C = 220. In this case, wire B is neutral
The other wire, showing nearly 0V less than the neutral is your Earth i.e., wire C is Earth.
Keep in mind: Ideally, live should be around 220V (or 110V), while neutral and earth are close to 0V (with a slight drop of 1-5V on neutral due to resistance).
For a deeper dive and more detailed instructions, check out this article: How to Identify Live, Neutral, and Earth Using a Multimeter.
Here's an example using a for loop to configure 8 digital pins (from pin 2 to pin 9) as outputs:
int ledPins[] = {2, 3, 4, 5, 6, 7, 8, 9}; // Array of pin numbers
void Setup() {
for (int i = 0; i < 8; i++) {
pinMode(ledPins[i], OUTPUT); // Set each pin as an output
}
}
void loop() {
// Your code to control LEDs goes here
}
If the pins are not in a series, you can still use an array:
int ledPins[] = {2, 5, 7, 8, 10, 12, 13, A0}; // Array of specific pin numbers
void Setup() {
for (int i = 0; i < 8; i++) {
pinMode(ledPins[i], OUTPUT); // Set each specified pin as an output
}
}
void loop() {
// Your code to control LEDs goes here
}