skip to main |
skip to sidebar
Before I went any further, I wanted to test the opto circuits I'd built, so I needed to know which pins were which on the RJ45 connector. I used this, which was the clearest description I found, with a nice easy diagram - so looking at the RJ45 jack socket on the board, with the board the right way up, the pin on the left is 1.
According to the circuit info. in the assembly instructions, pins 4 and 5 are connected together, and this is where the +ve end of my 5V power supply had to be connected, and pins 7 and 8 are connected together, GRND, and this is where the -ve end had to be connected.
Below is a photograph of my testing set-up, using 3 D cells (giving approx. 4.5V) and some alarm wire all blu-tacked together. It took some fiddling to get continuity; too much blu-tak insulated the alarm wire strands!
I stood the battery-tower up and wedged it inside a perfectly-sized cardboard box to hold it all together better. Here is a photo' of the circuit board with its optical sensor blocked with some folded corrugated card (the wire in the foreground is not actually making contact yet) , and below that a photo' with the LED lit. 
Believe me, holding the wires to get this working whilst taking a clear photo' was no mean feat!
Hoorah! All 3 circuits work as hoped, with the LED lighting when the sensor is blocked, and going off when unblocked. I am delighted! My first ever soldering was a success!
Some photographs:
here are all the packages required for the opto endstop board laid out,
and here are the individual components placed around the bare board,
and here are the undersides of the three finished items
I know the photo' is poor, what with being blurred and having terrible reflection off the auto-flash, but you can just about see the scorch mark at the resistor on the first one I did (on the left), before I swapped to a finer tip on the soldering iron.Now I need to determine which connectors are what on the "ethernet" socket and get myself a 5V power source to check all the opto endstop boards.Here is a better photo' (new batteries in the camera, daylight (of sorts)) showing the first board:
The slight scorch-mark is (on the middle resistor) just above and to the right of the central fixing hole..
I have started assembling and soldering the first opto endstop. These boards are made solely with through-hole components. My first soldering atempt on this PCB left a scorch mark on the board - note Nophead's comment about how the solder pads on the board could do with being bigger.
So I switched off the soldering iron, let it cool and swapped for a finer tip. I'm glad I had bought a set of tip replacements for my iron.
When I got to the LED, I had to ask on the forum what the instructions meant for how to get the orientation correct. The phrase was "Insert the short leg (negative) into the hole closest to the flat side of the silkscreen" - I don't know what that means, nor what a silkscreen is, in this context!
The replies came back that "silkscreen" means the diagram printed on the board (if only they'd written "diagram" instead) so the "flat side" refers to one side of the LED's almost circular diagram, ie the picture isn't completely round - there is a subtle flattening on one side. I'm hoping not all boards are so subtle....
Further information came back that I should not assume that the short lead on the LED is the negative one - it isn't universally true! But that this can be checked by using the lowest resistance range on a multimeter, and touching its black lead against the short LED lead (and the red against the other), causing the LED to light up if the short lead is indeed the negative one.
However, I found this didn't work..... but I found that it did work if I used the triangle (now I know it means a diode) symbol on the multimeter. I only considered trying this setting because I had earlier seen the triangle symbol, labelled LED1, on the circuit diagram for this board.
Looking at information on multimeters, I found that a digital multimeter may not have the right resistance range to check diodes, hence the separate diode-testing setting.
I shall have to try to remember this test before connecting up my other brand LEDs.
My first soldering looked (generally) O.K. on the rear of the board, ie the solder itself looked fairly shiny (I'm using lead-free solder, which doesn't make as shiny a join as the traditional leaded type), concave, although not exactly neat, but it looked dull on the top, and I had used too much solder in places. As far as I can tell, there is, unfortunately, no way of checking the finished board independently of any other boards.
Well, I never did get started on the soldering. Finally we had a dry morning today, so I sorted out the soldering iron - it went outside for a smoke! It took 5 to 10 mins to clear it.
I tried to fit the first resistor into the opto endstop board, starting with one lead and then trying to manipulate the other lead into the right orientation to insert that one through its hole, too, but found that was nigh on impossible - I was in danger of damaging the lead/s. I've been trying to look up better techniques, which turned out to be a difficult task. There is precious little information out there, as everyone starts from just using the soldering iron! It occurred to me that I can't be the only person who doesn't know how to do this.... I did find some in the end.
I've also been refreshing my soldering knowledge, so I have written my own "how-to", starting from absolute basics for those who are utter novices as I am. I shall amend as I go along, and put the tutorial up on the blog when I'm sure I've got it right.
Maybe I'm actually ready to start now.
(anyone fond of motor racing will know what my heading means) - false start!
My solder, yes SOLDER, arrived in today's post. So, naturally, I thought I'd have a go.
Oh-oh. As soon as it started heating up, my brand spanking new soldering iron smoked rather more than I expected, and as I was planning to practise soldering (why do the American videos all say what sounds like "soddering"?) in the room housing my stick insects, and stick insects being sensitive souls when it comes to aerosols, vapours, and smoke, I have unplugged and opened the window. I shall have to set up elsewhere until the iron no longer smokes so.Guess what I'll be doing this bank holiday weekend?
The good folks at Farnell, bless their little cotton socks, had refunded £20.75 straight onto my credit card (but fogot to tell me!). They didn't have to do this, as it was my error in the first place, so I am very grateful.
I have now ordered, from Farnell, as it only seems right, some solder wire and solder paste. I'm going for lead-free as an environmental sciency person.
Farnell (second) sub-total £19.26
- solder paste, lead-free, no-clean, 5 ml, 10 g, manufacturer: Edsyn, part number 1521898, £16.11
- solder wire, lead-free, 0.7 mm, 2 m, manufacturer: Multicore, part number 9887105, 64 p.
When it comes to adding the costs of everything, I can take off £20.75 for the Farnell refund, but add £1.62 it cost me to post the extraneous parts back!Back on 11th June, the costs had reached £262.88, excluding a set of washers and screws from B&Q, and the welding tips that got missed off, at £2.
Then on the 21st July came the first Farnell order (less the refund now received), £72.08
and the subsequent return postage of £1.62
the RapidOnline order £12.35
the RS order (less the solder paste refund now received), £3.59
the Maplin further order (including 2 LEDs now not needed) £1.99
today's Farnell second order (as above) £19.26
so the running total now stands at a whopping £375.77I probably wouldn't have started if I'd thought I'd be spending this much, but hey, still having fun, and it's giving me something unusual to talk about at weddings!
It took a while, but today I received my cheque from RS after the solder paste debacle. I have had no word from Farnell about my refund/credit there (after my over-order error), but I've not checked with my credit card people, and it is possible that my credit card account has been refunded.I want to start assembling my electronics, but everything is currently on hold. Patience, I hear you cry!