Exercise 10: SD card
This activity is supplementary for those who have a hardware. Unfortunately, SimulIde software does not contain any SD card module, but we encourage you to watch at least the movie to understand the idea.
Main topic:
- SD card
Components: ATmega32, DS18B20 sensor, SD card module.
Activity 1
In exercise 1, create a program that will read the temperature value from the DS18B20 sensor and then save the read value to a file on the SD card. The recording should take place every 1s. Also connect the LCD display to microcontroller to display messages. The file should be closed after pressing the switch.
Remember to connect the switch and the SD card to the microcontroller (CS output of the SD card to the SS of the microcontroller - PB4).
When you're finished, compare the result with the videos:
Remember to connect the switch and the SD card to the microcontroller (CS output of the SD card to the SS of the microcontroller - PB4).
When you're finished, compare the result with the videos: