본문 바로가기

2019/03

(14)
[nRF52 xBee EVM] 개발환경 설정 (IAR, nRF52810) nRF52 보드 조립하고 JLINK로 연결 했는데... 연결이 안된다. nRF51보드는 잘 연결된다. 뭐가 문제 일까? 기존 nRF51822 보드와 동일한 핀맵으로 제작 되었기 때문에 같은 환경이라 문제가 없어야 하는데... 사용한 칩셋이 nRF52 시리즈 중 가장 저렴한 nRF52810 칩이다. 이게 문제 인가? 구글링 결과 nRF Command-Line Tools 를 설치 하라고 한다. https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools nRF Command Line Tools The nRF Command Line Tools are used for development, programming, and debuggin..
[nRF52 xBee EVM] Bluetooth Low Energy 보드 제작 Bluetooth 5.2 SoC supporting Bluetooth Low Energy [nRF52 xBee EVM] 보드를 표준핀맵의 xBee EVM 형태로 제작 했다. 이전에 제작 했던 [nRF51 xBee EVM] 보드와 동일하 형태 이지만 MCU 및 Bluetooth 성능이 향상된 보드이다. 64 MHz Cortex-M4 192 KB Flash, 24 KB RAM 2.4 GHz transceiver 2 Mbps, 1 Mbps Bluetooth Low Energy ANT +4 dBm TX power 128-bit AES UART, SPI, TWI, PDM PWM 12-bit ADC [nRF52 xBee EVM] 핀맵 [nRF52 xBee EVM] 보드는 다양한 형태의 xBee EVM 확장테스트 보..
[STM32G0 SSM] Arduino - Serial1 추가 하기 STM32G031은 2개의 UART를 가지고 있다. UART를 하나 더 추가 해 보자 UART1, UART2 핀맵은 아래와 같이 할당 가능하다. Aruino 폴더에서 소스 파일을 열어 보면 시리얼 클레스를 확인 할 수 있다. \arduino\HardwareSerial.cpp HardwareSerial::HardwareSerial(uint32_t _rx, uint32_t _tx) { init(digitalPinToPinName(_rx), digitalPinToPinName(_tx)); } HardwareSerial::HardwareSerial(PinName _rx, PinName _tx) { init(_rx, _tx); } HardwareSerial::HardwareSerial(void *periphera..
[EXP32 xBee EVM] W5500 UDP 테스트 ESP32는 WiFi를 내장 하고 있어서 UDP통신을 구현 할수 있지만 일반 MCU로 사용한다고 해도 충분히 사용하기 편리하고 저렴해서 해서 여러 용도로 적용하면 좋을것 같다. W5500 을 이용하여 이더넷으로 ADC값의 그래프를 표시 하는 프로젝트에 적용해 보았다. ESP32를 이용한 W5500초기화코드 #include #include #include #include "local_config.h"//
[ESP32 xBee EVM] W5500 웹서버 테스트 ESP32에서 유선 랜을 사용하기 위해 W5500 모듈을 테스트 해 보았다. 는 WiFi 가 기본적으로 내장되어 있는 칩 이라 기존에 Arduino에서 테스트 했던 W5500 테스트 코드를 구동하려고 했는데 컴파일 에러가 발생 한다. WebServer_temp:40:16: error: cannot declare variable 'server' to be of abstract type 'EthernetServer' EthernetServer server(80); ^~~~~~ In file included from C:\Users\nexp7\OneDrive\\Arduino\libraries\Ethernet2\src/Ethernet2.h:17, C:\Users\nexp7\OneDrive\\Arduino\lib..
[ESP32 xBee] MAX31856 써모커플 온도 센서 테스트 ESP32 xBee 모듈 보드를 이용하여 SPI 방식의 써모커플 온도센서 측정 모듈 MAX31856 보드를 테스트 했다. 라이브러리는 Adafruit MAX31856 를 사용하여 테스트 했다. ESP32 MAX31856 Arduino 소스코드 #include #define DRDY_PIN 7 // use hardware SPI, just pass in the CS pin Adafruit_MAX31856 maxthermo = Adafruit_MAX31856(13); void setup() { Serial.begin(115200); while (!Serial) delay(10); Serial.println("MAX31856 thermocouple test"); pinMode(DRDY_PIN, INPUT); ..

반응형