background image

 

 

 

 

 4 

 

 

 

 

 

 

2.

 

Your data logging shield uses chipSelect 10 instead of chipSelect 4. Change line 36 in the 
sketch to: 

 

const int chipSelect = 10;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IMPORTANT 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The ATmega2560-based MEGA compatible (e.g. WPB101) and ATmega32u4-based Leonardo 
compatible (e.g. WPB103) development boards do not use the same hardware SPI pin-out. If 
you are using one of these boards, please specify the pins used for SPI communication with 
the SD card. For the VMA202, these are pins 10, 11, 12 and 13. 

 

 

 

In the CardInfo sketch, modify line: 

 

while (!card.init(SPI_HALF_SPEED, chipSelect)) {

 

 

to: 

 

while (!card.init(SPI_HALF_SPEED,1,11,12,13)) {

 

 

 

 

 

Содержание Arduino WPSH202

Страница 1: ...MANUAL EN Arduino Compatible Data Logging Shield WPSH202 whadda com ...

Страница 2: ...sons with reduced physical sensory or mental capabilities or lack of experience and knowledge if they have been given supervision or instruction concerning the use of the device in a safe way and understand the hazards involved Children shall not play with the device Cleaning and user maintenance shall not be made by children without supervision General Guidelines Refer to the Velleman Service and...

Страница 3: ...essage or publishing online Surf to www arduino cc for more information Product overview A dedicated and well designed data logging shield for Arduino The SD card interface works with FAT16 or FAT32 formatted cards The 3 3 V level shifter circuitry prevents damage to your SD card The real time clock RTC keeps the time going even when the Arduino is unplugged The battery back up lasts for years Wor...

Страница 4: ...1 and ATmega32u4 based Leonardo compatible e g WPB103 development boards do not use the same hardware SPI pin out If you are using one of these boards please specify the pins used for SPI communication with the SD card For the VMA202 these are pins 10 11 12 and 13 In the CardInfo sketch modify line while card init SPI_HALF_SPEED chipSelect to while card init SPI_HALF_SPEED 1 11 12 13 ...

Страница 5: ...to C Program Files Arduino libraries SD and move all files and maps to your newly created map 4 Extract the downloaded SD library into the now empty SD map Make sure that the h and cpp files are directly under C Program Files Arduino libraries SD 5 Start the Arduino IDE Testing the RTC Real Time Clock 1 Download the RTClib zip file from the products page on www velleman eu 2 In the Arduino IDE sel...

Страница 6: ...6 whadda com Modifications and typographical errors reserved Velleman Group nv WPSH202_v01 Velleman Group nv Legen Heirweg 33 9890 Gavere ...

Отзывы: