Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
This simulink model reads temperature from k-Type thermocouple using SPI device (MAX6675).
CS pin is set low to start the conversion process in MAX6675. SPI block initiate the clock cycle. Upon falling pulse data is read as MSB and LSB. Pulse generator is used for continuous conversion and ultimately reading temperature.
The bits are then merge together and shift right 3 bits to read only temperature signal D14 to D03. Multiplied by offset to get temperature in centigrade.
Really appreciate the MATLAB's answers which supported alot in getting this done.
Citation pour cette source
Atta Wasay (2026). Reading k-type thermocouple using SPI (https://fr.mathworks.com/matlabcentral/fileexchange/154752-reading-k-type-thermocouple-using-spi), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.0 (61,9 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions jusqu’à R2021b
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0 |