
Conector
lnls-sirius/rack-mon
This project is a hardware and software solution for Sirius cabinets monitoring based in a NXP's development platform, FRDM-KL25z, and SPIxxCON bus present on Controls Group SERIALxxCON hardware.

This project is a hardware and software solution for Sirius cabinets monitoring based in a NXP's development platform, FRDM-KL25z, and SPIxxCON bus present on Controls Group SERIALxxCON hardware.
Lm35racks is an open-source printed circuit board by lnls-sirius, from the lnls-sirius/rack-mon repository on GitHub. It is a 2-layer board of 126 × 100 mm with 62 parts on 98 nets, routed with 383 tracks and 32 vias.
It is built around the LM321, LM324 and 74HC123D, with the CST-1010-B among its other parts. Its parts include 25 resistors, 10 connectors, 9 diodes, 4 capacitors and 4 switches.
This project is a hardware and software solution for Sirius cabinets monitoring based in a NXP's development platform, FRDM-KL25z, and SPIxxCON bus present on Controls Group SERIALxxCON hardware. The designed baseboard for NXP development platform contains the necessary peripherals to acquire information such as temperature, humidity, fan status, door status and supply voltage in order to predict possible system failures and evaluate its correlation with the acquired data.
It also contains an adapter that enables this project to work with mbed LPC1768 in instead of KL25z.
A C program written through Mbed's platform divided in 3 modes:
An interruption associated with the rising border of Slave Select signal. In this interruption the microcontroller reads the SPI buffer and if a command other than zero is found stores the command.
The main loop in the program, where the strings are copied to the "answer" buffer according to the code read in the Read Mode.
Another interruption associated with Slave Select signal, but this happens in the falling border of the signal. This is where the board replies the requested value through SPI.
When using LPC1768 in instead of KL25Z a few things change. The principle is still the same: reading from the SPI, copying to a answer buffer and responding through SPI but here the program doesn't work with interruptions, everything happens inside the main loop.
The microcontroller reads the SPI and if there is any request enters a switch-case conditional. If the command corresponds to any of the known commands, LPC1768 responds accordingly.
A Python script responsible for the communication between BeagleBone Black and KL25z (or LPC1768) through SPI and for providing the data to multiple workstations through TCP/IP sockets.
In order to operate the board you should first do the following configurations in your SERIALxxCON:
config-pin P9_17 spi_cs
config-pin P9_21 spi
config-pin P9_18 spi
config-pin P9_22 spi_sclkWrite the previous commands on /etc/rc.local if desired
Stop bbb-function script with:
systemctl stop bbb-functionsystemctl disable bbb-functionA python3 module was developed in order to simplify the SPI requests to the board. The Very Simple Protocol module functions are:
sends a character to the monitoring board and returns a string with its response
sends multiple characters to the monitoring board and returns a list with it's response in order
returns a list with values for supply voltage, fan status, DHT's temperature measurement, fan current, humidity, LM35's temperature measurement, back door status and front door status in that order
returns LM35's temperature measurement
returns the boards DHT's temperature measurement
returns humidity value
returns front door status
returns back door status
returns fan status
returns current measurement
returns supply voltage
works only with LPC1768 and returns the software version, if "None" is returned it means probably there's no board connected or it's a KL25z with software version < v1.60
If using KL25z in instead of LPC1768, lines containing "for i in range (10)" should be changed to "for i in range(11)".
Remove the back panel of SERIALxxCON box and place the SPIxxCON - RJ25 adapter. Connect the serial cable and close the box with the new back panel.
Plug one end of the power cable into the black plug and the other end into the power strip.
Unplug the fan power cable from the power strip and plug it into the box's red power outlet.
Fix the magnetic sensors to their mountings and place them close to the door, in the upper part of the cabinet. Place the neodymium magnet on the cabinet door in a way that when its closed the magnet is close to the magnetic sensor.
Place the DHT11 humidity sensor close to the box.
Place the LM35 temperature sensor wherever you want.
Connect all the sensors to their respective connectors.
Each prototype version is named as follows: vX.YZ
Available KL25z software versions:
Available LPC1768 software versions:
Previous versions can be found on these repositories: KL25Z and LPC1768.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | D | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1, D2, D3, D4, D5, D6 |
| 5 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R3, R6, R17, R22, R24 |
| 5 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R5, R8, R14, R21, R23 |
| 3 | 180 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R15, R16, R25 |
| 3 | 2k2 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R2, R10, R19 |
| 3 | 4P4C | Controle:RJ11-4P4C-HIROSE_2 | J1, J7, J12 |
| 3 | LED | Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D7, D8, D9 |
| 2 | - | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | Rf1, Rg1 |
| 2 | 100k | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R4, R18 |
| 2 | 10u | Capacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder | C3, C4 |
| 2 | 22k | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R12, R20 |
| 2 | 9k1 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R7, R9 |
| 2 | TrafoCorrente | Controle:Borne KRE | J9, J10 |
| 1 | 100u | Capacitor_SMD:C_Elec_6.3x7.7 | C2 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C1 |
| 1 | 5K | Potentiometer_THT:Potentiometer_Bourns_3266Y_Vertical | RV1 |
| 1 | 6P6C | Controle:RJ25(vitor) | J3 |
| 1 | 6k2 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R1 |
| 1 | 74HC123 | Package_SO:SOIC-16W_5.3x10.2mm_P1.27mm | U3 |
| 1 | 82k | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R11 |
| 1 | BarrAjusteMax | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J4 |
| 1 | BarrAjusteMin | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J5 |
| 1 | CST1010 | Controle:CST | T1 |
| 1 | GeneralPurpose | Controle:Borne KRE | SW3 |
| 1 | KL25 | Controle:KL25Z | KL25-1 |
| 1 | LM321 | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | LM324 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U1 |
| 1 | PortaFrente | Controle:Borne KRE | SW1 |
| 1 | PortaTrás | Controle:Borne KRE | SW2 |
| 1 | Rin | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R13 |
| 1 | SW_DIP_x01 | Controle:DIPSwitchSMD_1pos | SW4 |
| 1 | Trafo 220 : 4,5-0-4,5 | Controle:Borne KRE | J6 |
| 1 | TrafoTensão | Controle:Borne KRE | J8 |
| 1 | TrafoVesteves | Controle:TrafoVesteves | TV* |
The 61 most common of 62 parts.

