Electrònica / Electronics
Seccions d'aquesta pàgina 14
01General#
- Electricitat / Electricity
- ePanorama
- PCB production
- Electronics Club
- Soldering is easy (comic)
- Electronics for model railways (MERG)
- Locoduino
- Learning about electronics
02Botigues / Shops#
- Diotronic
- Radio Watt
- Onda Radio
- Conrad (de)
- RS Components (es)
- Farnell Element 14 (es)
- LCSC
03Components#
- Components (Electronics Club)
- Codi de colors (wp)
- Resistència / Resistor
- Valors
- 560R = 560Ω
- R47 = 0.47Ω
- 47R = 47Ω
- 3R9 = 3.9Ω
- 2k7 = 2700Ω
- 1M2 = 1.2MΩ
-
multi
tolerància
0
negre
×1
1
marró
×10
2
vermell
×100
±2% 3
taronja
×1.000
4
groc
×10.000
5
verd
×100.000
6
blau
×1.000.000
7
violeta
×10.000.000
8
gris
×100.000.000
9
blanc
×1.000.000.000
daurat
±5%
argent
±10% Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
-
E3
E6
E12
E24
E48
E96
E192
±20% ±10% ±5% ±2% ±1% ±0.5% 10 10 10 10
11
12 12
13
15 15 15
16
18 18
20
22 22 22 22
24
27 27
30
33 33 33
36
39 39
43
47 47 47 47
51
56 56
62
68 68 68
75
82 82
91
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- Valors
- Condensador / Capacitor
- Valors
- Ceramic Disc Capacitor Values / Code / Label
- Capacitor Kit Identification Guide
- <1st_digit><2nd_digit><exp> pF
- Exemples / Examples:
- 104 = 10*10^4 pF = 100000 pF = 100 nF
- Valors
- Díode / Diode
- extrems
- +, ànode / anode: triangle, connectat al positiu, a, +, costat rodó, pota llarga
- -, càtode / cathode: ratlla, franja negra, connectat al negatiu, k, -, costat pla, pota curta
- LED
- LED
Series
Resistor Calculator
-
resistor
3,3V
5V
infraroig
vermell
1,73V
groc
1,82V
47Ω verd
1,84V
blanc
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
-
- LEDnique
- LED
Series
Resistor Calculator
- extrems
- Transistor
- ...
- Rectificador / Rectifier
- Fritzing
- B250R
- ...
- Regulador de tensió / Voltage
regulator
- ...
-
pinout
V A
78L05 5V 100mA out c in 78M05 5V 500mA in c out 7805 5V 1A in c out Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- ...
04Circuits#
05Electrònica de consum / Consumer electronics#
06Mesures / Measures#
- Font d'alimentació / Power supply
- Siglent
- SPD1305X
- 30 V / 5 A
- ...
- Documentació
- Control remot / Remote control
- LabView (National Instruments)
- VISA
- SCPI commands
- connection
- interactive ncat (no prompt)
$ ncat -C 192.168.0.134 5025
*IDN?
Siglent Technologies,SPD1305X,...
- non interactive ncat
echo "*IDN?" | ncat 192.168.0.134 5025
Siglent Technologies,SPD1305X,...
- lxi
- lxi
scpi --address 192.168.0.134
--port 5025 --raw "*IDN?"
Siglent Technologies,SPD1305X,...
- lxi
scpi --address 192.168.0.134
--port 5025 --raw "*IDN?"
- interactive ncat (no prompt)
- List of SCPI commands: 3.4 Command
description on SPD1000X
Series UserManual
command description returns *IDN? *IDN?
*SAV
*SAV <name>
*RCL
*RCL <name>
INSTrument
INSTrument <CH1>
INSTrument?
MEASure
MEASure: CURRent? <CH1|CH2>
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- connection
- SPD1305X
- Siglent
- Multímetre / Multimeter
- Promax
- PD-352 (TRMS, Bluetooth)
- Promax
- Generador de senyal / Signal generator
- Oscil·loscopi / Oscilloscope
- oscopes.info
- Osciloscopio.com.es
- Recommendations for an Oscilloscope
- 12 THINGS TO CONSIDER WHEN CHOOSING AN OSCILLOSCOPE
- Oscilloscope for ham radio & electronics, DS1202Z-E and SDS1202X-E questions
- Precision in under 10 minutes – How to use an oscilloscope (Rohde Schwarz) (yt)
- Rigol Siglent SDS1202X-E vs Rigol DS1202Z-E
-
screen
USB
LXI analogue channels
analogue bandwidth digital channels
samples/s
sampling
memory depth
other
programari
preu
DSO
Nano v2
Nano v3 (*) DSO201
2.8" color 320x240
x
1
200KHz
1Ms/s 12bit
6K
signal generator
85€ DSO211 (2017)
8K
DSO202
DSO212
DSO203
4
Velleman
HPS140
x
1
10MHz
40Ms/s
HPS50
x
x
1
12MHz
40Ms/s
249€
Bitscope
Micro BS05
-
x
2
20MHz
6
40Ms/s
waveform, clock generators
BitScope DSO, Logic
(Windows, Linux, Mac, Raspberry Pi)
44,24€+IVA (BS05U) / 39,38€+IVA (kit BS05P) / 133€
Mini BS10
-
x
2
100MHz
8
40Ms/s
waveform generator
245$
BS120
465$
DPScope
DPScope
-
x
2
1.3 MHz
1Ms/s
(20Ms/s)
Windows 2000, XP (SP3), Vista, 7 59€
DPScope SE
-
x
2 + trigger
300 kHz 4
50ks/s
(2Ms/s)
Windows 2000, XP (SP3), Vista, 7 34€
FNRSI DPOS350P 7" (1024x600) IPS touch x
2 350 MHz
1Gs/s 47Kpts 200k~350MHz spectrum analyzer, 50 MHz frequency response analyser, 50 MHz signal generator
50,000 wfm/s
248,95€ Rigol (eu) (int) (YT)
DS1052E
5.7" color
50MHz
1Gs/s
1Mpts
394$
DS1102Z-E 7" (800x480) TFT x x 2 + ext trigger 100MHz
1Gs/s 24Mpts
261,97€, 246,33€ (+transp) DS1202Z-E 7" (800x480) TFT x x 2 + ext trigger 200MHz
1Gs/s 24Mpts 30,000 wfms/s, 60000 frames, decode: Parallel, RS232/UART, I2C, SPI
355,81€, 355,81€ (+transp), 376€ (299€+IVA+transp) Siglent SDS1202X-E (eevblog) (YT) 7" (800x480) x x 2 + ext trigger 200MHz
1Gs/s 14Mpts 256 level intensity; 400,000 wfm/s; 80000 frames;
1Mpts FFT; decode: IIC, SPI, UART, RS232, CAN and LIN (additional decoding using sigrok?); LAN: VXI-11 + SCPI, telnet 5024 + SCPI, socket 5025 + SCPI- LXI
403€, 410€ (339€+IVA) Owon
8" (800x600) x x 2 + ext trigger 100MHz
500Ms/s 20M 55,000 wfms / s
381€ Hantek DSO5102P
x - 2 + ext trigger 100MHz
1Gs/s 40K
251€ DSO5202P 7" x - 2 + ext trigger 200MHz
1Gs/s 40K
345€ Link Instruments MSO-28
- ...
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- Siglent
- SDS1202X-E
- Documentation
- Control remot / Remote control
- SCPI commands
- comunicació / communication
- using telnet/ncat
ncat -C 192.168.0.128 5024
Welcome to the SCPI instrument 'Siglent SDS1202X-E'
- using sockets (see "Examples using
sockets" in Programming
Guide PG 01 E 02 C)
- Python
- ...
- Python
- using telnet/ncat
- llista
- ...
- comunicació / communication
- SCPI commands
- SDS1202X-E
- DIY
- Targeta de so / Sound card
- PiScope
(Raspberry Pi Based Oscilloscope)
- Alternative list
-
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- DSO Nano v3
- minidso.com
- DSO
Nano v3 (Seeed)
- DSO_Nano_v3 (GitHub)
- Documents
- DSO_Nano_V3_User_Manual.pdf
- Example 1: measure simple signal
- Example 2: measure with cursor
- Example 3: save waveform image
- Example 4: acquire single signal
- Example 5: compare waveform signals
- Wiki
(outdated)
- Resources
- DSO_Nano_V3_User_Manual.pdf
- Buttons
- A, Run/Stop, ▸||
- B, Quick Adjust
- Menus
▲▼ ◀ ▶ Vertical axis
Yn
Y Ranges
10mV..10V
ProbeAtt
- x1
- x10
FitRange
- (empty)
- F: auto adjustment
Y Offset
move white dotted horizontal line
CursorV1
move white dotted horizontal line (V1-V2 shown at left bottom as delta) CursorV2
move white dotted horizontal line Hide_Vn_
hide V1, V2
Horizontal axis
Xn
TimeBase
1us..2s
Fit Base
- (empty)
- F: auto adjustment
ViewPosi
move horizontal window (bottom)
SmplDpth
internal storage depth: 1K, 2K, 4K, 6K
CursorT1
move white dotted vertical line (T2-T1 shown at left bottom as delta)
CursorT2
move white dotted vertical line Hide_Tn_
hide T1, T2
Trigger
Tr
SyncMode
trigger
display waveform
synchronization
example application
AUTO
yes
always
yes
general use
NORM
yes
only from triggered
yes
only watch periodic signals
SINGL
yes
only from triggered
auto-hold
capture a random pulse
SCAN
no
always
no
keep monitoring signals
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
TrigMode
- ↑: rising edge
- ↓: falling edge
Auto Fit
- F: auto adjustment
Threshol
move green dotted horizontal line
Sensistiv
horizontal triggering range: ±400mV..±39V
Hide_Tri
hide trigger line
Measures
Me
Freq
signal frequency
Duty
duty factor
Vrms
voltage effective value
Vavg
average value of voltage
Vp-p
peak-to-peak voltage
Vmax
maximum voltage
Vmin
minimum voltage
External
Ex
Ext Refn
2 waveforms operation (Inp: current waveform; D/Data: previously saved waveform):
- -Inp
- Data
- -Data
- Inp+D
- D-Inp
- Inp-D
- Off
Ext Posi
move up/down resulting waveform
File
(press A to execute;
internal disk has 2MB capacity;
must remount USB storage to see the files)
Fn
Save Bmp
save bmp file to the built-in U disk: increase/decrease starting index (IMG_xxx.BMP) (image)
Save Dat
save dat file to the built-in U disk: increase/decrease starting index (FILExxx.DAT) (binary)
Save Buf
save buf file to the built-in U disk: increase/decrease starting index (DATAxxx.BUF) (binary)
Save Csv
save csv file to the built-in U disk: increase/decrease starting index (DATAxxx.CSV) (text)
Load Dat
load dat file from the built-in U disk: increase/decrease starting index Load Buf
load buf file from the built-in U disk: increase/decrease starting index Signal generation
Sn
Out Ferq
signal output frequency: FO 10Hz..1MHz
Out Duty
signal output duty factor: 10%..90%
Calibration
Ca
Cal Zero
calibration without voltage
CalRange
calibration with voltage
Restore
master reset
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- Files
- Plot CSV file using gnuplot
- plot_csv.sh
#!/bin/bash
csv_path=$1
# remove first line
csv_path_wo_header=$(mktemp)
tail -n +2 ${csv_path} >${csv_path_wo_header}
# create plot file
plot_path=$(mktemp)
cat >${plot_path} <<EOF
plot "${csv_path_wo_header}" with l
EOF
# plot 2d graphic
gnuplot -p <${plot_path}
exit 0
- plot_csv.sh
- Plot CSV file using gnuplot
- Comunicació /
Communication
- LXI
(LAN eXtensions for Instrumentation)
- telnet
- discover the ip address (e.g. with:
lxi discover) telnet <oscilloscope_ip_address> 5024*IDN?C1:VOLT_DIV 2V- ...
- end connection:
- Ctrl + ]
- quit
- discover the ip address (e.g. with:
- sigrok
- lxi-tools
(Linux)
- Features:
- Automatically discover test instruments on local network via VXI11 or mDNS
- Send SCPI commands and receive responses
- ...
- Installation from source
- libxli
- dependencies
- Mageia
sudo dnf install mesonlib64avahi-client-devellib64tirpc-devel ...
- Mageia
git clone https://github.com/lxi-tools/liblxi.gitcd libxli- v2.x
- install meson from python
environment, as meson provided by
Mageia is too old when installing
lxi-tools
virtualenv envsource env/bin/activatepip install meson
meson buildmeson compile -C buildmeson install -C build
- install meson from python
environment, as meson provided by
Mageia is too old when installing
lxi-tools
- v1.x
./autogen.sh./configuremakesudo make install
- ldconfig
sudo sudo sh -c 'echo "/usr/local/lib64" >/etc/ld.so.conf.d/local.conf'sudo ldconfig
- dependencies
- lxi-tools
-
version build notes v2.1 - meson --reconfigure build
- meson compile -C build
- meson install -C build
ok (previous modification of src/meson.build) - meson --reconfigure -Dgui=true build
- Dependency glib-2.0 found: NO found 2.66.8 but need: '>= 2.70'
v2.0
v...
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- dependencies
- Mageia
sudo dnf install lib64readline-devel lib64lua5.3-devel lib64qt5charts-devel lib64cairo-devel lib64pango1.0-devel ...
- Mageia
git clone https://github.com/lxi-tools/lxi-tools.gitcd lxi-tools- v2.x
- install meson from python
environment, as meson provided by
Mageia is too old (
Meson version is 0.56.0 but project requires >= 0.59)virtualenv envsource env/bin/activatepip install meson
- do not use master branch, at it
requires glib too new:
git checkout v2.1
- src/meson.build
- dependency('lua-5.3', required: true),
+ dependency('lua', required: true),
meson -Dgui=true buildmeson compile -C buildmeson install -C build
- install meson from python
environment, as meson provided by
Mageia is too old (
- v1.x
./autogen.sh./configure --enable-lxi-guimakesudo make install
-
- libxli
- Ús / Usage
- lxi
- detecció / discover
lxi discover- Found "Siglent Technologies,SDS1202X-E,SDS1EDEQ4R6xxx,1.3.26" on address 192.168.0.109
- Problemes / Problems
- no es detecta la font
d'alimentació
- Siglent SPD1305X no es pot descobrir, però s'hi poden enviar ordres SCPI directament
- no es detecta
l'oscil·loscopi
- cal obrir el tallafoc
111/udp
- cal obrir el tallafoc
- no es detecta la font
d'alimentació
- captura de pantalla / screenshot
lxi screenshot --address 192.168.0.128
- detecció / discover
- lxi-gui
- ...
- ...
- lxi
- Features:
- telnet
- SCPI commands
- Info
- Grammar
- set commands
TRIGger:MODe NORMalTRIG:MOD NORM
- query commands
*IDN?TRIG:MOD?
- set commands
- Commands
- general
- specific
- Siglent SPD1305X (power supply)
- Siglent SDS 1202X-E (oscilloscope)
- Comunicació / Communication
- telnet / ncat
(port 5024)
- check availability
ncat -vz 192.168.0.128 5024
Ncat: Version 7.91 ( https://nmap.org/ncat )
Ncat: Connected to 192.168.0.128:5024.
Ncat: 0 bytes sent, 0 bytes received in 0.02 seconds.
- interactive ncat
ncat -C 192.168.0.128 5024
- non interactive ncat
- echo
"*IDN?" | ncat -w1
192.168.0.128 5024
- echo
"*IDN?" | ncat -w1
- check availability
- socket (port 5025)
- check availability
ncat -vz 192.168.0.128 5025
Ncat: Version 7.91 ( https://nmap.org/ncat )
Ncat: Connected to 192.168.0.128:5025.
Ncat: 0 bytes sent, 0 bytes received in 0.02 seconds.
- interactive ncat
- not possible
- non interactive ncat
echo "*IDN?" | ncat 192.168.0.128 5025
Siglent Technologies,SDS1202X-E,...
- scpi_sockets.py (from SPD1000X
Series UserManual)
#!/usr/bin/env python
#-*- coding:utf-8 –*-
#---------------------------------------------------------------------------------------------------------
# Access the control device via Socket, send a command, read and print the return
#value.
#----------------------------------------------------------------------------------------------------------
import socket # for sockets
import sys # for exit
import time # for sleep
#-----------------------------------------------------------------------------
remote_ip = "192.168.0.128"
port = 5025
count = 0
def SocketConnect():
try:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
except socket.error:
print ('Failed to create socket.')
sys.exit();
try:
s.connect((remote_ip , port))
except socket.error:
print ('failed to connect to ip ' + remote_ip)
return s
def SocketQuery(Sock, cmd):
try:
Sock.sendall(cmd)
time.sleep(1)
except socket.error:
print ('Send failed')
sys.exit()
reply = Sock.recv(4096)
return reply
def SocketClose(Sock):
Sock.close()
time.sleep(.300)
def main():
global remote_ip
global port
global count
s = SocketConnect()
for i in range(10):
qStr = SocketQuery(s, b'*IDN?\n')
print (str(count) + ":: " + str(qStr))
count = count + 1
SocketClose(s)
input('Press "Enter" to exit')
if __name__ == '__main__':
proc = main()
- check availability
- telnet / ncat
(port 5024)
- Commands
- VISA (Virtual Instrument Software
Architecture)
- NI VISA (National Instruments)
- Download
- ...
- pyVISA
- Info
- Instal·lació / Installation
- Optional: install and activate a
virtualenv
virtualenv envsource env/bin/activate
pip install pyusb pyvisa pyvisa-py- lsusb
- Bus 003 Device 008: ID f4ed:ee3a Shenzhen Siglent Co., Ltd. SDG1010 Waveform Generator (TMC mode)
- /etc/udev/rules.d/70-siglent.rules
- #
SIGLENT SDS1202X-E
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="f4ed", ATTRS{idProduct}=="ee3a", MODE="0666"
- #
SIGLENT SDS1202X-E
sudo udevadm control --reload
- Optional: install and activate a
virtualenv
- Ús / Usage
python -m visa infopythonimport pyvisa
rm = pyvisa.ResourceManager()
rm.list_resources()
import pyvisa
rm = pyvisa.ResourceManager()
# connect to oscilloscope via LAN
sds = rm.open_resource("TCPIP0::192.168.0.109::inst0::INSTR")
idn = sds.query("*idn?")
idn
'Siglent Technologies,SDS1202X-E,SDS1EDEQ4R6xxx,1.3.26\n'import pyvisa
rm = pyvisa.ResourceManager()
# connect to oscilloscope via USB
sds = rm.open_resource("USB0::0xf4ed::0xee3a::SDS1EDEQ4R6xxx::0::INSTR")
idn = sds.query("*idn?")
idn
'Siglent Technologies,SDS1202X-E,SDS1EDEQ4R6xxx,1.3.26\n'
- ...
- NI VISA (National Instruments)
- ...
- Analitzador d'espectre /
Spectrum analyser
- ...
marca model pantalla usb freqüències generador preu Zeenko tinySA 2,8"
0.1MHz-350MHz (240MHz-960MHz) sine wave output for 0.1MHz - 350MHz and square wave output for 240MHz-960MHz
tinySA Ultra 4"
0.1-800MHz (ultra: 6GHz) sine wave output 0.1-800MHz or square wave up to 4.4GHz (up to 5.3GHz)
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- tinySA
Ultra
- Info
- tinySA (yt)
- Programari
- PC
control
- QtTinySA
- Dependències / Dependencies
- Mageia 9
- ...
- Mageia 9
- Instal·lació
git clone https://github.com/g4ixt/QtTinySA.gitpyenv virtualenv 3.10 qttinysacd QtTinySA
pyenv local qttinysapip install -r requirements.txt
pip install numpy PyQt5 pyqtgraph PyOpenGL serial serial-tool./QtTinySA.py
- Configuració / Setup
- afegiu el vostre usuari al grup
dialout (grup propietari de
/dev/ttyUSBxx) / add your user to group
dialout (group owner of /dev/ttyUSBxx):
sudo usermod -a -G dialout my_usernewgrp dialout
- afegiu el vostre usuari al grup
dialout (grup propietari de
/dev/ttyUSBxx) / add your user to group
dialout (group owner of /dev/ttyUSBxx):
- Ús
- ...
- Dependències / Dependencies
- ...
- QtTinySA
- PC
control
- Info
- ...
- ...
- Analitzador vectorial de xarxa / Vector network
analyser (VNA)
- Impedància / Impedance
- S-parameters
- Exemples / Examples
- Application notes for Bode 100 (Omicron Lab)
-
pantalla sweep rate sweep points descàrregues / downloads info Eleshop NanoVNA (Edy555) 50 kHz - 300 MHz
NanoVNA-H (Hugen) 10 kHz - 1.5 GHz 2.8"
101
45,45€ + IVA NanoVNA-H 4 (Hugen) 10 kHz - 1.5 GHz 3.95"
101
70,25€ + IVA LibreVNA
-
LiteVNA 62 50 kHz - 6.3 GHz 2.8"
95,04€ + IVA LiteVNA 64 50 kHz - 6.3 GHz 3.95" 480x320 >550points/s 10-1001 points (device)
1-1024 points (USB)LiteVNA
- LiteVNA_User Guide.pdf
- NanoVNA Saver Linux
132,23€ + IVA + ports = 176,94€ Siglent SVA-1015X 10 MHz - 1.5 GHz 10"
1359€ + IVA Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- Demo boards
- Programari / Software
- NanoVNA saver
- install
- from source
- NanoVNA-Saver/nanovna-saver
git clone https://github.com/NanoVNA-Saver/nanovna-saver.git
- NanoVNA-Saver/nanovna-saver
- from source
- setup
sudo usermod -a -G dialout myusernewgrp dialout
- ús
cd nanovna-saverpython nanovna-saver.py
- install
- NanoVNA saver
- Analitzador lògic / Logic analyser
- Maquinari / Hardware
- 10 Best Logic Analyzers
- sondes / probes
- based on Cypress FX2 (can use firmware fx2lafw
from Sigrok)
- AZ-Delivery
- KeeYees ...
- Programari / Software
- Logic 2 (Saleae)
- Sigrok
(open source)
- Hardware
-
type model driver interface device oscil·loscopi Siglent SDS siglent-sds - USB
- TCP/IP, protocol VXI
Siglent SDS1202X-E with 2 channels analitzador lògic AZ-Delivery Logic Analyzer fx2lafw - USB
Saleae Logic with 8 channels Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- Demo device
- ...
- Siglent
SDS
- no cal que l'oscil·loscopi ha de tenir l'opció d'analitzador lògic instal·lada (Siglent SLA1016 16 Channel Logic analyzer module + License key) per a poder exportar-ne les dades
- Siglent SDS1000X series
- Configure channels (red probe icon on top)
- Data source: display
- ...
- CH1 (label on left)
- Conversion: to logic via threshold
- Conversion threshold: signal average
- DCC (label on left)
- D0 (Data line): CH1
- AZ-Delivery Logic Analyzer
- lsusb
ID 0925:3881 Lakeview Research Saleae Logic
- /etc/udev/rules.d/99-SaleaeLogic.rules
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0925", ATTR{idProduct}=="3881", MODE="0666"connec
- connect from sigrok
- Connect to device
- Choose the driver: fx2lafw (generic driver for FX2 based LAs) (fx2lafw)
- Choose the interface: USB
- Scan for devices
- Select the device: Saleae Logic with 8 channels
- Connect to device
- lsusb
-
- Plugins
- setup
- SIGROKDECODE_DIR=...
- DCC
- sigrok-DCC-Protocoll
- ús / usage
- sampling rate >20kHz
- Decoder: Encoding -> DCC
- New View: Tabular Decoder Output View
- Show all and focus on newer
- ús / usage
- sigrok-DCC-Protocoll
- setup
- Frontends
- Instal·lació / Installation
- Linux
AppImage binaries
- PulseView
- sigrok-cli
- Building
from source
- Linux
- ...
- Linux
- Linux
AppImage binaries
- Example
dumps
-
git clone git://sigrok.org/sigrok-dumps
-
- Ús / Usage
- Getting started with a logic analyzer
- Using the USB Logic Analyzer with sigrok PulseView (Sparkfun)
- Siglent
SDS oscilloscope
sigrok-cli-NIGHTLY-x86_64.AppImage -d siglent-sds:conn=vxi/192.168.0.128 --show
- DCC plugin
- Logic Analyzer/Decoder (DCC++ EX)
- install sigrok-DCC-Protocoll
decoder:
cd /disc/srcgit clone https://github.com/littleyoda/sigrok-DCC-Protocoll.git- mkdir -p ~/.local/share/libsigrokdecode/decoders/
- ln
-s
/disc/src/sigrok-DCC-Protocoll/dcc~/.local/share/libsigrokdecode/decoders/
- install sigrok-dumps (samples)
cd /disc/src
git clone git://sigrok.org/sigrok-dumps
- start Pulse View
export SIGROKDECODE_DIR=~/.local/share/libsigrokdecode/decoders//disc/Baixades/PulseView-NIGHTLY-x86_64.AppImage- or extract files with:
/disc/Baixades/PulseView-NIGHTLY-x86_64.AppImage --appimage-extract
- check that decoder is visible:
- Settings (tools button) -> About
- Protocol decoder search paths:
- ~/.local/share/libsigrokdecode/decoders/
- Protocol decoder search paths:
- Settings (tools button) -> About
- select input:
- sample file:
- /disc/src/sigrok-dumps/dcc/easycontrol/...
- /disc/src/sigrok-DCC-Protocoll/samples/...
- oscilloscope
- ...
- sample file:
- activate DCC decoder:
- Add protocol decoder (green waveform
button)
- Encoding
- DCC
- Encoding
- Add protocol decoder (green waveform
button)
- Hardware
- Maquinari / Hardware
- Analitzador USB / USB analyser
- Programari
- fnirsi-usb-power-data-logger
- PC
- Android
- ...
- Firmware
-
marca model data Bluetooth LCD V A W
runtime record time review preu (no BT) (BT) FNIRSI C1
FNB48S (obert)
- 34,98€ (ae)
- 44,29€ (ae)
FNB48P
- no BT: gris fosc
- BT: blau
1.77" 4~24V 0~6.5A 0~156W 240MHz ARM CPU
M4F core
MPU+FPU+SDP~100days ~1000h
- 41,96€ (ae)
- 47,79€ (ae)
FNB58 (pdf)
- no BT: negre
- BT: plata
2.0" 4~28V 0~7A 0~120W
~100days ~100days
(2400h)- 46,41€ (ae)
- ...
- 51,68€ (ae)
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- Programari
- Analitzador RF
- Flipper Zero
- ...
- ...
07Microcontroladors / Microcontrollers#
- Microcontroller (wp) < System On Chip < Computer
-
Programació / Programming
memory
timers
digital communication peripherals
language
IDE
família
subfamília
model
CPU
flash program
SRAM
data
EEPROM
8-bit
16-bit
comparators
UART
SPI
I2C
I/O
used by
Arduino
- C
USB to serial (FTDI)
USB to serial (AVR)
ARM Cortex-M
Microchip Atmel (wp)
- C / C++
ATtiny
ATtiny25
AVR RISC
2KB
128B
128B 2
-
1
-
1
1
5 PWM
ATtiny45
AVR RISC 4KB
256B
256B 2
-
1
-
1
1
5 PWM
ATtiny85
AVR RISC 8KB
512B
512B 2
-
1
-
1
1
5 PWM
- AVR Studio (old)
- Atmel Studio
AVR (wp) 8-bit
ATmega8
ATmega168
- Arduino Pro
ATmega328 (wp)
32KB
2KB
1KB
2
1
1
1
2
1
- Arduino Ethernet
- Arduino Nano
- Arduino Pro
- Arduino Pro Micro
ATmega1280
ATmega2560
- Arduino Mega2560
ATmega32U4
RISC
32KB
2.5KB
1KB
2
2
1
1
2
1
- USB 2.0
- A/D 12-channel, 10-bit
- Arduino Micro
- Arduino Leonardo
32-bit
Microchip
- assembler
MPLAB-X
PIC (wp)
PIC10, PIC12
PIC12F629
PIC16
PIC16F84A
1.75KB
68B
64B
1
-
-
-
-
-
PIC16F628A
3.5KB
224B
128B
2
1
2
1
-
-
PIC16F648A
7KB
256B 256B 2
1
2
-
-
-
PIC16F690
7KB
256B
256B
2
1
2
1
1
1
PIC16F876
PIC17
PIC18
PIC24
PIC32M
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- Programació / Programming
- PIC ICD2 / Universal programmer seat / PiCkit 2 Programming adapter seat board (ICSP ZIF)
- Microchip PICkit
3
- MPLAB X - Using PICkit 3 In-Circuit Debugger Poster (pdf)
- PICkit
3
In-Circuit Debugger/Programmer User's Guide (pdf)
- LEDs
- POWER:
- green: power supplied via the USB port
- ACTIVE:
- blue: communication link is active
- STATUS:
- green: ready to start; successful completion
- orange: busy with a function in progress, e.g. programming
- red: an error has occurred
- POWER:
- Videos
- LEDs
- Adapter seat board:
- align MCLR (adapter) to triangle (PICkit3)
- to program a PIC16F628A
(DIP18)
- J1: B
- J2: 2-3
- J3: 2-3
- programming with MPLAB
- /disc/opt/microchip/mplabx/v5.00/mplab_platform/bin/mplab_ipe
- Settings / Advanced mode
- Power: check "Power Target circuit from Tool"
- Operate:
- Hex file: Browse (e.g. from POWS)
- Erase
- Program
- Verify
- Settings / Advanced mode
- /disc/opt/microchip/mplabx/v5.00/mplab_platform/bin/mplab_ipe
- IDE
- KTechLab
- MPLAB
- Baixada / Download
- Tab: Downloads
- Instal·lació / Installation
tar xvf MPLABX-v5.00-linux-installer.tarsudo ./MPLABX-v5.00-linux-installer.sh- by default, it will be installed in:
- /opt/microchip/mplabx/v5.00/
- Warning: You are using systemd.
MPLAB X IDE and IPE use systemd to handle USB plug and play events. They do this by using sockets as an interprocess communications mechanism.
Please make sure that interprocess communications under systemd are allowed in the local host. Some Linux distributions do not allow interprocess communications. For example, if the following option is set in the systemd-udevd unit configuration file:
IPAddressDeny=any
then MPLAB X communications library will not be able to handle plug and play events. You might need to create an override file containing this option:
IPAddressAllow=localhost - Extra
- Baixada / Download
08PCB#
- Programari / Software
- Fabricació / Manufacturing
-
ref origen / origin file formats preu
(2 layer)enviament / shipping Aisler Fritzing FAB Alemanya / Germany KiCAD, Fritzing, Eagle, Gerber, ... PCB Price = Job Fee + Area x Area-usage Fee x Quantity (min: 3) 0 Itead Locoduino
OSHPark SMA 20 EUA / USA KiCAD, EagleCAT, Gerber zip $5 per square inch, per set of 3 0 Seeed Studio
Xina / China
$4,90: 100x100mm, set of 10
JLCPCB EasyEDA
PCBWay
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
-
09Connectors#
- PCB
-
pas / step
mm
2,54mm
3,5mm
3,81mm 5,00mm
5,08mm
7,5mm
10,16mm
mil (0.001in)
100mil
150mil
200mil
400mil
section
0.5 mm2
1.5 mm2
max
160V / 6A
200V / 13.5A
Manufacturer
Camdenboss
- Camdenboss
- CTBP3051
- Camdenboss
- CTBP5000
- CTBP0500
- CTBP0100
- CTBP1050
- Camdenboss
- CTBP0708
- CTBP0508
- Camdenboss
- CTBP0110
- CTBP55VK
Camdenboss CTBP77VP Multicomp
Multicomp MC00004
Phoenix Contact
terminal blocks
Phoenix MPT 0,5/<n>-2,54
- Phoenix PT 1,5/<n>-3,5-H
- Phoenix MKDS 1/<n>-3,5
Phoenix MKDS 1/<n>-3,81 Phoenix PT 1,5/<n>-5,0-H
Phoenix MKDSN 1,5/<n>-5,08-H
programari
Fritzing
svg
fritzing-modeltrain/svg/connectors/ - Phoenix_MPT-1_2_54mm_pitch_breadboard.svg
- Phoenix_MPT-2_2_54mm_pitch_breadboard.svg
- Phoenix_MPT-3_2_54mm_pitch_breadboard.svg
fritzing-modeltrain/svg/connectors/ - Phoenix_PT-1_3_50mm_pitch_breadboard.svg
- Phoenix_PT-2_3_50mm_pitch_breadboard.svg
fritzing-modeltrain/svg/connectors/ - Phoenix_MKDS-1_3_81mm_pitch_breadboard.svg
- Phoenix_MKDS-2_3_81mm_pitch_breadboard.svg
- Phoenix_MKDS-3_3_81mm_pitch_breadboard.svg
- breadboard/Camdenboss_CTB0158-<n>_5_08mm_pitch_90deg_terminals_breadboard.svg
- icon/Camdenboss_CTB0158-<n>_5_08mm_pitch_90deg_terminals_icon.svg
- pcb/Camdenboss_CTB0158-<n>_5_08mm_pitch_90deg_terminals_pcb.svg
- schematic/Camdenboss_CTB0158-<n>_5_08mm_pitch_90deg_terminals_schematic.svg
- breadboard/Phoenix_MKDSN-1_5_08mm_pitch_breadboard.svg
part
fritzing-modeltrain/connectors/
- Phoenix_MPT-2_2_54mm_pitch.fzpz
fritzing-modeltrain/connectors/ - Phoenix_MKDS-2_3_81mm_pitch.fzpz
fritzing-parts/core/ - Camdenboss_CTB0158-<n>_5_08mm_pitch_90deg_terminals.fzp
KiCAD
schematic conn/
Screw_Terminal_1x<02n>
pcb
Connectors_Terminal_Blocks: TerminalBlock_Pheonix_MPT-2.54mm_<n>pol TerminalBlock_Pheonix_PT-3.5mm_<n>pol
TerminalBlock_Pheonix_MKDS1.5-<n>pol
comercial
Diotronic
- 2c: MPT5/2 1725656 REGL.PCB 2CT PAS2.54MM
- 3c: MPT5/3 1725669 REGL.PCB 3CT PAS2.54MM
- 4c: MPT5/4
- 5c: MPT5/5
- 6c: MPT5/6
- 2c: 10851/2/BT REGLETA PCB 2 CTS.PASO 3.5
- 3c: 10851/3/BT REGLETA 3 CTS.PCB PASO 3.5
- 2c: SCREW02 REGLETA CONEXION 2 CTS R.5MM
- 3c: SCREW03 REGLETA CONEXION 3 CTS R.5MM
Farnell
Phoenix MPT
- 2c: 1725656 - Bloque Terminal Cable a Placa, 2.54 mm, 2 Vías, 26 AWG, 20 AWG, 0.5 mm², Tornillo
- 3c:
- 4c:
- 6c:
- 8c:
- 10c:
Phoenix PT (COMBICON)
- 2c: PT 1,5/ 2-3,5-H
Pheonix PT
Camdenboss CTBP5000
- 2c: CTBP5000/2
- ...
- 2c: CTBP0500/2
- 2c: CTBP0100/2
Phoenix MKDSN
- 2c:
- ...
- ...
- 2c: CTBP0508/2
Camdenboss CTBP0110
- 3c: CTBP0110/3
Camdenboss CTBP77VP
- 2c: CTBP77VP/2
AliExpress
Phoenix MPT
ús / usage
- Digikeijs DR4018: OUT
- Digikeijs DR4018: SIGNAL, POWER
- Digikeijs DR4088RB: input N
- (?) Digikeijs DR4088RB: C
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- Camdenboss
-
- JST
10Cables#
- Secció / Section
- Cable
de parell trenat / Twisted
pair
- Categoria / Category
-
categoria
CAT 5 100Mbps 100MHz CAT 5e 1Gbps 125MHz CAT 6 1Gbps 250MHz CAT 6a 10Gbps 500MHz CAT 7 10Gbps 600MHz CAT 8 40Gbps 2000MHz Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
-
- Apantallament / Shield
- U – sense
apantallar / unshielded
F – pantalla de làmina / foil shielding
S – pantalla de cable trenat / braided shielding (outer layer only)
TP – cable trenat / twisted pair
TQ – twisted pair, individual shielding in quads -
industry ISO/IEC 11801 cable parell UTP U/UTP - - STP U/FTP -
FTP F/UTP x - STP S/UTP x x SFTP
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- U – sense
apantallar / unshielded
- Categoria / Category
11Programari / Software#
- Thac's MDK 9.2 utils
- Comparison of EDA software (wp)
- List of free electronics circuit simulators (wp)
- Useful Tools for Drawing Electrical Circuits
- Lab
- Android
- Resistor colours
- Resistor colours (optical) (tbd)
-
EDA suite
(gplEDA, wp)
schema
simulation
pcb edit
pcb view
Dia
qelectrotech
XCircuit
Eagle PCB Software (.brd)
EasyEDA (web)
x
x
Fritzing x
x
x
PCB 123
gEDA
gschem
PCB (.pcb)
Ringdove EDA
KiCAD
Eeschema
Pcbnew GerbView Upverter (web)
PCB (sf)
gerbv
gwave
GTKWave
Icarus Verilog
NGSpice
oregano
Qucs
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- Circuits
- LaTeX CircuiTikz
- KiCad
- Fritzing
- Fritzing Fab (Aisler) (PCB manufacturing)
- Instal·lació / Installation
- Download
- Mageia
urpmi fritzing
- Des de codi font / From source code
- 1.
Building Fritzing / 4.
Publishing a release (release.sh)
- Info
- Dependències / Dependencies
- Mageia
- sudo dnf install ...
- urpmi libboost-devel lib64qt5serialport-devel lib64qt5printsupport-devel lib64qt5network-devel lib64qt5sql-devel lib64qt5concurrent-devel lib64qt5svg-devel
- sudo dnf install ...
- From source
- libgit2
- dependències
- Mageia
urpmi lib64ssh2-devel
- Mageia
cd ~/src/
wget https://github.com/libgit2/libgit2/releases/download/v1.0.1/libgit2-1.0.1.tar.gz- tar
xvf
libgit2-1.0.1.tar.gz - ln
-s
libgit2-1.0.1libgit2 cd libgit2-1.0.1mkdir build && cd build- cmake
-DBUILD_SHARED_LIBS=OFF.. - cmake --build .
- sudo make install
- dependències
- libgit2
- Mageia
- Compilació / Compilation
git clone https://github.com/fritzing/fritzing-app.gitgit clone https://github.com/fritzing/fritzing-parts.gitcd fritzing-appgit checkout 0.9.4-fixescd tools/linux_release_script/./release.sh 0.9.4
- 1.
Building Fritzing / 4.
Publishing a release (release.sh)
- ...
- Ús / Usage
frtizingfritzing -debug
- Tutorials
- Examples
- File -> Open Example
- Fritzing Org (You Tube channel)
- Views
- Breadboard
- align to grid
- rotate: drag and drop corner (e.g. to get each leg of a rectifier on a different column)
- clic sobre un punt: mostra en groc tots el elements connectats elèctricament
- wire
- bendpoint: use shift to add 90 deg
- curved: CONTROL + add bendpoint
- default behaviour: Edit -> Preferences -> Breadbord View -> Curvy wires and legs
- component
- curved leg: CONTROL + drag pin
- moure un component però deixant-lo connectat / move component but leave it connected: META (tecla Windows) + drag
- si no funciona (en lloc de moure el component es mou la finestra) / if it does not work:
- Arranjament del sistema -> Gestió de les finestres - Comportament de les finestres -> Accions de la finestra -> Accions de finestra interior, barra de títol i marc -> Tecla modificadora: Meta Alt
- Simulació / Simulation
- Dirs
-
system user modeltrain - /usr/share/fritzing/
- ~/.config/Fritzing/
- fzz/
- partfactory/
- /usr/share/fritzing/parts/
- .../fritzing-0.9.3b.linux.AMD64/fritzing-parts/
saved from parts editor:
- ~/Documents/Fritzing/parts/
bins/
- *.fzb
bins/
- .fzb
svg/
- contrib/
- breadboard/
- icon/
- pcb/
- schematc/
- core/
- breadboard/
- icon/
- pcb/
- schematic/
- obsolete/
- breadboard/
- icon/
- pcb/
- schematic/
- user/
- breadboard/
- icon/
- pcb/
- schematic/
svg/
- contrib/
- breadboard/
- icon/
- pcb/
- schematc/
- user/
- breadboard/
- <prefix>_<random>_<index>_breadboard.svg
- icon/
- <prefix>_<random>_<index>_icon.svg
- pcb/
- <prefix>_<random>_<index>_pcb.svg
- schematc/
- <prefix>_<random>_<index>_schematic.svg
- breadboard/
svg/
- components/
- breadboard/
- icon/
- pcb/
- schematic/
- connectors/
- breadboard/
- icon/
- pcb/
- schematic/
- dcc/
- breadboard/
- icon/
- pcb/
- schematic/
- signals/
- breadboard/
- icon/
- pcb/
- schematic/
- tracks/
- breadboard/
- icon/
- pcb/
- schematic/
contrib/
- placeholder.txt
core/
- *.fzp
obsolete/
- *.fzp
user/
- placeholder.txt
- 74xx08.fzp
user/
- <prefix>_<random>_<index>.fzp
components/
- .fzp
connectors/
- .fzp
- .fzpz
dcc/
signals/
tracks/ Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
-
- File structure
- File formats
- bin: .fzb (only references
to .fzp); .fzbz (created
calling "Export bin"; zip containing real files:
.fzb, .fzp, .svg)
- part: .fzp (only
refences to .svg); .fzpz
(created calling "Export part"; zip
containing real files: .fzp, .svg)
- graphic: .svg (breadboard, icon, pcb, schematic) (created with external tools, e.g. Inkscape)
- part: .fzp (only
refences to .svg); .fzpz
(created calling "Export part"; zip
containing real files: .fzp, .svg)
- bin: .fzb (only references
to .fzp); .fzbz (created
calling "Export bin"; zip containing real files:
.fzb, .fzp, .svg)
-
fzbz
.fzpz
bin part graphic .fzb .fzp .svg references to .fzp references to .svg
- module
- title
- instances
- instance
moduleIdRef="__spacer__"
path="Label Name"
- views
- instance moduleIdRef="my_part" path="path_to/my_part.fzp"
- ...
- instance
moduleIdRef="__spacer__"
path="Label Name"
- module
- views
- iconView
- layers
- layer
- layer
- ...
- layers
- breadboardView
- schematicView
- ...
- iconView
- connectors
- ...
- views
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- module
- File formats
- Bins
- bins that appear on gui are referenced in:
- ~/.config/Fritzing/Fritzing.conf
- fzb format
- ...
- create a bin from gui
- New Bin...
- drag a part from another bin to it
- Save Bin
- bins that appear on gui are referenced in:
- Parts
- regenerate database
fritzing -db /path/to/parts/parts.db- Part -> Regenerate parts database
- repositories
- usage
- Parts submit (Fritzing forum)
- fritzing/fritzing-parts
(shipped with Fritzing:
.../fritzing-0.9.3b.linux.AMD64/fritzing-parts/)
- contrib/
- core/
- *.fzp
- obsolete/
- user/
- svg/
- contrib/
- core/
- obsolete/
- user/
- francesc.pinyol.m/fritzing-modeltrain
- bins/
- modeltrains.fzbz
- components/
- 6N137.fzpz
- connectors/
- Phoenix_MPT-2_2_54mm_pitch.fzpz
- Phoenix_MKDS-2_3_81mm_pitch.fzpz
- svg/
- dcc/
- signals/
- tracks/
- bins/
- sparkfun/Fritzing_Parts
- parts/
- *.svg
- products/
- *.fzpz
- parts/
- kaitlynfranz/Digilent_Fritzing_Parts
- custom parts
- Rules
- Download fonts
and templates
- Instal·leu els tipus de lletres /
Install fonts
wget http://fritzing.org/media/uploads/learning/graphic_standards/fontsandtemplates.zip
unzip fontsandtemplates.zipcd FontsAndTemplates/Fontsmkdir ~/.local/share/fonts/cp */*.ttf ~/.local/share/fonts/fc-cache -f -vfc-list- .../.local/share/fonts/OCRA.ttf:
OCRA:style=Regular
.../.local/share/fonts/OCRA.otf: OCRA:style=Medium
.../.local/share/fonts/DroidSans.ttf: Droid Sans:style=Regular
.../.local/share/fonts/DroidSans-Bold.ttf: Droid Sans:style=Bold
.../.local/share/fonts/DroidSansMono.ttf: Droid Sans Mono:style=Regular
- .../.local/share/fonts/OCRA.ttf:
OCRA:style=Regular
- Instal·leu els tipus de lletres /
Install fonts
- 2.1
Part
file format
- FZP
format
<?xml version='1.0' encoding='UTF-8'?>
<module moduleId="1a4bfb87a0f0fd2c59be43f3497d72e6" fritzingVersion="0.3.16b.02.24.4002">
<author>Stefan Hermann</author>
<version>2</version>
<title>Blue LED - 5mm</title>
<url></url>
<label>LED</label>
<date>2008-10-10</date>
<description>A generic blue LED (~1.8V)</description>
<tags>
<tag>LED</tag>
<tag>Blue LED</tag>
<tag>indicator</tag>
<tag>fritzing core</tag>
</tags>
<properties>
<property name="family">Potentiometer</property>
<property name="type">Trimmer Potentiometer</property>
<property name="Maximum Resistance">10kΩ</property>
<property name="Track">Linear</property>
<property name="Size">Trimmer - 6mm</property>
</properties>
<views>
<iconView>
<layers image="icon/LED-blue-5mmicon.svg" >
<layer layerId="icon" />
</layers>
</iconView>
<breadboardView fliphorizontal="true" flipvertical="true" >
<layers image="breadboard/LED-5mm-blue.svg" >
<layer layerId="breadboard" />
</layers>
</breadboardView>
<schematicView>
<layers image="schematic/led.svg" >
<layer layerId="schematic" />
</layers>
</schematicView>
<pcbView>
<layers image="pcb/T1.75_LED.svg" >
<layer layerId="copper0" />
<layer layerId="copper1" />
<layer layerId="silkscreen" />
</layers>
</pcbView>
</views>
<connectors>
<connector type="male" id="connector0" name="cathode" >
<description>cathode pin</description>
<views>
<breadboardView>
<p svgId="connector0pin" layer="breadboard" terminalId="connector0terminal" />
</breadboardView>
<schematicView>
<p svgId="connector0pin" layer="schematic" terminalId="connector0terminal" />
</schematicView>
<pcbView>
<p svgId="connector0pad" layer="copper0" />
<p svgId="connector0pad" layer="copper1" />
</pcbView>
</views>
</connector>
<connector type="male" id="connector1" name="anode" >
<description>anode pin</description>
<views>
<breadboardView>
<p svgId="connector1pin" layer="breadboard" terminalId="connector1terminal" />
</breadboardView>
<schematicView>
<p svgId="connector1pin" layer="schematic" terminalId="connector1terminal" />
</schematicView>
<pcbView>
<p svgId="connector1pad" layer="copper0" />
<p svgId="connector1pad" layer="copper1" />
</pcbView>
</views>
</connector>
</connectors>
- About SVGs
- superset of SVG 1.2 Tiny
- Inkscape
- put transform in g element, instead of graphical element
- More SVG topics
drill="no"id="noconn"id="boardoutline"
- FZP
format
- Graphics standards
- Download fonts
and templates
- Tutorials
- Make Your Own Fritzing Parts (Sparkfun)
- Creating custom parts (Fritzing)
- Fritzing
(New) Parts Editor
- create svg files from scratch (e.g. using
Inkscape)
or use an existing part (e.g. CORE / IC /
DIP 8-pins, in
/usr/share/fritzing/parts/svg/)
- breadboard
- icon
- pcb
- schematic
- open Part -> Edit (new parts editor)
- import svg files with "Load image for view", in the corresponding tab
- connect all connectors in each tab
- modify data in Metadata tab
- "Save as new part" will save files at:
~/Documents/Fritzing/parts/, as
<prefix>_<random>_{breadboard,icon,pcb,schematic}.svg
- svg/
- user/
- breadboard/
- <prefix>_<random>_breadboard.svg
- icon/
- <prefix>_<random>_icon.svg
- pcb/
- <prefix>_<random>_pcb.svg
- schematic/
- <prefix>_<random>_schematic.svg
- breadboard/
- user/
- user/
- <prefix>_<random>.fzp
- svg/
- test a bin containing references to local
files with absolute path:
- create bin
- add part (you can also manually edit the .fzb file, whose absolute path will be in ~/.config/Fritzing/Fritzing.conf)
- Distribute (e.g. to GitLab):
- svg files as <prefix>_{breadboard,icon,pcb,schematic}.svg
- parts as .fzpz files, created with "Export Part..."
- optionally, bins as .fzbz, created with "Export Bin..."
- create svg files from scratch (e.g. using
Inkscape)
or use an existing part (e.g. CORE / IC /
DIP 8-pins, in
/usr/share/fritzing/parts/svg/)
- Inkscape
- fitxers / files
-
name sample obsolete sample (templates) content <my_part>_breadboard.svg fritzing-parts/svg/user/breadboard/74xx08_breadboard.svg FontsAndTemplates/Templates/BreadboardViewGraphic_Template.svg <g id="breadboard">
<!-- text with id=label will be replaced by text in Metadata tab: Title -->
<text id="label" font-family="Droid Sans" ...>74xx08</text>
<text id="label2" font-family="OCRA" ...>IC</text><!-- will not work: style="font-family:'Droid Sans'; -->
</g><my_part>_schematic.svg fritzing-parts/svg/user/schematic/74xx08_schematic.svg FontsAndTemplates/Templates/SchematicViewGraphic_Template.svg <g id="schematic">
<text transform="..."fill="#000000"font-family="'DroidSans'" font-size="6">Part</text>
<g id="pins">
<line .../>
</g>
<g id="pin_numbers">
<text transform="..." fill="#555555" font-family="'DroidSans'" font-size="3">5</text>
</g>
<g id="pin_labels">
<text transform="..." fill="#555555" font-family="'DroidSans'" font-size="4.5">Out</text></g>
</g><my_part>_icon.svg fritzing-parts/svg/user/icon/74xx08_icon.svg
<g id="icon"...<my_part>_pcb.svg fritzing-parts/svg/user/pcb/74xx08_pcb.svg FontsAndTemplates/Templates/PCBViewGraphic_Template.svg <?xml version='1.0' encoding='UTF-8' standalone='no'?>
<svg xmlns="http://www.w3.org/2000/svg" baseProfile="tiny" version="1.2" x="0in" y="0in" width="0.42in" height="0.72in" viewBox="0 0 420 720">
<g id="pcb"></g>
<g id="keepout"></g>
<g id="soldermask"></g>
<g id="outline"></g>
<g id="silkscreen">
<line y1="10" x2="10" x1="10" y2="710" stroke="white" stroke-width="10"/>
</g>
<g id="copper0">
<g id="copper1">
<rect id="square" x="32.5" y="32.5" width="55" height="55" fill="none" stroke="rgb(255, 191, 0)" stroke-width="20"/>
<circle id="connector0pin" cx="60" cy="60" r="27.5" fill="none" stroke="rgb(255, 191, 0)" stroke-width="20"/>
</g>
</g>
</svg>
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
-
- regles / rules (Providing
Part Graphics, About SVGs)
- tipografia
/ fonts:
- Droid Sans
- OCRA
- single layer
- group all graphical elements and rename this group according to what it represents (“breadboard”, "schematic", "pcb" or "icon").
- for pcb:
- make sure that you have this XML
structure:
- svg:g id="silkscreen"
- svg:g id="copper0"
- svg:.g id="copper1"
- and that there is no transform in
copper0 or in copper1 element:
otherwise, when importing this svg
from parts editor ("Load image for
view..."), the copy svg will contain
an intermediary node:
- g id="copper0"
- transform="..."
- g id="copper1"
- transform="..."
- and there will be an error:
This version of the new Parts Editor can not deal with separate copper0 and copper1 layers in '.../prefix0000_xxxx_y_pcb.svg'. So editing may produce an invalid PCB view image
- g id="copper0"
- to remove all transformations, on
XML editor:
- select g node with id="copper0"
- Desagrupa
- select g node with id="copper1"
- Desagrupa
- Agrupa
- Agrupa
- rename group elements
(id="gxxxx") so as they become:
- svg:g id="copper0"
- svg:.g id="copper1"
- svg:g id="copper0"
- make sure that you have this XML
structure:
- select all elements, "Fit page to selection"
- deseu-lo com a «SVG simple» / save as "Plain SVG"
- Visualitza / Graella de la pàgina (#)
- Fitxer / Propietats del document
- Pàgina
- Mostra les unitats: in
- Mida de la pàgina
- A mida
- Unitats: in
- Amplada: ...
- Alçada: ...
- Escala
- Escala x: 1000 Unitats
d'usuari per in
- els valors dels elements svg seran en mil·lèsimes de polzada
- Escala x: 1000 Unitats
d'usuari per in
- A mida
- Fons
- Fons de tauler d'escacs
- Graelles
- Graella rectangular: Nova
- Unitats de la graella: in
- Espaiat X: 0,10000
- Espaiat Y: 0,10000
- Graella rectangular: Nova
- Pàgina
- tipografia
/ fonts:
- fitxers / files
- ...
- Rules
- regenerate database
- gEDA
suite
- NOT ACTIVELY DEVELOPED ANYMORE. See Ringdove EDA.
- Tutorials
- gschem Warmup for Beginners
- gschem
->
gsch2pcb -> PCB
- dir structure
- ~
- .gEDA
- gafrc
(component-library "${HOME}/gaf/gschem-sym")
- gschemrc
(load (build-path geda-rc-path "gschem-colormap-lightbg")) ; light background
- gafrc
- gaf
- gschem-sym/
- transistors/
- pcb-elements/
- ...
- myproject1/
- packages -> ../pcb-elements/
- project
schematics one.sch two.sch
output-name board
- one.sch
- two.sch
- gschem-sym/
- .gEDA
- ~
- Passos / Steps
gschem one.schgschem two.schrefdes_renum --pgskip one.sch two.schgsch2pcb [-v] project- board.pcb
- board.net
pcb board.pcb- Select -> Disperse all elements
- File -> Load netlist file: board.net
- Connects -> Optimize rats nest (O)
- Select -> Auto place selected elements
- dir structure
- Getting
Started
With PCB
- source: doc/gs/
- Elements
-
source
system
examples
contrib
tool
user dir
setup
gschem: project
pcb
gscheme symbols
symbols/
/usr/share/gEDA/sym/
gedasymbols
- Custom gschem Symbols
- gEDA/gaf Symbol Creation
- IC
- djboxsym toto.symdef >toto.sym
- tragesym
~/gaf/gschem-sym/
pcb footprints
m4 macros (old style: still used to define family parts)
*.inc (-> .m4, .list)
/usr/[local]/share/pcb/m4/
- (pcblib)
- ~amp (amp.list)
- ...
- ~geda (geda.list)
- ...
Footprint naming conventions
Element ( ...)- integrated circuits
- DIP8
- DIP18 (same as DIL 18 300)
- resistor
- R025 (1/4W)
10.1 Old Style (m4) Libraries
Custom M4 elements
gschem
m4 arguments
footprint
$1: canonical name
refdes
$2: name on PCB
value
$3: value
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
- m4-file /path/to/anyfile
- m4-pcbdir /path/to/pcb/m4
- # m4 program is gm4 instead of m4:
m4-command gm4
file elements (new style: from pcb program)
- lib/pcblib-newlib/
- Offcial PCB footprints
*.fp
/usr/[local]/share/pcb/
- pcblib-newlib
- amp
- amphenol
- aries
- bourns
- candk
- connector
- crystal
- cts
- geda
- generic
- gtag
- johnstech
- minicircuits
- nichicon
- optek
- optical
- panasonic
- pci
- tdk
- toko
- unide_chemicon
- newlib
- 2_pin_trhu-hole_packages
- connectors
- crystal
- electro-optics
- headers
- msp430
- not_vetted_ingo
- tests
10.2 New Style Libraries
Custom file elements
- create VIA
- N: 1, 2
- top silk
- LINE
- SEL
- Buffer -> Cut selection to buffer + click on 1
- Buffer -> Convert buffer to element
- Buffer -> Save buffer elements to file
~/gaf/pcb-elements/ - elements-dir /usr/local/share/pcb/pcb-elements
- elements-dir ~/gaf/pcb-elements/
File -> Preferences -> Library
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
-
- gedasymbols
- gaf
- Components
gschem: schematic capturegnetlist: netlist generationgattrib: attribute editor- utilities
gaf- utilities for schematics:
refdes_renum, grenum, garchive, gschlas - utilities for symbols:
gsymcheck, gsymfix, gmk_sym, tragesym - tools to facilitate netlisting:
gsch2pcb, gnet_hier_verilog.sh - utilities for printing and graphical
output:
schdiff, gpstoimage - format conversion tools:
convert_sym, smash_megafile, olib, sarlacc_schem, sarlacc_sym - tools for interaction with other programs:
gxyrs, sw2asc, pads_backannotate, pcb_backannotate - update utilities:
gschupdate, gsysmupdate
- Instal·lació / Installation
- compilació / compilation
- Dependències / Dependencies
- Mageia
urpmi lib64guile-devel
- Mageia
git clone --depth 10 git://git.geda-project.org/geda-gaf.gitcd geda-gaf./autogen.sh && make && sudo make install
- Dependències / Dependencies
- Mageia
urpmi geda
- /usr/share/gEDA/sym/...
- /etc/
- compilació / compilation
- Ús / Usage
-
Edit
E
E
edit element
I
mirror
N
make attributes visible
R
rotate
View
V
E
view extents
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
-
- Components
- pcb
- Instal·lació / Installation
- compilació / compilation
- README.git
- INSTALL
- Dependències / Dependencies
- Mageia
urpmi intltool texinfo-tex lib64dbus-devel lib64freeglut-devel lib64gtkglext-devel lib64gd-devel
- Mageia
git clone --depth 10 git://git.geda-project.org/pcb.gitcd pcb./autogen.sh && make && sudo make install
- Mageia
urpmi pcb
- compilació / compilation
- Ús / Usage
-
View
z
zoom
Edit
F9
ROT tool
TAB
flip board
u
undo
Routes f
View route
o
Optimize rats nest
Aquesta taula continua cap a la dreta — desplaça-la o gira el mòbil.
-
- Instal·lació / Installation
12Robots#
- K-Team (miniature mobile robot)
13USB#
14Capses / Cases#
- Alumini
- KX JOJO electron Store (AliExpress)
- Caja de Proyecto de aluminio
- ...
http://www.francescpinyol.cat/.html
Primera versió: / First version:
Darrera modificació: 20 de desembre de 2025 / Last update: 20th
December 2025