Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Building a Rechargeable LED Lamp

Status
Not open for further replies.
Soldering to a magnet is very difficult or impossible. I suggest conductive glue or some sort of clamp. You could probably solder to a steel object and let the magnet attract that to the back face of the magnet.

Magnets are often made of steel, so quite solderable - the main issue is the iron been pulled to the magnet :D

Many decades ago I repaired a bass combo for a guy who worked next door to where I worked - all that was wrong was the wire had broken off the speaker. However, the speaker was a huge 18 inch one (it was a BIG combo), and had amassive magnet on it - it took a lot of time and effort to solder the wire on, because as soon as I got near the speaker terminal the soldering iron was pulled away by the magnet. Eventually I had to work out away of bracing myself (round the speaker) so I good resist the pull yet still maintain a degree of precision for soldering the terminal.

I like the suggestion in post #17 - and a small steel washer would be ideal to solder to, then let that attach itself to the magnet.
 
Okay perfect, thanks. I have everything ordered now, so I'll get back to ye in a week and a half hopefully with a progress report. Maybe even a fully functioning lamp. Who knows? Again, thanks a lot for the help
 
For each wedge, you could have:
  • To boost from 3.7V battery to 12V: **broken link removed**
  • For the switch, you could use a touch switch, configured for toggle mode: **broken link removed** The output of this switch can connect to pin 4 (MT3608 enable pin) of the IC on the boost converter.
  • To charge and protect the battery: https://www.ebay.com.au/itm/164271308971
The main wedge is the same as the others, except it has the charging socket exposed.

The 5V from the charger can be passed through the magnets, provided you're using those with a conductive coating, i.e. Ni coated neodymium types.

If you want to have charging only enabled when all four are connected together, you could have three loops (via the magnets) around assembled lamp, where one loop is the 0V connection, one is 5V in, and one is 5V charge. The 5V and 5V charge loops are connected in the main wedge, such that the 5V in is only connected to the 5V charge loop when all wedges are connected.

Alright, I'm having a bit of difficulty with the charging in a loop. First of all, would this be series or parallel? Series seems to be the only way to get it to work, but I'm not sure. Would it be possible for you to sketch how this loop might work. Just a simple one if possible, thanks

Edit:
Charging them is one thing, but keeping the rest of the circuit attached to the individual batteries is what I'm really asking about (the boost converter, on/off switch and LED)
 
Alright, I'm having a bit of difficulty with the charging in a loop. First of all, would this be series or parallel? Series seems to be the only way to get it to work, but I'm not sure. Would it be possible for you to sketch how this loop might work. Just a simple one if possible, thanks
The charging loop stuff (that only allows charging with all wedges connected is hopefully clear in the following drawing:
loopy.png

The yellow lines represent connections made by the magnets. The box with "L" in it is the rest of the lamp circuit (i.e. battery, charger, switch, boost converter, LED strip)
 
Edit:
Charging them is one thing, but keeping the rest of the circuit attached to the individual batteries is what I'm really asking about (the boost converter, on/off switch and LED)
The charger/battery/boost/switch/LED is in the "L" box in the above drawing, and should have the following stuff in it:
L-box.png
 
I had the switch after the boost converter though. Is that bad?
Are you just using a normal mechanical switch?

A mechanical switch after the boost circuit will drain the battery slowly through the boost circuit when the light is off. If you connect the mechanical switch before the boost circuit, there is no current drain caused by the boost circuit. Depending on how much drain there is, you may or may not care about it.
 
What's the middle line between the switch and the boost converter that you've drawn there? And will I need to get a charging board per each wedge? I agree with taking baby steps, but the difficult part is getting them all to charge together.

Also, thanks again for the help and the drawings. Extremely appreciate it
 
What's the middle line between the switch and the boost converter that you've drawn there? And will I need to get a charging board per each wedge? I agree with taking baby steps, but the difficult part is getting them all to charge together.

Also, thanks again for the help and the drawings. Extremely appreciate it
That was if you were using the touch-switch module. For a mechanical switch, just wire up as follows:
L-box-mech-switch.png


And yes, you need a charging board per wedge
 
Yea ideally I would be using that, but for the time that I have, I'll just go with the straight forward. It's already not straight forward atall. Down the line I could work more features into it possibly. On and off are good for now
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top