Post some of your DIY projects that you've done and are proud of

Absolutely. Addressable LEDs are much easier to set up and control. That said, they do come with a few drawbacks.

Yeah, the ESP8266 is significantly faster, more capable, and cheaper these days.

I got most of mine from Robu. The Nano currently goes for around ₹200, and the DIP ATmega328P is about ₹300. I remember picking them up for ~₹200 back in the day.

The ATmega line is still popular because of its simplicity. If you need precise timing control, ATmega datasheets are way easier to understand compared to most other microcontrollers.

Plus, their power consumption is excellent in low-power modes.

If anyone’s interested in learning assembly, ATmega is a great place to start.

99.9% people here come from reddit, because they want to buy and sell PC stuff.

Exactly! the vibe is great. :slightly_smiling_face:

This subsection is bound to grow, mods are doing an excellent job running things here.

Big players like Robu do have their own forums, but they don’t come close to the quality of interaction here.

There are other communities too, but most are too narrowly focused on specific areas of electronics.

2 Likes

DIY - 24Ghz mmWave Human Presence Sensor (Home Assistant) - Home & DIY / Home Automation & IoT - TechEnclave

5 Likes

Even though its costly mmwave sensors were a good choice for that. I have tried couple of those rcwl-0516 radars. They are way better than average pir sensors but still need little motion occasionally to detect presence.

I’ll see if I can post one of my mods of ikea air quality sensor vindriktning. Its basically adding D1 mini into the housing and collecting the measurements periodically. Last I checked the sensor was on sale for 400-500.

It’s not the most accurate one but its better than nothing and it does reliably light up when something is cooking in the kitchen. So, you know if not hazardous gasses it helps detect other allegedly hazardous items at home :sweat_smile:

1 Like

Yes exactly!
when they launched it, I tried a bit to make it lively but soon realized that a forum that is so closely tied to brands and the delicate relationship that comes along will never be a good place to have an open, lively discussion among other stuff

3 Likes

drill battery lithium mod for the 13092185th time

I got this cheapo black and decker cordless drill set long ago and the battery+charger failed rather quick, the battery originally was NiCd based (black and decker loves environment and your health :smiling_face_with_three_hearts::smiling_face_with_three_hearts::smiling_face_with_three_hearts:) and I modded it to lithium cells (some random 18650s) they lasted more than the original cells but something or the other kept failing every now and then, I have remade the whole thing a couple of times now but the shell remained same so it has seen some good amount of abuse. This is the latest iteration with 4x 21700 4500Mah DMEGC cells in 4S config + a BMS + a type c to 4 s charger module.
Some pics:

7 Likes

List the models, which BMS and which charger module.

Sure,

Product Link (where I buyed from) Notes
DMEGC INR21700-45E 3.7V 4500mAh Li-Ion Battery DMEGC INR21700 4500mAh Tested capacity and they do seem genuine
Type C 4S 2A charging module Type C BMS 4S 2A 18650 Lithium Battery Charger Board USB C Step-up Boost Module for Li-Po Polymer Power Bank – Roboman Doesn’t use pd but boost converter and no cc1 and cc2 resistors but you can solder to the 6 pin connector
4S 30A li-ion BMS with balance 4S 30A Lithium Battery Protection Board was Dead On Arrival or I blew it up just by touching, idk, never managed to make it work
4S 40A li-ion bms with balance (different design, no ntc terminals or jst connectors) https://robu.in/product/4-series-40a-18650-lithium-battery-protection-board-14-8v-16-8v-with-balance-for-drill-motor-lipo-cell-module/ Had already lying this in my inventory so used it as fallback and has been working great for a few months now

PS: Not affiliated with any of these store or brand.

So battery is connected to this.

On the + and - terminals your load is connected and also the charging module?

The job of this module is to step up the 5V to 18.6V?

A multi-usb charging “power station?” type thingy

