
Lm35racks
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.
Conector 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 29 × 31 mm with 2 parts on 18 nets, routed with 26 tracks and 0 vias.
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 |
|---|---|---|---|
| 1 | 6P6C | Controle:RJ25 | J1 |
| 1 | Conn_02x10_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_Vertical | J2 |
It measures 29 × 31 mm and has 2 copper layers, 1.6 mm thick.
2 parts. 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-SPIxxCON/conector.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.

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.

hzeller/rpi-rgb-led-matrix
Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO


adamws/kicad-kbplacer
KiCad plugin for automatic keyboard's key placement and routing

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

NVNTLabs/switch2-SDEX2M2
Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2

BlueSCSI/BlueSCSI-v2
BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

ohmtech-rdi/eurorack-blocks
Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
