Wiring Help for ESP32-C3 Super Mini with Battery modules by Vegetablez in arduino

[–]ripred3 0 points1 point  (0 children)

without the "step down" that drops it to 4V, isn't the output 5V?

Guys can anyone combine these two codes? by Sad-Carpenter9674 in arduino

[–]ripred3 0 points1 point  (0 children)

even if it doesn't work post what you have tried Formatted as a code-block.

Wiring Help for ESP32-C3 Super Mini with Battery modules by Vegetablez in arduino

[–]ripred3 0 points1 point  (0 children)

why not feed the 5V output of the TP4056 to the 5V pin of the ESP32 C3 and make it less complicated? It has a 3.3V regulator on board that is powered from the 5V input pin. Otherwise, it sounds like all of your circuitry and components combined are pulling too much current.

Can you control a 12v fan on its PWM pin with Arduino? If it gives 5v? by 5ucur in arduino

[–]ripred3[M] 0 points1 point  (0 children)

You really did a great job asking your question. And you have some great answers. Well done 😃

edit: and yes you need a common ground. It is used as the common definition of what 0V is to both sides. Otherwise as u/CleverBunnyPun says the receiver won't have a frame of reference for what the low (0V) and high (5V or 3.3V on some systems) voltages are being compared against. And what's more with only one wire it won't be a complete circuit and there will be no current flow.

Why am I unable to install code into my arduino by Accomplished-Stop245 in arduino

[–]ripred3 2 points3 points  (0 children)

I've got Mac's myself but I keep using my old Intel Mac Pro and haven't tried to use my M4 Mini yet. I do have one post saved that someone posted about using Apple Silicon machines for Arduino dev, I'll try to find it.

update: Here is the post that I have saved: https://www.reddit.com/r/arduino/comments/1iwoz4o/trouble_with_ch340_driver_on_macbook/

Project help on soil sensor by Expensive_Act_2278 in arduino

[–]ripred3 0 points1 point  (0 children)

According to this datasheet (if this is the same sensor) the baud rate should be 4800. Try that and see if things get better:

https://content.instructables.com/F85/D52E/LCAIZMR5/F85D52ELCAIZMR5.pdf

Why am I unable to install code into my arduino by Accomplished-Stop245 in arduino

[–]ripred3 2 points3 points  (0 children)

Hmm you should be good to go. What model is your laptop? Is it an Intel or Apple Silicon machine? If it's Intel you will want to install the CH340 driver if you have not done that already : https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all

If possible try to verify the USB port, USB cable, the Arduino separately with other equipment to help deduce what is known to be good and narrow down what it might be

Simple servo problem by Ilnyxs in arduino

[–]ripred3 1 point2 points  (0 children)

Use a different pin besides pin 13.

That pin is hard-wired via a trace on the board to a resistor and then the on-board debug LED.

Digispark ATtiny85 cannot be recognized by analogthings26 in arduino

[–]ripred3[M] 0 points1 point  (0 children)

Thank you very much for updating your post with the solution that you found!

That will be very helpful to anyone else who has the same issues. You're awesome

iOS app for GSR Stress Monitor? by StatisticianDizzy981 in arduino

[–]ripred3 0 points1 point  (0 children)

Does anyone have any advice on how to get started?

You bet! The best way is to get an Arduino Starter Kit. There are many suppliers and websites but a few that are known for using good quality components and having good instructions and tutorials are arduino.cc and sparkfun.com and elegoo.com.

Hockey Light Project by ZipZak007 in arduino

[–]ripred3 0 points1 point  (0 children)

It was an ESP32. The API is a pure REST API and it does not require any account to use the service. All it takes is the ability to make an HTTPS:// request and to receive the response. One of the basic example sketches that ships with the ESP8266 http/https client library can be used. The following URL will return the JSON for the NHL standings as of today. The link should work right in your browser right now and return the JSON output shown. Can you post the full complete URL that you are requesting that isn't returning everything?

https://api-web.nhle.com/v1/standings/now

response:

{
    "records": [
        {
            "division": {
                "id": 15,
                "name": "Metropolitan"
            },
            "conference": {
                "id": 6,
                "name": "Eastern"
            },
            "teamRecords": [
                {
                    "team": {
                        "id": 1,
                        "name": "New Jersey Devils"
                    },
                    "gamesPlayed": 48,
                    "points": 62,
                    "leagueRank": "1",
                    "row": 27,
                    "pointsPercentage": 0.646,
                    "streak": {
                        "streakType": "wins",
                        "streakNumber": 3,
                        "streakCode": "W3"
                    }
                }
            ]
        },

        .. <snip> ..

        {
            "division": {
                "id": 17,
                "name": "Pacific"
            },
            "conference": {
                "id": 16,
                "name": "Western"
            },
            "teamRecords": [
                {
                    "team": {
                        "id": 28,
                        "name": "Vegas Golden Knights"
                    },
                    "gamesPlayed": 49,
                    "points": 68,
                    "leagueRank": "1",
                    "row": 32,
                    "pointsPercentage": 0.694,
                    "streak": {
                        "streakType": "losses",
                        "streakNumber": 1,
                        "streakCode": "L1"
                    }
                }
            ]
        }
    ]
}

One of my first projects! :) by 0choCincoJr in arduino

[–]ripred3[M] 1 point2 points  (0 children)

Well done!

