Bunch of Electronics Projects (Basically a blog now)

Set up the PSU to run Channel 1 as load, then had a solar cell in the window watch the outside.
I present to you, 8 hours of logging:

Blue is Voltage, the load was set up to keep it at 4V. Green is the current to hold those 4V.

This is probably the most complicated way to say “Loads of clouds”.

1 Like

Solar garden light

I was handed a dead solar illuminated garden thermometer. The electronics died to water ingress, leaky batteries and being baked.
[Image]

Below is my first “back of napkin” replacement circuit.
Thinking was “4x 1.2V = 4.8V”, have a >100mA Zener of that voltage and some resistor, done.

And while that would maybe work, unless I build my own solar module from individual cells, I am not getting 5V. For all those who never worked with raw cells: Solder them on a glass plate, NO pressure permitted, else PLINK and it is $ down the drain…

However: 6V cells (at 70mA) in the right size exist! Ready made and potted!
70mA can go directly to battery, no resistor needed (yeah… sure…)

So, Napkin circuit but with slightly more thought:

Put into Falstad.com Spice tool and:


…it went back to the future.
krrikx5n80bdjfuwgpev

It commits suicide in order to protect the battery.
I will likely buy some linear regulator and use that… Will update when I figure something out.

1 Like

Wouldn’t a switching regulator make more sense, because… efficiency?

I am running a single LED (15mA) for 10 hours at most, then get ~70mA during a good day, 30mA on a bad one.
Efficiency does not matter at all here.

I see, linear regulation it is then.

Tinkering with Thermo-Electric’s

No way to learn except to just do it! So, take yesterdays parts delivery:

And assemble it on the kitchen counter :wink:

At a mere 10 W (or 6.5V @ 1.4A), I get about 24°C temperature difference.
It is a humid day today:

Just from watching the voltage go up and down, there are some tests to be done with fan speed on the hot side. Blowing in the general direction of the cold side heat sink also creates huge jumps (as in: ±40mV creep).
In case anyone needs a super sensitive movement sensor on the cheap, this could be it :wink:


I planned on building a solar powered dehumidifier before. And seeing the drops build up and drip down at just 10W, that idea may soon turn into more than that.

Why solar? Why not just buy...

Solar in this case has a few advantages:

  • The heat in the form of sun makes it into my apartment anyway. Turning some of it into electricity for a short moment does not heat the room more than it just hitting the curtains or floor directly.

  • Automatically shuts down at night. No timers to set, no clocks to go wonky, nothing to forget.

  • No running cost. 10W for 8 hours per day at 28ct/kWh… yeah, the walladapter would be cheaper for the foreseeable future…

5 Likes

Solar Garden Light (Pt. 2)

Electricity, water, battery acid and some UV did a good job here:

After some trial & error in software, I got to a satisfying good enough state.

Circuit diagram:


Notes

  • The 260Ω on the LM317 is by testing in hardware

  • No idea about any of the characteristics on the photo-resistor. Is just w/e and compensate by using an adjustable resistor. Squarely in the “good enough” territory for this here.

  • Charge current is limited by what the Solar module can provide. When you got more current on your hands, put a 20Ω resistor (1/2W) after the LM317.

Breadboard


Does not seem too bad, does it? Well, “integration” is the next hill…

Notes:

  • 2x 130Ω = 260Ω, to explain why there is one more resistor on the breadboard than in the schematic

  • most of my jumpers are tied up in a different project, so excuse the color-:face_vomiting:

Protoboard
Is limited to 55x55mm with the corners chopped off. Since the old battery holders are also toast, I loose some space to the batteries.
Will have that sorted by Sunday (I think).

2 Likes

Solar Garden Light (Pt. 3)

Good thing I did not specify wich Sunday :wink:

While transplanting the parts from the breadboard to the protoboard, I did a bit of an oopsi, or at least I thought I did.
Probing about, I could not find the blown part or open connection.

And trust me, I tried!


Not shown: 2 Multimeters, Bench PSU, Coffee

Close up taken after I had the “I can’t be this dumb, can I?”-moment.

Turns out I wired Collector and Emitter to Ground…
Only took an hour and a rage quit to figure that out.






Anyway


Board ready to add LED and Photoresistor

3 Likes

Aquired Silicone work mat. Is still a bit warped from the way it was stuffed into its packaging.

Made some extension cables using 2.5mm² silicone cable. The stuff is super flexible despite its diameter.

