RGB LED controlled using two ways potentiometers and phone using Attiny84 and ESP8266 |

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 มิ.ย. 2024
  • Please consider subscribing, I will be posting really cool projects in this channel, from creating automous vehicles, robots, simple projects like this, projects for all levels, beginner, intermediate, and advanced, subscribe to make sure you dont miss anything.
    In this video/project I go through the process of making an RGB LED that can be controlled using two ways, physically using potentiometers, and using your phone wirelessly. I used the Attiny84 as the micro-controller, however, any Arduino based board can be used. I also used the ESP8266 (ESP-01) to get access to the WiFi so we can control the RGB LED using the phone. A 18650 battery was used to keep the project portable, because I actually created this project so I can use it as a reading light (which is working perfectly for that!). Because I used a battery, I needed to use a voltage regulator, I used the MCP1700 regulator to maintain a constant voltage of 3.3v. At the end I also printed a little 3D printed case to make it into a proper "thing", which turned out really nice. On a fully charged 18650 battery, I calculated that it can run for about 20 days non-stop. Since I usually read about 1 hour a day, it meant that I can use it for 20 days until I needed to re-charge again, which was perfect for me.
    Links mentioned in the video:
    Code and 3D models:
    github.com/ProjectsWithRed/rg...
    Link to install ESP8266:
    arduino.esp8266.com/stable/pa...
    Link to install the Attiny micro-controllers:
    raw.githubusercontent.com/dam...
    Link for the second library mentioned for the Attiny:
    github.com/SpenceKonde/ATTiny...
    Instagram:
    / projectswithred
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 8

  • @waxoremd
    @waxoremd 2 ปีที่แล้ว +1

    Hey my man i like your videos !
    Can you tell me where are you from ?

    • @ProjectsWithRed
      @ProjectsWithRed  2 ปีที่แล้ว +1

      That's amazing to hear, thank you! UK. For feedback, can you please let me know what it is about the videos that you like.

    • @waxoremd
      @waxoremd 2 ปีที่แล้ว +1

      @@ProjectsWithRed Your videos are well explained also the lighting is great, maybe I will suggest to you to add music in the background and some sound effects but I really enjoy watching your videos, my friend !!😃

    • @ProjectsWithRed
      @ProjectsWithRed  2 ปีที่แล้ว

      @@waxoremd Thank you very much! I really appreciate it.

  • @afriend301
    @afriend301 ปีที่แล้ว

    Hi! I was wondering if you knew the max voltage and current that can go through the usable pins when their pinmode is set as input. Thanks in advance!

    • @ProjectsWithRed
      @ProjectsWithRed  ปีที่แล้ว

      For the Attiny84, each pin is rated 3V, 40mA.

  • @user-pu3et3uo9e
    @user-pu3et3uo9e หลายเดือนก่อน

    Hey my man, do you happen to have a schematic which I can use to power an 12V LED strip using three potentiometers, as shown in your setup?

    • @ProjectsWithRed
      @ProjectsWithRed  หลายเดือนก่อน

      It should be a very similar setup as in this project, but just be careful to have the correct voltage conversions for the LEDs and the micro-controller.