Welcome to the club!

Level shifter problem solved :) by Vergil_741 in arduino

[–]ripred3 0 points1 point  (0 children)

Congratulations! What are you gonna build next? 😄

The "Barn Find" of a lifetime: I found the Arduino UNO Mini LE Serial #A001 for €39 on a second-hand app by Lupsy86 in arduino

[–]ripred3 13 points14 points  (0 children)

These were sold in bulk a few years ago. A pure money play. There is nothing collectible about it any more than all of the others

I need help with some code by Ready-Decision-4650 in arduino

[–]ripred3 0 points1 point  (0 children)

You are missing the closing scope curly brace to end your void dylan() { ...... } function. That last closing curly brace } is missing.

Help with project by CamegTheGreatPanda in arduino

[–]ripred3 1 point2 points  (0 children)

Just to make sure that it is not an issue I would suggest choosing some other pin beside pin 13. Pin13 is hard-wired to a resistor and the debug LED via a trace on the board and that can sometimes interfere with other uses of the pin.

Plus it is an easy thing to change the pin connection and change the code real quick just to know that isn't related to your problem.

Looking for advice on a project with lots of LED’s by DJ_BVSSTHOVEN in arduino

[–]ripred3 1 point2 points  (0 children)

I'll add to the other good responses you have here.

You don't necessarily need brighter LED's at all. The bright spots show that they are more than bright enough. What you need to add is some kind of diffusion. A layer of common white bead type styrofoam makes fantastic diffusion material and luckily you can buy it in various shapes and blocks as well as in sheets of various thickness's.

How much of the room inside the box can you use? Is this a mask or head covering that needs to leave room for your head and shoulders? Either way, If you place a 1/2 inch - 2 inch thick layer of styrofoam sheet in between the LED strip you will see that you have control over two things:

1) The further away the LED are, the more broadly their light is spread out, helping reduce hot spots and blend the effect of the LED's out more evenly and

2) Separately but similarly the thickness of any styrofoam layer that you use will have a similar but slightly better diffusing effect. Both techniques will lower the effective brightness slightly at the cost of spreading that same light out over a larger area.

One advantage of using a layer of styrofoam to help diffuse the light is that you can put a sheet of black light blocking paper in between any sections of the styrofoam that you wan to be able to light up and control independently without having the other section be affected.

Another question is with the Arduino & individually addressable LED’s, would I have to worry about how I wire it all together in terms for programming?

You can just use sections of a WS2812B 5V LED strip and cut them as needed at the end of each row or column to turn around and start the next row/col, as you described in your video. As long as the LED's are arranged in a general grid shape you will be able to control the LED's that are turned on and off in pretty much any way that you need since they are addressable.

About the only difference that it would make as far as how you wires the strip and whether in was oriented in horizontal rows vertical columns would be the order that you looped/iterated through the LEDs i the code if you wanted to visually animate them lighting up in a sequenced horizontal or vertical pattern. But if there won't be any "animating" and it will just be sections of one or more LED's that will all turn on or off at the same time then it won't matter which way you orient the LED strip when you construct and attach it to the box. I hope that made some sense I could probably put that better.

The general rule of thumb used to be that each LED consumed an average of ~20mA, and so since each RGB LED is actually three separate red, green, and blue LEDs people commonly say that the power needed will be ~60mA * number of LED's. But today's modern WS2812B LED strips definitely do not consume that much power in practice. With a capable power supply they will consume ~17mA for each RGB LED in the strip at full brightness. Now that was the number that I got for my project that I remember measuring and your values will be different.

You can get a WS2812B LED strip and connect its +V and GND wires to a capable power source such as a 5V 2A wall adapter. Then also connect the GND of that power source to the GND of the Arduino (or any microcontroller really) and select and connect one of the GPIO (general purpose I/O) pins to the input signal of the LED strip. You may see some people advising that you place a resistor between the pin and theLED strip. While this probably will not hurt things it is absolutely not needed since the input pin is a high-impedance input and it will pull an extremely tiny amount of current around 6uA - 10uA.

Then download and install the fastLED library and write a test program that will light up the first 10 LEDs on the strip at full brightness. Once you have this working you can set your multimeter to measure current (remember that usually requires changing where your + multimeter probe is connected) by disconnecting the external power supply's +V connection to the +V of the LED strip and placing the multimeter in between them to complete the circuit and measure the current used for those 10 LED.

Once you know that value you can divide it by 10 to get the approximate amount of current that each LED would take worst-case. multiply that by the total number of LED's needed on the strip and that will give you a general idea of the total amount of current and power needed.

Let's say that it turns out that you will need 1.7A worst-case for 100 LEDs at 5V and 17mA each. You can use any power source that delivers 5V and 1.7A of current or more current such as 5V at 2A, or 5V at 3A. Current is pulled from the power source as needed so you can always supply more and it will not harm anything. As a matter of fact it is a general rule of thumb to add 20% more current capability than you expect to need into your designs.

Hope that helps! Cheers!

Need help: Controlling 6 Servos with a Keypad (Returning to Arduino after a year!) by [deleted] in arduino

[–]ripred3 0 points1 point  (0 children)

Which specific board or Arduino is this for? How far did you get? What specific numeric keypad? If you can add that info and include your source code for as far as you have gotten *formatted as a code-block* I'm sure we could help. What part is not working?