무슨일이지 ? 아래와 같은 메시지와 함께 어제 밤부터 돌아가던 프로그램이 중단되어 있어 검토중이다.
참고 사이트 가봐도 좀 어렵다. https://www.raspberrypi.org/forums/viewtopic.php?p=184410#p184410
Humidity = 19.60 % Temperature = 22.30 *C Humidity = 19 Temperature = 22 Temperature = 22 Data not good, skip Humidity = 19.60 % Temperature = 22.30 *C Humidity = 19 Temperature = 22 Humidity = 19 Fri Jan 8 03:01:47 2016 SensorInterruptLoop : write to DB - INSERT INTO tfarmsensorvalue values (null ,now(), now(), 22.000000, 19.000000, 1) iot_insert_data_from_db : query - INSERT INTO tfarmsensorvalue values (null ,now(), now(), 22.000000, 19.000000, 1) SensorInterruptLoop : write to DB - INSERT into tfarmsensorcheck values (null, now(), now(), 22.000000, 19.000000, 1) iot_insert_data_from_db : query - INSERT into tfarmsensorcheck values (null, now(), now(), 22.000000, 19.000000, 1) SensorInterruptLoop : write to DB - INSERT into tfarmactuoperate values (null, now(), now(), 0, 0, 0, 0) iot_insert_data_from_db : query - INSERT into tfarmactuoperate values (null, now(), now(), 0, 0, 0, 0) SensorInterruptLoop : write to DB - INSERT into tfarmactucheck values (null, now(), now(), 1, 1, 1) iot_insert_data_from_db : query - INSERT into tfarmactucheck values (null, now(), now(), 1, 1, 1) piBoardRev: Unable to determine board revision from /proc/cpuinfo -> Unable to open /proc/cpuinfo -> You may want to check: -> http://www.raspberrypi.org/phpBB3/viewtopic.php?p=184410#p184410 pi@raspberrypi ~ $ pi@raspberrypi ~ $
찾아보는중...
아래 참고 : https://github.com/WiringPi/WiringPi2-Python/issues/21
Hi,
thanks for the answer. in the mean time i found out the problem.
It was my own mistake. i'm calling a c funktion from java over jni. In this c funktion i call setupWiringPI(). So everytime i call this funktion, i open a new file /proc/cpuinfo. That was the cause. After a long time i opened too many files and the system crashed. Now created a new JNI funktion just for setupWiringPI()..
'개발자 > Raspberry Pi' 카테고리의 다른 글
| 라즈베리 파이의 씨리얼포트(UART)- RX, TX 를 데이터 입출력으로 사용 (0) | 2016.03.31 |
|---|---|
| Raspberry Pi GPIO 와 wiringPi 라이브러리 (0) | 2016.03.24 |
| 라즈베리 파이 7인치 터치스크린 touch screen 디스플레이 (0) | 2016.02.14 |
| 사물인터넷 DIY 방과후 강사 양성 교육 - 강의 후기 (0) | 2016.01.28 |
| 라즈베리파이 - 리눅스 시스템 모니터링 명령어 (0) | 2015.12.27 |
| 어딜 가도 나이 드신 분들이 많이 온다. - 제15회 K.E.L.P 공개 세미나 참석 후기 (0) | 2015.12.07 |
| Raspberry Pi with Linux LESSONS - 라즈베리 파이 레슨 자료 링크 (0) | 2015.11.24 |
| 영상의 분산 처리를 통한 무인 주행 시스템 - 참고자료 부분 (0) | 2015.10.07 |
취업, 창업의 막막함, 외주 관리, 제품 부재!
당신의 고민은 무엇입니까? 현실과 동떨어진 교육, 실패만 반복하는 외주 계약,
아이디어는 있지만 구현할 기술이 없는 막막함.
우리는 알고 있습니다. 문제의 원인은 '명확한 학습, 실전 경험과 신뢰할 수 있는 기술력의 부재'에서 시작됩니다.
이제 고민을 멈추고, 캐어랩을 만나세요!
코딩(펌웨어), 전자부품과 디지털 회로설계, PCB 설계 제작, 고객(시장/수출) 발굴과 마케팅 전략으로 당신을 지원합니다.
제품 설계의 고수는 성공이 만든 게 아니라 실패가 만듭니다. 아이디어를 양산 가능한 제품으로!
귀사의 제품을 만드세요. 교육과 개발 실적으로 신뢰할 수 있는 파트너를 확보하세요.
캐어랩