2018년 이전 관심사/Arduino(17)
-
Arduino Sketch 버전을 1.5.x로 변경시 발생하는 컴파일 에러를 해결하는 방법
Arduino Sketch 버전을 1.5.x로 변경시 발생하는 컴파일 에러를 해결하는 방법아두이노 라이브러리를 작업하면서, Arduino Sketch 버전을 1.5.x로 변경하면 아래와 같은 컴파일 에러가 발생하는 경우가 있다. error: variable ‘debugreceivingdatatable’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’ error: variable ‘notistring_table’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’ error: va..
2014.10.20 -
Arduino 기반의 WizFi250 SPI Signal 확인 방법
Arduino 기반의 WizFi250 SPI Signal 확인 방법SPI Signal 측정을 위한 준비 과정 Arduino Board와 WizFi250을 연결 Oscilloscope를 사용하기 위해, 아래 그림과 같이 SPI pin(MOSI,SS,SCK,MISO,GND)들에 Cable을 연결 일반적인 SPI 파형 SPI Data를 송/수신 하면, SS(CS)는 low로 설정되고 SCK(CLK)가 8번 분주한다. 이때, 아래 그림과 같이 MISO,MOSI 핀을 이용하여 SPI Data를 송/수신 한다. 아래 그림은 SS(CS) 주기를 기준으로 Capture 한 사진이다. WizFi250이 MCU에게 데이터를 송신 할 때의 파형 WizFi250이 MCU에게 보낼 데이터가 있으면, Data Ready Pin은..
2014.09.01 -
WizFi250-EVB(Arduino Shield) 이용 시, Check 사항
WizFi250-EVB는 Arduino Shield 역할도 할 수 있도록 설계 되어 있다. 때문에, Arduino Board에 WizFi250-EVB을 연결하면 Arduino Board에서 WizFi250을 쉽게 제어 할 수 있다. 그럼 Arduino Board에서 WizFi250-EVB를 Shield 처럼 사용하기 위해 체크 해야 하는 사항들을 정리 한다. 1. WizFi250이 SPI Mode로 동작하는지 확인 해야 한다. WizFi250 Arduino Library는 SPI Interface를 사용해서 WizFi250-EVB(Arduino Shield)와 Arduino를 연결하기 때문에 WizFi250의 현재 모드를 확인 해야 한다. WizFi250은 Factory Default Setting 후,..
2014.08.16 -
IOT를 겨냥한 Arduino Zero Board
Atmel에서도 IoT를 겨냥하여 32-bit Aruino Zero Board를 출시 하였다.MCU는 Atmel의 SAMD21(Cortex M0)를 탑재 하였으며, 기존의 핀 맵들을 Aruino Uno 보드와 100% 호환되게 만들었으며 기본적인 스펙은 아래와 같다. MicrocontrollerATSAMD21G18, 48pins LQFPOperating Voltage3.3VDigital I/O Pins14, with 12 PWM and UART Analog Input Pins6, 12-bit ADC channelsAnalog Output Pins1, 10-bit DACDC Current per I/O Pin7 mAFlash Memory256 KBSRAM32 KBEEPROMup to 16KB by emul..
2014.05.26 -
Arduino Platform Board Specs
Arduino Platform을 고르는 중, Arduino 사이트에 잘 정리되어 있는 표가 있어 공유 한다. (http://arduino.cc/en/Products.Compare) Compare board specs This simple table shows a quick comparison between the characteristics of all the Arduino boards. ATmega328, ATmega32u4, ATmega2560, ATmega328P, ATmega168 are 8bit MCU. AT91SAM3X8E is Cortex-M3 of Ateml.
2014.04.27 -
[Arduino]Eclipse에서 Serial Monitor 사용하기
Arduino Uno는 별도의 JTAG 인터페이스를 제공하고 있지 않는다. 때문에 Arduino Uno 기반의 프로젝트를 디버깅 하기 위해서는 UART 인터페이스 만이 유일한 방법이다. ( 아닌 경우에 댓글 남겨 주세요. 수정 하겠습니다. ) Arduino에서는 UART 인터페이스를 모니터링 하기 위한 Serial Monitor를 제공하는데, 나는 이 Serial Monitor를 Eclipse 환경에서 사용 할 수 있는 방법을 설명 한다. Eclipse에서 Arduino Plug in을 설치 한 후, [Window]-[Show View]-[Other]-[Arduino]-[Serial monotor view]를 선택 하면 Serial Monitor를 Enable 할 수 있다. Serial Monitor를 ..
2014.02.16