Skip to content
eT Community

eT Community

  • Forums
  • What’s New
  • Members
  • Recent Posts
  • Website
Forums
Search
 
Notifications
Clear all

Search result for:  WA 0812 2782 5310 [[Pandawa Las]] Biaya Membuat Pintu Dorong Besi Per Meter Murah Teras Boyolali

 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:


Page 3 / 3 Prev
Answer to: Program to toggle LED state with a single button?
Programming
Admin
2 years ago
3 Relevance
... tries to debounce but isn't ideal because it blocks the loop and prevents the Arduino from doing anything else during that time. Direct Button Read Without Edge Detection – Since you're checking digitalRead(buttonPin) == HIGH, if you hold the button down even slightly too long, it keeps toggling instead of switching just once Per press. Try the program given below. Better program to toggle LED state with a single button: const int buttonPin = 2; const int ledPin = 13; bool ledState = false; bool lastButtonState = LOW; unsigned long lastDebounceTime = ...
View entire post
Answer to: Multiple LEDs using fewer Pins- how to expand Arduino GPIO pins?
Arduino
Admin
2 years ago
3 Relevance
... shift register, and you can daisy-chain multiple registers to control even more LEDs. This is a great solution if you need simple on/off control for your LEDs. Multiplexing – If you don’t need all LEDs to be on simultaneously, you can use a multiplexing approach. This involves arranging LEDs in a matrix where rows and columns are controlled separately, significantly reducing the number of GPIOs needed. However, since LEDs are turned on one at a time in rapid succession, brightness might be affected unless you use high-speed switching. LED Driver ICs (e.g. ...
View entire post
Answer to: Suggestions for Good ATtiny85 Projects
Circuits and Projects
Admin
2 years ago
3 Relevance
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.
View entire post
Answer to: Difference between EEPROM and Flash?
Hardware/Schematic
Admin
2 years ago
3 Relevance
Both are very different from each other. Here's how: Flash Memory Purpose: Primarily used to store the program (firmware) that runs on the microcontroller. Access Method: Works at the block level, meaning you write or erase data in chunks, not byte by byte. Endurance: Lower than EEPROM, typically around 10,000 to 100,000 write/erase cycles Per block. Speed: Faster read speeds compared to EEPROM. Capacity: Much larger than EEPROM (e.g., Arduino Uno has 32 KB of Flash memory). EEPROM (Electrically Erasable Programmable Read-Only Memory) Purpose: Designed to store small amounts of data that need to be saved even when the power is off (e.g., device settings or user preferences). Access Method: Data is accessed and written byte by byte, making it Perfect for small, frequently changing data. Endurance: It has a high write endurance, typically allowing 100,000 to 1,000,000 write/erase cycles. Speed: Slower compared to Flash. Capacity: Usually much smaller (e.g., Arduino Uno has only 1 KB of EEPROM). What is their purpose in Arduino boards? Flash Memory: This is where your Arduino sketch is stored when you upload it via the IDE. If you need to store constant data like lookup tables, you can use Flash with the PROGMEM directive. EEPROM: You can use it to store user-defined values like calibration data or device settings using the EEPROM library to store it Permanently.
View entire post
Answer to: what is "Display count" in a multimeter?
Equipments
Admin
2 years ago
3 Relevance
... to 1999. This means that when measuring voltage, current, or resistance, the highest reading you can see is 1999 units before the multimeter switches to a higher range or shows an overflow. Let’s say you are measuring voltage with a 2000-count multimeter. If the setting is on the 2V range, the Meter can show values up to 1.999V. If you measure 2.000V or higher, the multimeter will need to switch to a higher range to display that value, or it may show an error or “overload” indication if it’s beyond its capability. For example, if you try to measure 3V whi ...
View entire post
Answer to: What is EEPROM in Arduino and how to use it?
Hardware/Schematic
Sebastian
2 years ago
3 Relevance
EEPROM (Electrically Erasable Programmable Read-Only Memory) allows you to store data even after the board is powered off. It's non-volatile. This makes it useful for storing things like settings, calibration values, or any data you WAnt to retain. Let's understand the different memory types in Arduino: SRAM: Works as temporary storage while the program is running. Data in SRAM is lost when the power is turned off. Flash Memory: The Arduino stores your program code here. Like EEPROM, flash memory is non-volatile, but you can't store or retrieve any data d ...
View entire post
Answer to: What exactly is PWM resolution ?
Hardware/Schematic
Admin
2 years ago
3 Relevance
Hey, Note: UNO R3 supports 8-bit PWM resolution, not 10. Higher resolution means the PWM output can be more finely tuned, resulting in a smoother signal. This is particularly important in applications like motor control, LED dimming, and audio signal generation. 8-bit resolution means there are 256 possible duty cycle values (from 0 to 255). That's why the analogWrite(PWM pin, PWM value) takes values bw 0 and 255. In this case, increasing the duty cycle step by step corresponds to a change of approximately 0.4% (1/256) of the full-scale value. Whereas the 16-bit resolution means there are 65,536 possible duty cycle values (from 0 to 65,535).Each step in the duty cycle corresponds to a change of approximately 0.0015% (1/65,536) of the full-scale value. As much as the resolution is important, so does the frequency of the PWM signal. The increase in PWM resolution decreases the maximum PWM frequency possible for the same clock frequency. if UNO and ESP32 have the same clock frequency i.e., 16 MHZ. The maximum possible PWM frequency(16-bit) for ESP32 will only be 244 Hz. Whereas for UNO(8-bit), it is 62.5 KHz. For example, 16 MHz / 256 and 16 MHz / 65,536. EDIT: Hey everyone! Let’s clear up the confusion regarding PWM resolution and the difference between dividing by 2^n versus 2^n - 1 The Hardware Timer Perspective In fast PWM mode, the timer counts from 0 up to a “TOP” value and then overflows back to 0. For 8-bit PWM, TOP = 255. This gives you a counter range of 0–255 = 256 distinct counts. For 2-bit PWM, TOP = 3. This gives you a counter range of 0–3 = 4 distinct counts. Thus, in terms of raw timer ticks, there are 2^n counts Per cycle. The Duty Cycle Perspective When calculating duty cycle, we typically use: Duty Cycle (%)= (Compare Register Value/TOP) ×100. For 8-bit PWM, you divide by 255 (TOP = 255), so the highest compare value 255 yields 100 % duty cycle. For 2-bit PWM, you divide by 3 (TOP = 3), so a compare value of 3 yields 100 % duty cycle. If you were to divide by 2^n directly (e.g., 256 for 8-bit), the maximum compare value (255) would give (255/256)x 100 =~ 99.6% which technically matches clock ticks but doesn’t align with the usual definition of 100 % on hardware PWM outputs. Why It Matters 0 % duty cycle: Compare Register = 0. 100 % duty cycle: Compare Register = TOP (which is 2^n - 1). Users generally expect that the maximum compare setting translates to the output being fully ON (i.e., 100 %). Summary The timer truly counts 2^n steps (from 0 to 2^n−1). However, to get a duty cycle Percentage from 0 % to 100 %, you divide the compare value by 2^n - 1. That’s why for 8-bit PWM, you’ll see many references to dividing by 255, not 256.
View entire post
Page 3 / 3 Prev

Forum Search

Recent Posts

  • Rachana Jain

    RE: Beginner Arduino Course —Any Recommendations?

    @rahav When I started learning Arduino, I realized that...

    By Rachana Jain , 4 months ago

  • Admin

    RE: esp32 diagram connection

    @wmughal What do you want to achieve here exactly?

    By Admin , 7 months ago

  • DIY an RF power meter Based on STM32F103 + MAX4003

    As we all know, Radio frequency (RF) is a very importan...

    By anselbevier , 8 months ago

  • esp32 diagram connection

    i never use esp32 before i get diagram from claude i wa...

    By wmughal , 8 months ago

  • Admin

    RE: Motor driver not working properly

    @noochee Can you please share more details? Circuit dia...

    By Admin , 8 months ago

  • Motor driver not working properly

    I built an obstacle avoiding robotic car using Arduino,...

    By Noochee , 9 months ago

  • Answer to: Bluetooth Speaker won't turn on

    Translator Sorry, this i...

    By servitec , 10 months ago

  • Bluetooth Speaker won't turn on

    I know is not probably the best place for a newbie, the...

    By servitec , 10 months ago

  • Answer to: Why Fluke multimeters are so expensive?

    Totally agree with the points above. In my experience, ...

    By maryjlee , 12 months ago

Share:
Forum Information
Recent Posts
Unread Posts
Tags
  • 9 Forums
  • 321 Topics
  • 807 Posts
  • 4 Online
  • 324 Members
Our newest member: HannahNit
Latest Post: Beginner Arduino Course —Any Recommendations?
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

 Powered by wpForo version 3.2.2

© 2026 eT Community • Built with GeneratePress