Linux and Electronics
Linux and Electronics
Linux and Electronics
Urs
Lindegger
Copyright © 2025-01-06 Urs Lindegger
Table of Contents
1. Introduction
Note
2. Printed Circuits
Printed Circuit Board design
Kicad
Eagle
Simulation
Spice
Digital simulation
Wings 3D
User interface
Modeling
Making holes in Wings 3D
3. Embedded Devices
Cross compilation
distcc
Embedded Linux
x86 embedded
Beaglebone
Gentoo on Beaglebone
Sabre
MCIMX6
ltib
Gentoo Linux on Sabre
Mfgtool
AVR microcontrollers
Building Avr crosscompiler under Gentoo Linux
Setoutput
Compiling and linking
Program the chip
Debugging AVR micro controllers
Assembler
Codeblocks
AVR eclipse plugin
AvrStudio and WinAvr
Arduino
Interfacing AVR devices to Linux via USB
PIC microcontrollers
STM32
ESP
Shelly
C and small microcontrollers
LCDproc
LCDd
LCDproc clients
Hardware issues
Modbus
Terms and definitions
modpoll
Libmodbus
Modbus with Python
Freemodbus
MBLogic
MBLogic Soft Logic
HMIServer
MBProbe
4. Interface
Serial port
Working with serial ports
Terminal programs
Troubleshooting serial links
USB to RS232 serial controller
Programming serial links
Connection to a remote serial link
I2C
Different implementations
External I2C adapters
Observing an external LM75 chip
MLX90614 Infra Red Thermometer
Observing a memory chip
I2C bit banging
Linux implementations
lm_sensors
CAN
CAN Hardware
CAN frames
CANopen
CAN Festival
Bluetooth
Inside bluetooth
Adeunis ARF7678AA
Laird BTM411
LIRC
LIRC inside
About the IR signals and the configuration file
LIRC receivers
Lirc transmitters
A homebrew serial LIRC receiver
Audio receivers and transmitters
UDP
UIR, IRman, UIRT, UIRT2 and USB-UIRT
Setting up and testing the LIRC receiver
LIRC troubleshooting
Using V4l2 ir devices under LIRC
List of Figures
2.1.
KiCad schematics
2.2.
KiCad PCB
2.3.
KiCad 3D
2.4.
kiCad drill
2.5.
GCprevue
2.6.
Drill data
2.7.
gschem
2.8.
gspiceui
2.9.
gwave
2.10.
Wings
3.1.
Geode
3.2.
Beagle Bone
3.3.
Sabre
3.4.
JTAG ICE
3.5.
Attiny
3.6.
Codeblocks and AVR dude
3.7.
CodeBlocks and avarice
3.8.
AVR Project
3.9.
avr debug settings
3.10.
Arduino
3.11.
gpsim
3.12.
Lcds
4.1.
MCP2221 utility
4.2.
MCP2221 Workbench
4.3.
Make IR visible
4.4.
IR signals
4.5.
Lirc serial receiver
4.6.
Component side
4.7.
Solder side
4.8.
Isolation
4.9.
Lirco
4.10.
IR audio schematics
4.11.
IR audio hardware
4.12.
Running into saturation
4.13.
Understandable signal
4.14.
IR Remote controller
List of Examples
3.1.
setoutput