Electrònica / Electronics
|
Índex
|
|
General
|
|
Botigues / Shops
|
|
Components
|
- 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% |
-
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
|
|
|
|
- Condensador / Capacitor
- 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
- Transistor
- Rectificador / Rectifier
- 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 |
- ...
|
|
|
|
|
Mesures / 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,...
- 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> |
|
|
|
|
|
|
- Multímetre / Multimeter
- Oscil·loscopi / Oscilloscope
-
|
|
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€
|
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 |
|
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 |
|
|
|
|
|
|
|
|
|
|
|
- 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)
- llista
- DIY
- 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)
- Buttons
- A, Run/Stop, ▸||
- B, Quick Adjust
- Menus
|
▲▼ |
◀ ▶ |
Vertical
axis
|
Yn
|
Y Ranges
|
10mV..10V
|
ProbeAtt
|
|
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
|
|
TrigMode
|
- ↑: rising edge
- ↓: falling edge
|
Auto Fit
|
|
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
|
- 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
- Comunicació /
Communication
-
type |
protocol |
implementations |
|
LXI |
|
discovery |
VXI-11 |
|
mDNS |
|
commands |
SCPI |
|
programming |
VISA |
|
- 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:
- 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 meson lib64avahi-client-devel
lib64tirpc-devel
...
git clone
https://github.com/lxi-tools/liblxi.git
cd libxli
- v2.x
- install meson from python
environment, as meson provided by
Mageia is too old when installing
lxi-tools
virtualenv env
source env/bin/activate
pip install meson
meson build
meson compile -C build
meson install -C build
- v1.x
./autogen.sh
./configure
make
sudo make install
- ldconfig
sudo sudo sh -c 'echo
"/usr/local/lib64"
>/etc/ld.so.conf.d/local.conf'
sudo ldconfig
- 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... |
|
|
- dependencies
- Mageia
sudo dnf install
lib64readline-devel
lib64lua5.3-devel
lib64qt5charts-devel
lib64cairo-devel
lib64pango1.0-devel ...
git clone
https://github.com/lxi-tools/lxi-tools.git
cd 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 env
source env/bin/activate
pip install meson
- do not use master branch, at it
requires glib too new:
- src/meson.build
-
dependency('lua-5.3',
required: true),
+ dependency('lua',
required: true),
meson -Dgui=true build
meson compile -C build
meson install -C build
- v1.x
./autogen.sh
./configure --enable-lxi-gui
make
sudo make install
- Ú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
- captura de pantalla / screenshot
lxi screenshot --address
192.168.0.128
- lxi-gui
- ...
- SCPI commands
- Info
- Grammar
- set commands
TRIGger:MODe NORMal
TRIG:MOD NORM
- query commands
- Commands
- 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
- 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
- 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()
- Commands
- VISA (Virtual Instrument Software
Architecture)
- NI VISA (National Instruments)
- pyVISA
- Info
- Instal·lació / Installation
- Optional: install and activate a
virtualenv
virtualenv env
source 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"
sudo
udevadm control --reload
- Ús / Usage
python -m visa info
python
import 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'
- ...
- ...
- 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) |
|
|
|
|
|
|
|
|
- tinySA
Ultra
- Info
- Programari
- PC
control
- QtTinySA
- Dependències / Dependencies
- Instal·lació
git clone
https://github.com/g4ixt/QtTinySA.git
pyenv virtualenv 3.10 qttinysa
pyenv local qttinysa
pip install numpy PyQt5
pyqtgraph PyOpenGL serial serial-tool
...
- 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_user
newgrp dialout
- Ús
- ...
- ...
- Analitzador vectorial de xarxa / Vector network
analyser (VNA)
- Impedància
/ Impedance
- S-parameters
- Exemples / Examples
-
|
|
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
|
|
132,23€
+ IVA + ports = 176,94€ |
Siglent SVA-1015X |
10 MHz - 1.5 GHz |
10" |
|
|
|
|
1359€
+ IVA |
- Demo boards
-
... |
info
|
preu
|
NanoVNA RF demo kit (blava)
|
|
8,26€
+ ...
|
RF demo kit (verda)
|
|
21,70€
|
- Programari / Software
- NanoVNA saver
- install
- from source
- NanoVNA-Saver/nanovna-saver
git clone
https://github.com/NanoVNA-Saver/nanovna-saver.git
- setup
sudo usermod -a -G dialout myuser
newgrp dialout
- ús
cd nanovna-saver
python nanovna-saver.py
- Analitzador lògic / Logic analyser
- Maquinari / Hardware
- Programari / Software
- Logic 2
(Saleae)
- Sigrok
(open source)
- Hardware
-
- Demo device
- Siglent
SDS
- 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
- Plugins
- setup
- DCC
- sigrok-DCC-Protocoll
- ús / usage
- sampling rate >20kHz
- Decoder: Encoding -> DCC
- New View: Tabular Decoder Output
View
- Show all and focus on newer
- Frontends
- Instal·lació / Installation
- Example
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/src
git 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/
- select input:
- sample file:
- /disc/src/sigrok-dumps/dcc/easycontrol/...
- /disc/src/sigrok-DCC-Protocoll/samples/...
- oscilloscope
- activate DCC decoder:
- Add protocol decoder (green waveform
button)
- Analitzador USB / USB analyser
- Programari
-
marca |
model |
data |
Bluetooth |
LCD |
V |
A |
W |
|
runtime |
record time |
review |
preu (no BT) |
(BT) |
FNIRSI |
C1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
FNB48S (obert) |
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
FNB58
(pdf) |
|
|
2.0" |
4~28V |
0~7A |
0~120W |
|
~100days |
~100days
(2400h) |
|
|
|
- Analitzador RF
- ...
|
Microcontroladors /
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USB to serial (FTDI)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USB to serial (AVR)
|
|
|
|
|
|
|
|
ARM Cortex-M
|
|
|
|
|
|
|
|
|
|
|
|
Microchip Atmel (wp)
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ATmega328
(wp) |
|
32KB
|
2KB
|
1KB
|
2
|
1
|
1
|
1
|
2
|
1
|
|
- Arduino Ethernet
- Arduino Nano
- Arduino Pro
- Arduino Pro Micro
|
|
|
|
|
ATmega1280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ATmega2560
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Programació / Programming
-
family
|
|
output
|
preu
|
PICkit
(wp) |
PICkit 1
|
|
|
PICkit 2
|
|
|
PICkit
3
|
|
- 21,24€
(clone+adapter) (eBay UK)
- 23,90€
+ 8€ env (clone?+adapter) (eBay IT: Tancredi
elettronica)
- 39,41€
(Farnell)
- (40,50€
+ 6,13€ env) + IVA = 56,42€ (Microchip)
- 40,90€
(Mouser)
- 50,01€
ii (RS)
- 95,50€
(Onda Radio)
- 104,36
(Diotronic)
|
PICkit
4
|
|
|
- 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
- Videos
- Adapter seat board:
- align MCLR (adapter) to triangle (PICkit3)
- to program a PIC16F628A
(DIP18)
- 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
- IDE
- KTechLab
- MPLAB
- Baixada / Download
- Instal·lació / Installation
tar xvf MPLABX-v5.00-linux-installer.tar
sudo ./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
|
PCB
|
|
Connectors
|
- 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
- CTBP5000
- CTBP0500
- CTBP0100
- CTBP1050
|
|
|
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
|
|
fritzing-parts/svg/core/
- 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
fritzing-modeltrain/svg/connectors/
- 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
|
|
|
|
|
|
|
|
|
|
Farnell
|
|
|
Phoenix MPT
|
Phoenix PT (COMBICON)
|
|
Pheonix PT
Camdenboss CTBP5000
Camdenboss CTBP0500
Camdenboss CTBP0100
|
Phoenix MKDSN
Multicomp MC00004
Camdenboss CTBP0508
|
Camdenboss
CTBP0110
|
Camdenboss CTBP77VP
|
AliExpress
|
|
|
Phoenix
MPT
|
|
|
|
|
|
|
ús / usage |
|
|
|
|
|
- Digikeijs DR4018: SIGNAL, POWER
- Digikeijs DR4088RB: input N
|
|
- (?) Digikeijs DR4088RB: C
|
|
|
- JST
|
|
- 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 |
|
- 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 |
|
|
|
|
|
- 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)
-
- Circuits
- KiCad
EDA
- Fritzing
- Fritzing
Fab (Aisler) (PCB
manufacturing)
- Instal·lació / Installation
- Download
- Mageia
- Des de codi font / From source code
- 1.
Building Fritzing / 4.
Publishing a release (release.sh)
- Info
- Dependències / Dependencies
- Mageia
- urpmi
libboost-devel
lib64qt5serialport-devel
lib64qt5printsupport-devel
lib64qt5network-devel
lib64qt5sql-devel
lib64qt5concurrent-devel
lib64qt5svg-devel
- From source
- libgit2
- dependències
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.1
libgit2
cd libgit2-1.0.1
mkdir build &&
cd build
- cmake
-DBUILD_SHARED_LIBS=OFF
..
- cmake
--build .
- sudo
make install
- Compilació / Compilation
git clone
https://github.com/fritzing/fritzing-app.git
git clone
https://github.com/fritzing/fritzing-parts.git
cd fritzing-app
git checkout 0.9.4-fixes
cd tools/linux_release_script/
./release.sh 0.9.4
- ...
- Ús / Usage
- Dirs
-
system |
user |
modeltrain |
|
|
|
parts from distribution:
- /usr/share/fritzing/parts/
- .../fritzing-0.9.3b.linux.AMD64/fritzing-parts/
|
saved from parts editor:
- ~/Documents/Fritzing/parts/
|
|
bins/
|
|
bins/
|
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
|
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/
|
|
|
core/
|
|
|
obsolete/
|
|
|
user/
- placeholder.txt
- 74xx08.fzp
|
user/
- <prefix>_<random>_<index>.fzp
|
|
|
|
components/
|
|
|
connectors/
|
|
|
dcc/ |
|
|
signals/ |
|
|
tracks/ |
- 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)
-
fzbz
|
|
.fzpz
|
bin |
part |
graphic |
.fzb |
.fzp |
.svg |
references to .fzp |
references to .svg |
|
- module
- title
- instances
- instance
moduleIdRef="__spacer__"
path="Label Name"
- instance moduleIdRef="my_part"
path="path_to/my_part.fzp"
- ...
|
- module
- views
- iconView
- breadboardView
- schematicView
- ...
- connectors
- ...
|
|
- 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
- Parts
- regenerate database
fritzing -db /path/to/parts/parts.db
- Part -> Regenerate parts database
- repositories
- usage
- Import...
- Fritzing part (.fzpz) (.fzp)
- will copy the fzpz file to bin
from we started the import action
- Fritzing Bin (.fzb)
- will reference the selected bin
- Fritzing Shareable Bin (.fzbz)
- will unzip the file onto contrib
dir
- Parts
submit (Fritzing forum)
- fritzing/fritzing-parts
(shipped with Fritzing:
.../fritzing-0.9.3b.linux.AMD64/fritzing-parts/)
- contrib/
- core/
- obsolete/
- user/
- svg/
- contrib/
- core/
- obsolete/
- user/
- francesc.pinyol.m/fritzing-modeltrain
- bins/
- components/
- connectors/
- Phoenix_MPT-2_2_54mm_pitch.fzpz
- Phoenix_MKDS-2_3_81mm_pitch.fzpz
- svg/
- sparkfun/Fritzing_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.zip
cd FontsAndTemplates/Fonts
mkdir ~/.local/share/fonts/
cp */*.ttf
~/.local/share/fonts/
fc-cache -f -v
fc-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
- 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"
- Graphics
standards
- Tutorials
- 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
- user/
- 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..."
- 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>
|
|
|
|
|
- regles / rules (Providing
Part Graphics, About SVGs)
- tipografia
/ fonts:
- 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"
- 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"
- 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
- 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:
- 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
- Fons
- Graelles
- Graella rectangular: Nova
- Unitats de la graella: in
- Espaiat X: 0,10000
- Espaiat Y: 0,10000
- ...
- gEDA
suite
- 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
- gaf
- gschem-sym/
- pcb-elements/
- myproject1/
- packages ->
../pcb-elements/
- project
schematics
one.sch two.sch
output-name board
- one.sch
- two.sch
- Passos / Steps
gschem one.sch
gschem two.sch
refdes_renum --pgskip one.sch
two.sch
gsch2pcb [-v] project
pcb board.pcb
- Select -> Disperse all elements
- File -> Load netlist file:
board.net
- Connects -> Optimize rats nest (O)
- Select -> Auto place selected
elements
- Getting
Started
With PCB
- Elements
-
|
|
source
|
system
|
examples
|
contrib
|
tool
|
user dir
|
setup
|
|
|
|
|
|
|
|
|
gschem:
project
|
pcb
|
gscheme
symbols
|
|
symbols/
|
/usr/share/gEDA/sym/
|
|
gedasymbols
|
|
~/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
|
|
10.1
Old
Style (m4) Libraries
Custom
M4
elements
gschem
|
m4
arguments
|
footprint
|
$1:
canonical name
|
refdes
|
$2:
name on PCB
|
value
|
$3:
value
|
|
|
- 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)
|
|
*.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
|
- gedasymbols
- gaf
- Components
gschem : schematic capture
gnetlist : netlist generation
gattrib : 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
git clone --depth 10 git://git.geda-project.org/geda-gaf.git
cd geda-gaf
./autogen.sh && make
&& sudo make install
- Mageia
- /usr/share/gEDA/sym/...
- /etc/
- Ús / Usage
-
|
|
|
|
Edit
|
E
|
E
|
edit
element
|
|
|
I
|
mirror
|
|
|
N
|
make
attributes visible
|
|
|
R
|
rotate
|
View
|
V
|
E
|
view
extents
|
- 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
git clone --depth 10 git://git.geda-project.org/pcb.git
cd pcb
./autogen.sh && make
&& sudo make install
- Mageia
- Ús / Usage
-
|
|
|
View
|
z
|
zoom
|
|
|
|
Edit
|
F9
|
ROT tool
|
|
TAB
|
flip
board
|
|
u
|
undo
|
Routes |
f
|
View
route
|
|
o
|
Optimize
rats nest
|
|
Robots
|
- K-Team (miniature mobile
robot)
|
USB
|
|
|
|
http://www.francescpinyol.cat/.html
Primera versió: / First version:
Darrera modificació: 26 de juny de 2024 / Last update: 26th June
2024
Cap a casa / Back home |