Do you have a data sheet for the actual part? That is the easiest, as it then has the sizes and dimensions needed and connector layout.
Switches come in infinite variety, the parts db has some common examples, but no where near all of them. If you have a part number a google search of the form “fritzing part part-number” will find out if someone has already made a Fritzing part.
by the way … do you have the possibility, p.ex. from a board (with other electronic components), to separate one single component ?
if so, than it seems, that on the L298N-board is the quad pushbutton i like …
i put in the searchbox ‘L298N’ … only one part hass been displayed …
Will that do what you want? If not it is easy enough to modify the current 2 wire part to 4 wire, I just need to find something with a mechanical drawing to get the pcb footprint right (the amazon site doesn’t have any mechanical information.)
hm, you mean the internal ‘wirering’? it’s not difficult:
there are two pairs of pins, that means that two pins are connected with each other.
let number the pins started left top with #1, then clockwise …
in your picture the pins #1 and #4 use the same line, #2 and #3, too
so there are 8 possibilities for connecting:
1 pos
2 or 3 gnd
2 pos
1 or 4 gnd
3 pos
1 or 4 gnd
4 pos
2 or 3 gnd
and with a look on top, you don’t see the connectorpins, hmm, maybe a little bit …
if this would help …
but i’m still looking after a technical document …
Both the internal wiring (which is likely identical to the tactile switch) and the position of the pads and where they connect in pcb view. For a proper part all of those things need to be correct. For the tactile button that means this:
In breadboard these two pins are connected together:
except in pcb we also need to know the spacing between the pads and the size of the holes in the pads to get the pads correct. Usually a data sheet somewhere (not usually on amazon though!) will have that information and we need to find it to make a proper part.
datasheet
seems that my modifikation did change the distance between the pads …
but could you please place the pads for the general 2.54mm raster ?
i need some space on the breadboard …
It is possible to have different spacing for the PCB and breadboard views. This is done for «at least» cases where a THT part, or SMD carrier module is used for the breadboard, but a discrete SMD part is used for the PCB.
So, breadboard could be set to the standard 0.1in spacing (to be able to place on a breadboard in Fritzing), but the PCB view could be set to the ‘real’ dimensions from the data sheet.
hi peter,
well done … unfortunately, this does not solve my problem either, because the button also extends over 3x4 rows/columns, and can therefore ‘only’ be placed vertically over the ‘trench’ (columns E to F).
maybe i fell short of the norm by straightening it and bending it a bit inwards, maybe. this does not detract from the functionality.
Since there is generally little space on the breadboard, I need a button that only extends over 3x3 rows/columns, so that I can also use it ‘vertically’ - which is no longer available in that sense - (columns I, G and B, D) … so I still have one column on each side for the connections …
the bottom line is that this component would probably be below the norm, but who cares ?
you can bend the pads a bit in the real world…