Mostrar mensagens com a etiqueta Tips&Tricks. Mostrar todas as mensagens
Mostrar mensagens com a etiqueta Tips&Tricks. Mostrar todas as mensagens

Today I bring you guys something new, something that ended up to develop under some pressure and in a short time. In some of my recent projects where the energy consumption was smaller, I ended up to replace the AA batteries for Coin Cell batteries that took a lot less space. During the development process, I ended up draining a lot of batteries, so I replaced the normal batteries for rechargeable batteries. However, I completely forgot that I would need to recharge them. As a coin cell charger was quite off expensive in my area, I ended up to develop a charger by my self what ended up to be cheap(something around 3€) and fast. I used the TP4056 in this project that is a charger for a single cell lithium-ion batteries that will be in charge of charging the batteries!


Materials Used:
  • 1x Coin Cell Holder
  • 1x Small Prototype Board
  • 1x TP4056
  • 2x Very small wires

Schematics:



There are some things that should be taken into consideration when putting the project together. It is extremely important to assure that we do not solder the opposite poles between the battery holder and the TP4056. Each pin of the coin cell battery holder has its own polarity.

During the process of joining everything, I designed a simple case for the project to keep everything together and at the same time beautify the charger. The case can be downloaded from here.


And now... The final aspect of it:





Hi there guys, long time no see! Today I came here to talk about the ESP-01 that is so tiny and can be so helpful to shrinkify the space needed for our projects despite it sometimes could be a real pain in the ass to program.
ESP-01
All those wires and GPIO pins that we need to connect and assure that ESP-01 is plugged into a 3.3V stable power supply make us lose a lot of precious time and even sometimes our patience. So I decided to buy an adapter to program it without the headaches of connecting the wires and I went from this...
Schematic to program ESP-01

to...
UART ESP-01


And it's so much simple you just need to plug there your ESP-01 and no more wires! Everything would be great if it worked, but the reality was that I was not able to flash the ESP-01.
But why!?


THE NEW PROBLEM -.-"

In order to ESP-01 enter in flash mode, you need to connect GPIO 0 to GND and this UART ESP-01 doesn't do that, so after some time spent on research, I think I found one good way to fix this. A simple hack that only takes a few minutes and makes possible connect both pins. The solution that I found consists of welding a switch to GND and GPIO 0. The advantage of using a switch here is that if we swipe it to the right it will create a bridge between the GND and GPIO 0 and will turn UART into an ESP-01 programmer but otherwise if we swipe it to the left it will break the bridge and UART ESP-01 will work as a normal UART.


THE SOLUTION

The solution for this, as said before, is really simple and for that, we only need a welding iron, a normal switch and one header pin or a piece of wire to join UART ESP-01 to the switch.

Material needed

After gathering all the necessary material we should start by preparing it. The first thing that we need to do is cut one of the side pins of the button because we will need only need to 2 of them and this way we prevent from the other one touch in anything that it shouldn't.

Button after cut the side pin
Now we only need to put everything together and we will be ready to program our ESP-01. Before starting to weld the button to UART ESP-01, take a look at the UART ESP-01 schematic to understand and see where each pin is located.

UART ESP-01  upside down schematic

Pick the button and weld the side button pin to GND and with a header pin or a piece of wire soldering the middle pin to GPIO 0.

UART ESP-01 with weld button

After welding both I strongly recommend using hot glue in order to help to fix the button and to prevent that anything messes up with what we just finished to do. In the picture below, you can see how I did it.

After applied the hot glue

Now everything is finished and we finally are ready to program our ESP-01. So let's move on to Part 2  and upload some custom code to it.

Today I came here not show something I have created or that i'm currently working but to share something that I had found a few days ago. I found one of those I think be the most usefull and relevant posters that a Maker can have to help him with electronic components! You can find it here.

Poster

As you can see it is divided into 13 parts with important and easy reading information. On these 14 parts you can found the essencial information about:
  • Resistor Color Coding
  • Capacitor Coding
  • Electrical Units
  • Metric Prefixes
  • Regulator
  • Op-Amp
  • 555-IC
  • The Breadboard
  • Diodes and Transistors
  • LEDs (Light Emitting Diode)
  • Wire Gauge
  • Ohm's Law
  • SMDs (Surface Mount Devices)

You definitely should give it a try!