
1
Олег
no recommendations
no complaints
Project title: STM32 Sensor Survey via I2C and Data Transfer to Host
Type of cooperation: One-time project
Section: Software development
Prepayment: without prepayment
Payment methods: Bank transfer, Electronic money
Acceptance of requests: from 2021-01-20 until 2021-02-04
Type of cooperation: One-time project
Section: Software development
Prepayment: without prepayment
Payment methods: Bank transfer, Electronic money
Acceptance of requests: from 2021-01-20 until 2021-02-04
Project description:
Programmer services are required. You need a program for STM32 to poll sensors via I2C and transfer data to Host.
Controller:
STM32F103C8T6 ARM STM32 Minimum System Development Board Module
Description:
Up to 10 sensors are connected to the controller, all of them are on a common I2C line.
From each controller there is an additional wire signaling interrupt.
Routine operation of the controller:
Survey up to 10 pins per interrupt (the number of pins connected is programmed into FLASH memory). After receiving the interrupt, the controller reads data from the sensor via I2C (each pin has its own sensor address that is written to FLASH memory via UART) and places them in the buffer. When the buffet has data, one additional pin goes to state 0. Upon request from the computer via UART(RS-485), these buffers are transmitted to the computer.
The configuration of the controller that occurs via UART(RS-485):
About 30 teams:
I2C addresses assigned to each interrupt pin.
Determine which pins will be involved in the routine work.
The UART address of the controller itself.
Speed of operation of UART and I2C.
In addition:
Update the program of the controller through UART (boot loading)
Sensor configuration via UART: Data is sent from the computer via UART, which is transmitted by the controller over I2C to each connected sensor using a given algorithm.
A detailed algorithm of work in the “diagram block” and a description of each command will be provided.
Programmer services are required. You need a program for STM32 to poll sensors via I2C and transfer data to Host.
Controller:
STM32F103C8T6 ARM STM32 Minimum System Development Board Module
Description:
Up to 10 sensors are connected to the controller, all of them are on a common I2C line.
From each controller there is an additional wire signaling interrupt.
Routine operation of the controller:
Survey up to 10 pins per interrupt (the number of pins connected is programmed into FLASH memory). After receiving the interrupt, the controller reads data from the sensor via I2C (each pin has its own sensor address that is written to FLASH memory via UART) and places them in the buffer. When the buffet has data, one additional pin goes to state 0. Upon request from the computer via UART(RS-485), these buffers are transmitted to the computer.
The configuration of the controller that occurs via UART(RS-485):
About 30 teams:
I2C addresses assigned to each interrupt pin.
Determine which pins will be involved in the routine work.
The UART address of the controller itself.
Speed of operation of UART and I2C.
In addition:
Update the program of the controller through UART (boot loading)
Sensor configuration via UART: Data is sent from the computer via UART, which is transmitted by the controller over I2C to each connected sensor using a given algorithm.
A detailed algorithm of work in the “diagram block” and a description of each command will be provided.