전체상품목록 바로가기

본문 바로가기


현재 위치
  1. home
  2. community
  3. 기술문의 :)

기술문의 :)

기술문의 게시판 입니다.

상품 게시판 상세
subject 카메라가 작동이 안됩니다.
writer 아트로봇 (ip:)
  • date 2013-05-19 22:29:14
  • like 추천하기
  • view 96
rating 0점

안녕하세요

 

일단 예상되는 사항은 아래와 같습니다.

 

예제 상단 주석을 참고하시면,  SD쉴드는 스파크펀사 제품을 기준으로 소스가 작성되어있습니다.

이때문에 해당 제품과 핀번호가 다른경우 소스수정을 해주셔야합니다.

 

소스주석:
Hardware Notes:
This sketch assumes the arduino has the microSD shield from SparkFun attached.
The camera Rx/Tx should be attached to pins 2 and 3.
IMPORTANT: The JPEG camera requires a TTL level shifter between the camera output
and the arduino. Bypassing this may damage the Arduino pins.

 

즉, 보유하신 SD쉴드와  샘플소스에서 참고한 sD쉴드는 핀번호가 다릅니다.

 

아래는 스파크펀 sd쉴드 제품소개문입니다.   제품링크

Communication with microSD cards is achieved over an SPI interface. The SCK, DI, and DO pins of the microSD socket are broken out to the ATmega168/328's standard SPI pins (digital 11-13), while the CS pin is broken out to Arduino's D8 pin. If you decide to use one of the many open source FAT libraries (like FAT16 or SDFat) make sure to change the code to reflect the location of the CS pin. Most libraries assume the CS pin is connected to D10; this will have to be changed to D8. Also for the libraries to work pin D10 will have to be set as an output in the 'setup()' section of your sketch. The shield also includes a large prototyping area with a 13x12 grid of 0.1" pitch PTHs.

 

핀번호를 D8에서 D10으로 변경하셔야할것 같습니다.

더불어  SD 라이브러리가 해당 제품과 호환되지 않을수도 있으므로   해당라이브러리 호환이 되지 않을경우  보유하신 제품용 라이브러리로 대체하셔야합니다.

 


---------- Original Message ----------

 스케치 버전: 0024, 1.0.5, 1.0.4

 아두이노 uno R3와 SD 메모리 쉴드 E형을 쓰고 있습니다.

 

 카메라가 작동이 안되는 것 같습니다.

 올려주신 software Link sprite를 써도 사진이 찍히지 않습니다.

 

 1. 저희가 더 필요한 부품이 있는지 알려주시면 감사하겠습니다.

 2. 주신 라이브러리도 예제 피일들도 오류가 생기는데 해결 방법 알려주시면 감사하겠습니다.

3. 예제 소스를 보면 pinmode가 2,3,4 던데 왜 3개인지 이유도 알려주시면 감사하겠습니다. 

file
password 삭제하려면 비밀번호를 입력하세요.
댓글 수정

password :

/ byte

비밀번호 : 확인 취소

댓글 입력

commentsname : password : 관리자 답변 보기

/ byte

왼쪽의 문자를 공백없이 입력하세요.(대소문자구분)

회원에게만 댓글 작성 권한이 있습니다.

관련 글 보기

관련글 모음
번호 상품명 제목 작성자 작성일 조회
6051 카메라 질문입니다. 김진수 2013-07-17 58
6059 카메라 질문입니다. 아트로봇 2013-07-17 63
5414 아두이노 버전 관련 이병철 2013-05-21 2
5417 아두이노 버전 관련 아트로봇 2013-05-21 3
5393 카메라가 작동이 안됩니다. 김소리 2013-05-19 4