I often need multi usb for charging various stuff at once and although buy options existed,

  • cheap ones are safety disaster
  • paid ones are too expensive for what I want
  • either way won’t get as close to what I want and where’s the fun in just buying :wink:

Although a simple-ish project, very utilitarian to me day to day.

Project details:

  • Used a 24v 3.3a smps from electornicspices (they raised the prices just after I buyed :frowning: I bought at 279 INR, now 399 INR)
  • various charging modules:
    • 1 type c 65w PD buck module from robu (can even charge my laptop!)
    • 2x USB fast charging module, IDK how much power exactly (At least 18w though) (good for smartphones charging at a reasonable speed etc)
    • 1x dual USB 5v 3A buck
    • then I thought wait I need a lot more USBs (even if total capacity is not that much) even if a bit crappy so bodged a buck converter with a circuit board with a few female USB sockets
    • some miscellaneous stuff like fuse, led indicator, a db8 connector for portability and an automatic fan with a KSD301 thermal switch and a tiny cute fan, a toggle switch etc
    • All enclosed in a PVC switch box (currently my favorite project boxes just because how easily and relatively cheaply they are available)

Some pics:

3 Likes

That’s a bit tricky because either way you might face some issues, the thing is that the BMS and charging module both try to manage the high cut off at the end of charging cycle, So

  1. if you attach the charging module to the BMS output, it might oscillate back and forth and the LED indicators might start randomly blinking near full charge condition ( I don’t believe this damages anything but hardly ideal).
  2. I believe the better way is to attach the charging modules directly to the battery terminal across the pack, probably this is the intended way but there is an edge case on some BMS that if the BMS shuts down for whatever reason (protection trigger) it needs a voltage to be applied to turn back on regardless the battery voltage, in that case this strategy might cause hassle

Again, I am not sure and basically doing trial and error to see what works out, I forgot what I have done this time around lol, will need to tear it down to know :smiling_face_with_tear:

EDIT:

not just that but the charging itself too i.e. full charge cut off (and probably CC,CV too?)

I googled a bit, with 4s battery connected to the BMS it needs exactly 16.2V for charging.

But not just regular 16.2V DC voltage, it needs CV/CC too.

I could be wrong, but I think the charging module you have does not do CV/CC charging it does output CV but switches the frequency to somehow simulate the CV/CC behaviour, with maximum current of 0.56A in your case.


This is the proper 4s lithium charger with all the safety features connects directly into your BMS where the load is connected. - Buy Pro-Range Battery Charger 4S Li-Ion - 16.8V 2A with Male Plug

If anyone else reading - this setup does not allow you to power your load and do the charging at the same time. If you do either the charger module or the BMS will go bad.

Don’t do any precision measurements around this thing when it is running, so many switching components. :upside_down_face:

A few that I feel happy to share:

  1. AC controller:

My room’s shape is such that it’s difficult to control the AC from my bed. Furthermore, the AC is a window unit and sits lower than usual, resulting in it killing the compressor too early even before my room gets cool enough. Either I keep the temp setting too low or use a custom solution… therefore:

  • A simple device to control the AC by replicating the remote signal.
  • Linked to my phone via ESPhome/Home Assistant
  • Uses an IR Transmitter module, a receiver module (for programming a specific code… kinda unnecessary).
  • Wemos D1 Mini as the MCU
  • 3D printed case
  • LEDs for notification (Solid white when AC triggered… blinking when idle, blue led when signal sent)
  • The activation/deactivation is based on a temperature sensor in another device (see below) that sits on my bedside table.

  1. Bedside control unit:
    A simple machine that serves multiple purposes:
  1. 3D Printer mods:
  • Filament dry box with a feeder mechanism using pulleys.
  • Internal sensor to keep a tab on the humidity level.
  • Lighting via 2 custom LED strips built into small tubes.
  • All electronics linked to Home Assistant via a small ESP M3. Also, a small OLED to show values such as humidity, print time, temps etc.
  • Most parts 3D printed except for the box itself.
  • Humidity reduction via reusable silica gel stored in small boxes inside the box.
  • Unfortunately, I have dismantled most of this as I’m considering some major upgrades to the printer itself.
  1. PC Sensor info display.
  1. Not exactly a huge project, but swapping out the firmware in my Mi3 Air purifier with a custom one that links it with Home Assistant and stops all access to Chinese servers. This was a pain to disassemble but worth it.

Cheers :slight_smile:

16 Likes

The AC controller and bed side control unit is too good. :clap:

I can see that 3d printer has given nice touch to your projects.

ooffff, this one is a head turner for sure.

@sandm4n where have you been all this time.

1 Like

actually closer to 16.8V (4.2V each cell * 4)

True. But practically all sources are somewhat current limited and have a higher open voltage, CC/CV isn’t that complicated if the source is weak in terms of total power already and somehow regulates to around given max battery voltage (say 16.8v in this case) when floating. And a typical boost converter would generally be not outputting a lot of current and this particular module does only output max ~0.5A to the 4s battery (the 2A rating is the max USB input current rating).

It is an actual purpose-made IC to do step-up and proper battery charging.
I don’t have any spare similar 4s module but I do have same but in 2s and 3s variants
and they seem to have mainly 2 sop8 ICs:

  1. AO4468 Mosfet
  2. a step-up battery charging IC CN3302/CN3303/CN3304 (I am guessing the last digit is a number of Series indicator and each IC is made for a specific config)

CN3303 datasheet states:

CN3303 adopts constant
current and quasi-constant voltage(Quasi-CVTM)
mode to charge battery

among other features, this is an actual purpose-made IC and not just some fishy boost converter.

Funnily enough, the option you propose is an objectively worse means of charging but arguably still serviceable, unlike 1s chargers like tp5000, tp4056 etc which offer a plethora of features, you don’t actually need and don’t actually get all those features even in good quality chargers or BMSs, the general consensus for a sane setup is that:

  1. your power supply floats to around max safe battery charge voltage and is current limited (A regular SMPS might trip on voltage drop (i.e. CC stage), might have more current than safe for the battery pack (say 1AH discharged pack getting 10A of current for the SMPS to maintain output voltage or an suboptimal floating voltage)
  2. the battery has a BMS that manages the safety like over discharge, UVP, OVP, temperature, balance etc

the option you suggested (its datasheet) doesn’t state any CC/CV profiles and seems like a regular SMPS with preset suitable voltage and that’s it.

EDIT1:

It’s just for charging stuff, not much more noise than regular SMPS we are already surrounded with I guess.

EDIT2:
Getting a hang of discourse. The curve…

I have to agree with @Heisen 3d printed parts add the charm.
I wish to have one but too expensive for my student ass internship currently, but one day I guess…
till then PVC switch boxes it is.

I liked the idea of using mechanical keyboard switches for these projects! might steal that one for the future

1 Like

It is called a start /run cap . For starting the beefy cap works when you press the button . Once started the motor will run with the smaller cap .

1 Like

I see, so if I were to automate it via some microcontroller
Could I use some simple relays (say even high current ones like 30A (still easy to find online) for each of green and red and give a pulse for each to trigger on and off?
or are there any special mechanisms I should be aware of?
is 30A rating relay enough?

Yup, 16.8V. My bad.

It is able to detect deep discharge state of the battery, a simple SMPS won’t have that ability. Yes the CN3302/CN3303/CN3304 are purpose made ICs for lithium battery charging, but I personally would trust this one more than the open modules we get in the market. The CV/CC is there I am sure.

The standard TP4056 module does not detect battery “deep discharge state”, which requires reduced charging current for safety. We would know better if the datasheets of CN3302/3/4 were in english. :melting_face:

But whatever the case maybe, at last if your drill works then there is nothing to complain about.

Nothing much to automate unless you want to autostart and shut down . The small cap is permanently wired and the big cap gets connected for a small moment when the power button is pressed .