Answer
Nov 11, 2025 - 12:43 PM
To connect the Whadda WPSH202 Arduino Compatible Data Logging Shield to your Arduino board, follow these steps:
1. **Compatibility:** Ensure that you are using an ATmega2560-based MEGA or ATmega32u4-based Leonardo development board as the data logging shield is compatible with these boards.
2. **Modify Card Info Sketch:**
- Open the Card Info sketch in the Arduino IDE.
- Change line 36 in the sketch to: `const int chipSelect = 10;`
- Modify the line in the sketch from: `while (!card.init(SPI_HALF_SPEED, chipSelect)) {` to: `while (!card.init(SPI_HALF_SPEED, 1, 11, 12, 13)) {`
3. **Download Updated SD Library:**
- Download the updated SD library from the products page on www.velleman.eu.
- Ensure that you also download the RTClib.zip file.
- Create an empty folder named 'SD' in your Arduino libraries folder.
- Extract the downloaded SD library into the 'SD' folder, making sure that the .h and .cpp files are in the root of the 'SD' folder.
4. **Connect the Shield:**
- Plug your data logging shield into your Arduino Uno compatible board.
- Insert a formatted SD card (FAT16 or FAT32) into the slot on the shield.
5. **Testing:**
- Open the sample sketch [Card info] in the Arduino IDE.
- Change line 36 in the sketch to: `const int chipSelect = 10;`
- Follow the instructions in the manual to test the SD card and RTC functionality.
By following these steps and referring to the manual for additional details, you should be able to successfully connect and set up the Whadda WPSH202 Arduino Compatible Data Logging Shield with your Arduino board.
User Manual Q&A

Add New Comment