The stackable connectors are screw on, the sockets are massive and needed to be soldered. So I preheated them with my heatgun and then soldered them…

5 Likes

Long time to see!
Life got a bit busy and my projects don’t result in much stuff that would be interesting to show.

Dumpster diving recently scored me a pair of slightly used Delta Electronics AFB1212 in some PWM-controlled variant.

Slightly death-wishy “just going to power them up”:

3 Likes

Project Poster Light

I wanted to have this project done in, ehm, July last year. Whoops.

Anyway!
My dad gave me a helping hand in the mechanical design and making of the brass part here In the below picture:


I am not sure yet whether I want to paint it matt black of polish it up and clear coat it.

Parts are dead simple:

  • 5.5 x 2.1mm barrel jack
  • 5mm Nichia NSDW570GS-K1 LED (what makes these special is the continuous forward current.
  • 180 Ω 1/2W Resistor
  • 5mm LED holder (chrome plated steel)

LED in holder, now with wires on it:

Current limiting resistor installed:

The fiddly bit:

DONE!

I only slightly doctored the above photo

Well, actually not. I need to make 2 more of these and the Driver/Dimmer box.

4 Likes

Project Poster Light

Part 2

Switched the planned enclosure for a “half length” Euro-Card one, mainly because of space needs and heatsinking.
Layout:

I call this piece “Insecurity
It expresses the intense self-doubt of someone committing to an easy but time consuming task.

Layout has been decided:

1 Like

Project Poster Light

Part 3

Primed and with two coats of matt black:

The three of them side by side:


The matt black makes these incredibly sexy to look at, and absolutely terrible to take photos off.

Fully equipped with the “electronics”:


Them having a local current limiting resistor means any 12V DC system can power these. I may make some sort of cover for the back of the barrel jack and wires going into the tube.
I have 9.5mm black heatshrink, which obviously is the size below the one that would fit… Well F***

3 Likes

DC-DC Converter module Test

Was planning on using Traco TBA2-series DC-DC converters for some Op-Amp involving application. They are neat little bricks that need basically no supporting components, and provide electrical isolation while doing it!

According to spec, it does ±3% Vout and 120mV pk-pk Ripple.

No Load ripple:

At 55% load (90mA):

At 97% load (160mA):

And here is Ripple and Voltage over various loads (in mA):


[Edited: Fixed Axis Colors]
At no load, you get >20V out of this thing. Which may or may not kill whatever downstream component you have there. I would suggest putting a Zener and resistor to put it into the 10% load range when “idle”.

Output voltage deviation and Load (both in %) below. Spec sheet claims ±3% at 80% load. I am not seeing how to achieve that number, but half the time, it is in spec.

My data taken from a sample size of 2:
image

Conclusion
In practical terms, for more complex tasks than powering a motor or some lights, you need a Linear Regulator to clean up that dogs breakfast of ripple and voltage droop.
Trouble with the trusty LM317 behind this is the need for ≥3V voltage drop over the linear regulator, so in my case, I need a 15V output model instead.
Overall and for the price (4.40€), I rate these Meh out of 10.

Potential use case
USB to PC-Fan adapter. Looks janky, works well though.

3 Likes

Project Poster Light

Part 4

3 Drop-Cables made, these run from the lamps down to the “power cord”. 5.5x2.1mm barrel jack to Molex Micro Fit aka Fan connector. And yes, they are pin compatible :smiley:

Cable in use is LAPP LIYCY 3x 0.25mm² because I ordered 50m of it at some point and have to find uses for that huge spool…
Preparation:

Shield and foil out of the way:

Piece of heatshrink to hold the shield out of the way. Else you will stick fine wire into your finger tips. Ask me how I know!
Tinned and ready for soldering:

In this case, this is a splice point:

Rinse and repeat until distribution loom complete:

This concludes the wireing for now. Until I get the Powerbox for this setup complete, I will run the lamps of my small bench PSU.


Reasons&Ramblings
The cable being 3 conductors + shield opens up the question why I didn’t run a dedicated conductor per lamp and used the shield as return. Simple answer: I can not solder to aluminium.

Funny side effect of me running 12V and Fan-header layout: I have probably made the worlds longest fan extension cable here.

Due to a Speadsheet error, the lamps are currently running at 50mA of an allowed 80mA continuous. I may change the 180Ω resistors for 120Ω in the near future.

3 Likes

TRRS-Ampy

A friend of mine is using a TRRS-connected headset. While the quality is good, the volume is just too low.

Feature List:
brackets mark optional features

  • USB powered (= 2.5W power draw limit)
  • Mic Preamp
  • variable gain
  • selectable bias voltage (3.3 and 5V)
  • (variable feedback)

  • (HP-Amp)
  • (Variable Gain)
  • Nice enclosure!!! no cardboard engineering!

First idea sketch:
Darkmode friendly, but not for the faint of heart, and mouse drawn!

Easy first:
I/O: TRRS jacks for easy connecting, I will likely put TRS jacks in parallel for pure Headphone amp use. USB Mico/Mini/B and likely a barrel jack (5.5x2.1mm) for power in. End of the easy part.

Boosting low-level signals is pretty easy, thanks to the NE5532 Op-Amp. I am going to use half of it as a unity-gain buffer and then boost that using the other half of it. I have seen this set up in cheaper commercial Mic-Preamps, so should work for me too.

To make this not look janky, I will probably stuff this into a Fischer or Hammond enclosure.

The harder parts:

  1. Elektret mics need some bias voltage. Ask 10 people on how much they need and get 11 answers. I personally had good luck with 3.3V and 5V in the past, see here for a successful implementation.

  2. Since I have bias-voltage and a DC-coupled amp section, I need a capacitor (or transformer) to only get the AC (= audio). Again, the internet has n+1 opinions on the type and value of this coupling cap…

  3. Power availability. Since I want this to run of USB 2.0, I am looking at 5V @ 500mA (= 2.5W). Via barrel jack, I could go higher, however nobody wants another power brick.
    In case someone here knows what I need to do to pull 900mA the USB 3.1 Gen 1 spec allows, let me know!

The Impossible Guesswork and Prayers part:

  1. Power. For the Op-Amps to do their work correctly, they need clean power and higher-than-USB 2.0 voltages. My previous experiment with a Traco TBA2 0512 revealed, noise and ripple straight from hell (could add Wifi to make it worse :thinking: )
    So I need decent filtering after it, then linear regulators to get the ripple and voltage droop smoothed out. The light blue part in the scribble above has multiple caps and a pair of inductors in it, not sure if that is enough though!

  2. Audio, for the headphones. I intend to make this easy and just use a single NJM 4580D Op-Amp. These served me well for experiments and projects in the past. The main problem is: I have no idea what the notebook or USB-Dongle throws out. May be ground referenced, may be floating, no clue. How do I make sure this does not go wrong?

  3. Ground and shielding. This will be a nightmare. Since USB is noisy, and potentially running of a laptop (floating) and I need DC-DC boost conversion, I will have multiple ground levels to deal with. Does anyone know what to do here? Just high-impedance DC-path? Or Low-Pass filters connecting all ground levels?

4 Likes

Project Poster Light

Part 4.1

Put in some effort and time to create the lamps in Solid Edge (because Fuck Autodesk and their everchanging licenses for F360!)

Needs some more polishing, but:

image

2 Likes

TRRS-Ampy

Part 2

From last time, the Feature list has been more or less met:

  • USB-Power for 3.2 Gen 1 seems to be 5V at 900mA (= 4.5W). So I decided to bump the DC-DC converter up to a 3W unit (the one in the schematic below is a placeholder).
    Since my last dance with a DC-DC module, I do not trust their ripple and noise specs anymore. As such, I designed A LOT of filtering in there (filter before DC-DC should be 70 Hz Low-Pass, the one after DC-DC at 230Hz with the choke providing near max impedance at the switching frequency of the converter).
    Linear regulators after DC-DC because I need the cleanest power!

  • The Mic-Pre consists of unity gain buffer followed by to-be-tested gain stage and then the output volume pot.
    Phantom power will be 3.3V (fixed) and adjustable internally.

  • Added bypass-switch for the internal headphone amp.

Will sanity-check the schematic and BOM tomorrow, then hit that order button!

2 Likes

I’ve had a quick look over the schematic, looks pretty reasonable. Although… Who in their right mind draws schematics from right to left?!

May I ask what the reasoning behind that is? Why not just use the non-inverting amplifier without the buffer since it already has a high impedance input?

That direction is inherited from the initial scribble. And since the “User interface” is on the left, it is kinda left to right :wink:

I don’t know! Please don’t hit me!

No clue. This is my first time handling mic-level inputs. I read over here that the NE5534 may work well for this use. Since part cost is so low, I may just attempt both.

2 Likes