lnls-sirius/rack-mon
This project is a hardware and software solution for Sirius cabinets monitoring based in a NXP's development platform, FRDM-KL25z, and SPIxxCON bus present on Controls Group SERIALxxCON hardware.

lnls-sirius/rack-mon
This project is a hardware and software solution for Sirius cabinets monitoring based in a NXP's development platform, FRDM-KL25z, and SPIxxCON bus present on Controls Group SERIALxxCON hardware.

jostsalathe/korg_ms-x
An extreme MONOTRON mod by Soul Machine in form of an SMD PCB

karim1312/emg
Open Source Based sEMG. Based off of OpenEMG but with an added Voltage Follower for a theoretically more stable output.

kkrizka/powerboard_mass_test_adapter_active
Active Part of the Mass Test Board for ITk Strips PowerBoard

Bad-Dog-Designs/Ospray-8
KiCad project files for the Ospray-8 Percussion synth

dolson14/k7arx
Circuit and PCB Designs, anything else related to radio and electronics

yvodehaas/HP45-standalone-controller-V4.02
HP45 standalone controller V4.02

stonedDiscord/Automatenplatinen
Reverse engineerte Hardware aus deutschen Spielautomaten.

It measures 126 × 100 mm and has 2 copper layers, 1.6 mm thick.
62 parts, built around the LM321, LM324, 74HC123D and CST-1010-B. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the lnls-sirius/rack-mon repository on GitHub, at the commit this page was made from: the board is Hardware/KiCAD files/Shield-KL25Z/lm35racks.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask lnls-sirius before reusing the design.