Wednesday, 4 December 2013

Bad Trimmer Pot


The other day I was setting up one of my new controller boards; and part of that process involves turning the trimmers to their maximum anti-clockwise position.

Once the board was powered up, this one particular trimmer which was used to trim the LCD contrast didn't seem to make any difference when adjusted; So I knew instantly the trimmer was at fault so I just replaced it with another and it worked perfectly.



The problem seemed to be that when I initially quickly adjusted it to it's maximum anti-clockwise position, the wheel gear cog must have gone too far, and then wouldn't re-engage;  I've never experienced this before but might be something to bear in mind;  luckily for me the LCD contrast made the screen visible; but had it failed in the clock-wise direction of turn - the LCD would have been blank! and I would have certainly had to fire-up the scope to find out what was going on.

Below are a few pictures of the offending trimmer pot which I cracked open with the side-cutters;  I managed to break a leg off it in the process but interesting to see how it's constructed.





Thursday, 7 November 2013

Korg A5 Repair

I bought this from Ebay, and it was sold as Spares Repair.

After powering up there was no response from the unit; after checking the power rails there was no power getting to the 7805 5 volt regulator. I found that one of the input jack terminals had completely broke the copper track it was soldered on to.








I removed the solder from the bad pin; the broken track just fell away leaving the bare board around the pin.









I
I soldered on a wire link to bridge the gap where the track was missing.
Then I cleaned the main PCB board,  including all the switches and pots.













One of the switches showed a lot of corrosion; perhaps something was spilt onto the board through the stomp foot pedal at some point.

After I checked the switch it turned out to be faulty;  but luckily I had some old keyword switches lying around;  the keyword switch was a perfect replacement, and soldered directly in;  the only problem was - it was the wrong height!  so I ended up cutting a small piece off a spare rubber foot that had adhesive attached, and that seemed to do the trick very nicely!





So after that I put it all back together and powered it up it worked fine;  I noticed the input jack wasn't great, so I will replace that with some spare ones when I get a spare minute.





I found a spare minute to change both the guitar input jack and the output jack;  the input tab had broken, hence the bad connection, and the output had partially broke;  I also added some "hot-snot" glue to help reduce any jack movement.




Saturday, 31 August 2013

Low Cost 8 Channel Logic Analyser

!!! Since this was posted I've learned that these cheap logic analysers are basically copy-cat rip-off hardware labelled up to look like they are made Saleae;  these aren't by Saleae!  If you're looking for a decent low cost logic analyser with superb software check-out the proper Saleae ones.





Quite a small compact little unit. It's rather cheap looking but I wouldn't expect too much for the price.



Hooked up and ready to capture some data.





Capturing a short burst of I2C data from the uC to the 24LC512 chip.




This was my first experience of a capture of my I2C signal from my board;   it looks ok, although I can't pass much of a judgement on this unit until I've used it a bit more; but on first impressions - it looks pretty good value for money!

Wednesday, 14 August 2013

Basic Transistor Amplifier

The other day I decided to try and build a simple one transistor amplifier.



This is the circuit; and the transistor used was the BC546A.




I input a 20mV 10KHz sine wave test signal to the the input stage of the transistor amplifier.









This shows the original signal (top) and the amplified signal (bottom).
The input measured ~20mV and the output measured ~1.75V according to the scope.

Playing with a MAX6126 Voltage Reference


Recently I picked up some cheap MAX6126 chips from Ebay;  this is the Maxim blurb about them..

"Ultra-High-Precision, Ultra-Low-Noise, Series Voltage Reference Features 3ppm/°C (max) Temperature Coefficients and an Excellent ±0.02% (max) Initial Accuracy"
I created a simple layout and etched it on a board;  I should have added some caps as per the datasheet specifications and the long breadboard wires I suspect didn't help either!

Anyway when I applied some power and measured it with my recently calibrated bench meter it was really quite good;  the ambient temperature effected the readings slightly; as it showed ~2.048v when it was ~22°C - but if it was >22°C,  it tended to drift slightly below.






One thing it did prove; and that was that my other two DMM's that I suspected were slightly out - were indeed not as accurate as I had previously thought!

I have quite a few of these little chips left so I plan to see if I can create a more temperature stable version that I could use in another project.




A few days later I knocked up a little circuit on a breadboard that I plan to use to stabilize the voltage reference temperature; this might give me a reading that is more independent of the ambient room temperature.

The picture below shows the circuit setup on the lower part of the breadboard.  The LED is just hooked up as an indicator to show the cutoff point at which the transistor turns off.

What you can't see in the picture is me holding a hair dryer above the probe and thermistor; when the temperature reached about 41°C, the LED is beginning to switch-off.




























At ~42°C the LED is very weakly lit;  this should give me a good starting point of the POT trim setting when I come to add the circuit to a little container.





I might keep the LED as an indicator on the final circuit;  but I plan to add some low ohm resistors and then drive them quite hard in order to generate some heat to warm a suitably small thermal chamber.