embeded/arduino(genuino)2017. 10. 26. 14:30

홈페이지 만드는거 따윈 포기하고

역시 땜질이 최고지(?) ㅋㅋ


블루투스 이어폰 잘라놓은거 한번 만들어 보고

릴레이로 무언가 좀 장난질 좀 쳐봐야지(아.. 남는 멀티탭이 있으려나? ㅠㅠ)



Posted by 구차니
embeded/arduino(genuino)2017. 10. 26. 13:48

예전에는 그냥 GPIO로 제어만 해서

실제로 AC나 DC를 물리지 않았던 지라..

한번 선풍기/전기장판 이런거 제어해볼가 하고 일단 구매하려고 하는데..


AC는 두개를 모두 릴레이로 따로 제어해주어야 하나?

하나의 선만 하면되려나? 헷갈리네?


[링크 : http://deneb21.tistory.com/222]

[링크 : http://bbangpan.tistory.com/79]

[링크 : http://blog.naver.com/yunks4001/220029836358]


[링크 : http://rabbitmax.com/files/SONGLE-SRD-05VDC-SL-C.pdf]


일단은.. 그냥 NC-COM 연결하면 되는거 같긴한데..

[링크 : http://howtomechatronics.com/tutorials/arduino/control-high-voltage-devices-arduino-relay-tutorial/]


NO에 연결하면 LOW 일때 스위치가 연결되는 듯?

그럼.. NC에 하면 LOW 일때 스위치가 끊어지려나?

digitalWrite(RELAY1,LOW); // Turns ON Relays 1

Serial.println("Light ON");

delay(2000); // Wait 2 seconds

digitalWrite(RELAY1,HIGH); // Turns Relay Off

Serial.println("Light OFF");

delay(2000); 

[링크 : http://www.instructables.com/id/Controlling-AC-light-using-Arduino-with-relay-modu/]


A접점(arbeit contact)은 전기적으로 릴레이에 전류가 흐르면 동작하여 닫히는(ON) 접점

(normally open contact). 

 

B접점(break contact)은 전기전으로 릴레이에 전류가 흐르면 동작하여 접점이 열리는(OFF) 접점.

상시폐접점(normally closed contact).


C접점(change-over contact)은 a, b접점부를 공유, 트랜스퍼 접점(transfer contact) 이라고도 함.


A접점=NO(Normally open)

B접점=NC(Normally closed)

C접점=Transfer contact

[링크 : http://blog.naver.com/hjhmsshs/50190270118]



+

2020.03.07

전원선 끊어서 NO(normal open, 전원 차단시 꺼짐) - COMMON에 연결하면 된다.

[링크 : http://makeshare.org/bbs/board.php?bo_table=arduinoetc&wr_id=14]

[링크 : https://studyingandsuccess.tistory.com/18]

Posted by 구차니
embeded2017. 10. 17. 16:55

특이한 녀석이 있어서 정리

MCU인데.. 별도의 부트 영역을 지원하는 녀석

머.. 다르게 보면.. AVR의 boot sector / 퓨즈비트의 BOOTSZ 가 이거랑 비슷한 느낌이지만

cortex-m 시리즈에서 이런 기능은 또 처음이라...



[링크 : http://www.nuvoton.com/resource-files/TRM_ISD9160_Series_EN_Rev1.41.pdf]

[링크 : http://www.nuvoton.com/.../aui-enablers-series/isd9160?__locale=en]

[링크 : http://www.nuvoton.com/resource-files/EN_ICPTool_User_Guide.pdf]

'embeded' 카테고리의 다른 글

프로그램 영역(code) 변수 저장하기  (0) 2018.01.15
USB UART - CH340  (2) 2017.10.30
DSO Nano 리뷰 찾아보니..  (0) 2017.10.16
프로세서별 연산량 벤치마크(float)  (0) 2017.04.19
PCB 마킹 의미  (0) 2016.07.28
Posted by 구차니
embeded2017. 10. 16. 14:05

딴거 다 필요 없고.. 100KHz 넘어가면 파형이 무너진다...

시리얼 115kbps 정도까지가 한계고

400kbps i2c는 어림도 없다는 의미네? ㅠㅠ


[링크 : https://www.clien.net/service/board/use/3878932]

'embeded' 카테고리의 다른 글

USB UART - CH340  (2) 2017.10.30
nuvoton cortex-m0 ISD9160 LDROM  (0) 2017.10.17
프로세서별 연산량 벤치마크(float)  (0) 2017.04.19
PCB 마킹 의미  (0) 2016.07.28
COM26T2844VTX 관련...  (0) 2016.03.16
Posted by 구차니
embeded/raspberry pi2017. 10. 9. 20:09

센서 좋네 하나 사고 싶다 ㅋㅋ

근데 솔찍히.. mpu6050 하나면

지자기 센서와 기압계 두개면 커버가 되는 느낌인데

잘 찾아 보면

ADXL345 + L3G4200D 대신 MPU6050 + HMC5883L + BMP180 도 있을지도 모르겠네


 Part NumberI2C Address 
3 Axis GyroST Microelectronics L3G4200D  0x69Datasheet
3 Axis AccelerometerAnalog Devices ADXL345 0x53Datasheet
3 Axis MagnetometerHoneywell MC5883L0x1EDatasheet
Barometer + ThermometerBosch BMP0850x77Datasheet

[링크 : http://selfbuilt.net/shop/gy-80-inertial-management-unit]

[링크 : http://eleparts.co.kr/EPXFBJ8R]


역시 존재하는군

GY-86

MPU6050+HMC5883L+MS5611

[링크 : http://eleparts.co.kr/EPXFBJ8U]


GY-271 이라는 녀석으로 HMC5883L 을 단독으로 쓰는 보드도 있는데

엘레파츠에 수입되진 않나보네

[링크 : http://www.robotpark.com/image/data/PRO/91457/GY_271_ELECTRONIC_COMPASS.pdf]


[링크 : http://eleparts.co.kr/EPXFBJ8M] GY-63 MS5611 보드

[링크 : http://eleparts.co.kr/EPXFBJ8N] GY-65 BMP085 보드

'embeded > raspberry pi' 카테고리의 다른 글

piwall / yodeck  (0) 2017.11.08
rpi dual spi lcd  (0) 2017.11.08
gyro를 조합하여 정밀하게 사용하기  (0) 2017.09.22
어엌.. 라즈베리 gedit 이쁜데?  (0) 2017.09.16
기압계 센서  (0) 2017.09.07
Posted by 구차니
embeded/raspberry pi2017. 9. 22. 09:04

대충 요약하면 정밀도를 올리기 위해

여러개의 자이로의 데이터를 조합하여 사용한다, 정도?


1차 마크로브 이런게 나오는데 좀 찾아 봐야 할 것 같네..

개인적으로는 사람의 귀처럼 좌우로 분리해서 중심축에서 벗어난 회전에 대해

어떻게 계측이 가능할까? 하나보다는 두개로 하면 두개의 차이를 통해

기존에 하나로는 획득하지 못했던 위치 정보의 변화를 얻어낼수 있지 않을까? 였는데


조금 고민해보니.. 가속도 센서 두개로 하는거지 자이로는 굳이 여러개 있을 이유가 없을지도?

(mpu6050 여러개 사놔서 이런 망상을 -ㅁ-)


[링크 : http://www.mdpi.com/1424-8220/12/2/1720/pdf]

[링크 : https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20110024157.pdf]

'embeded > raspberry pi' 카테고리의 다른 글

rpi dual spi lcd  (0) 2017.11.08
GY-80 / GY-801  (0) 2017.10.09
어엌.. 라즈베리 gedit 이쁜데?  (0) 2017.09.16
기압계 센서  (0) 2017.09.07
라즈베리 라디오?  (0) 2017.09.04
Posted by 구차니
embeded/raspberry pi2017. 9. 16. 11:22

엥 구버전이라 더 이쁜건가

얘가 오히려 더 신버전인가?




+

역시 내 주제에 무슨 vi야.. gedit가 최고지 ㅋㅋㅋ

'embeded > raspberry pi' 카테고리의 다른 글

GY-80 / GY-801  (0) 2017.10.09
gyro를 조합하여 정밀하게 사용하기  (0) 2017.09.22
기압계 센서  (0) 2017.09.07
라즈베리 라디오?  (0) 2017.09.04
ublox NEO-6M GPS  (0) 2017.09.01
Posted by 구차니
embeded/raspberry pi2017. 9. 7. 17:45


보쉬의 BMP085 / BMP180 센서는 둘다 스펙은 같으나

BMP180이 패키징 사이즈가 더 작은 차이가 있다.


300~1100hPa / 1.8~3.6V / i2c

[링크 : http://www.eleparts.co.kr/data/design/product_file/SENSOR/G_SENSOR/data/BMP085.pdf] BMP085

[링크 : http://eleparts.co.kr/data/design/product_file/SENSOR/G_SENSOR/data//BMP180-DS000-07.pdf] BMP180

[링크 : https://www.eleparts.co.kr/EPXFBJ8N] BMP085 / GY-65 15900

[링크 : https://www.eleparts.co.kr/EPXFBJ8P] BMP180 / GY-68 6900


450~1100mbar / 10cm / 1ms / i2c & spi

[링크 : http://eleparts.co.kr/data/design/product_file/SENSOR/G_SENSOR/data/MS5611-01BA01.pdf] MS5611

[링크 : https://www.eleparts.co.kr/EPXFBJ8M] MS5611 / GY-63 16900

'embeded > raspberry pi' 카테고리의 다른 글

gyro를 조합하여 정밀하게 사용하기  (0) 2017.09.22
어엌.. 라즈베리 gedit 이쁜데?  (0) 2017.09.16
라즈베리 라디오?  (0) 2017.09.04
ublox NEO-6M GPS  (0) 2017.09.01
부품 도착!  (0) 2017.09.01
Posted by 구차니
embeded/raspberry pi2017. 9. 4. 15:56


SDR  - Software Defined Radio


[링크 : http://blog.naver.com/jinny444/220933447602]


[링크 : http://gqrx.dk/]

[링크 : http://airspy.com/download/] SDR# for windows


쓸데없이 흥미가 가네 한번 구매해서 해볼까? 가격도 그리 나쁘지 않은데?

[링크 : http://search.auction.co.kr/search/search.aspx?keyword=RTL2832U]




얘는 GPIO로 바로 전파를 만들어내는 듯?(TX)

Now connect a 70cm (optimally, ~20cm will do) or so plain wire to GPIO 4 (which is pin 7 on header P1) to act as an antenna, and tune an FM radio to 103.3Mhz.

[링크 : http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter]

[링크 : https://zariski.wordpress.com/2013/01/24/라즈베리-파이를-fm-트랜스미터로-만들기/]


GCLK 포트가 GPIO4 인데 찾아보니.. General Clock 이라고 드럽게 재귀적으로 설명을 해놨네 -_-


GCLK (general clock) generate a general purpose clock (square wave of user defined frequency).

[링크 : https://raspberrypi.stackexchange.com/.../raspberry-pi-2-pinout-what-are-gclk-spi-ce0-and-spi-ce1]

'embeded > raspberry pi' 카테고리의 다른 글

어엌.. 라즈베리 gedit 이쁜데?  (0) 2017.09.16
기압계 센서  (0) 2017.09.07
ublox NEO-6M GPS  (0) 2017.09.01
부품 도착!  (0) 2017.09.01
레트로 파이.. 준비(?)  (0) 2017.08.07
Posted by 구차니
embeded/raspberry pi2017. 9. 1. 15:09

얘는.. 플래시 달아야 하는 녀석이니 상관없을려나..?

AssistNow Autonomous Disabled.


1.5 Assisted GPS (A-GPS)

Supply of aiding information like ephemeris, almanac, rough last position and time and satellite status and an optional time synchronization signal will reduce time to first fix significantly and improve the acquisition

sensitivity. All NEO-6 modules support the u-blox AssistNow Online and AssistNow Offline A-GPS services and are OMA SUPL compliant.



1.6 AssistNow Autonomous

AssistNow Autonomous provides functionality similar to Assisted-GPS without the need for a host or external network connection. Based on previously broadcast satellite ephemeris data downloaded to and stored by the GPS receiver, AssistNow Autonomous automatically generates accurate satellite orbital data (“AssistNow Autonomous data”) that is usable for future GPS position fixes. AssistNow Autonomous data is reliable for up to 3 days after initial capture. u-blox’ AssistNow Autonomous benefits are: Faster position fix

No connectivity required Complementary with AssistNow Online and Offline services No integration effort, calculations are done in the background For more details see the u-blox 6 Receiver Description including Protocol Specification [2].


1.12.3 Serial Peripheral Interface (SPI)

The SPI interface allows for the connection of external devices with a serial interface, e.g. serial flash to save

configuration and AssistNow Offline A-GPS data or to interface to a host CPU. The interface can be operated in

master or slave mode. In master mode, one chip select signal is available to select external slaves. In slave mode a

single chip select signal enables communication with the host.  

 

[링크 : https://www.u-blox.com/.../NEO-6_DataSheet_%28GPS.G6-HW-09005%29.pdf]


NMEA 프로토콜이랑 등등 나오는 듯...

[링크 : http://www.waveshare.com/.../U-blox-6-Receiver-Description-Including-Protocol-Specification.pdf]

A-GPS: AssistNow Online and AssistNow Offline services, OMA SUPL compliant

[링크 : https://www.u-blox.com/.../NEO-6_ProductSummary_%28GPS.G6-HW-09003%29.pdf]

[링크 : https://www.u-blox.com/ko/product/neo-6-series[] NEO-6M인데 단종이네



+

[링크 : https://learn.adafruit.com/adafruit-ultimate-gps-hat-for-raspberry-pi/use-gpsd]

[링크 : https://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi?view=all]

[링크 : https://www.adafruit.com/product/746] MTK3339 기반 GPS


+

ublox 서버를 이용한 agps

[링크 : https://gist.github.com/veproza/55ec6eaa612781ac29e7]

[링크 : http://people.openmoko.org/matt_hsu/ImplementationAssistNowServerAndClient(GPS.G4-SW-05017-C).pdf]

'embeded > raspberry pi' 카테고리의 다른 글

기압계 센서  (0) 2017.09.07
라즈베리 라디오?  (0) 2017.09.04
부품 도착!  (0) 2017.09.01
레트로 파이.. 준비(?)  (0) 2017.08.07
rpi pwm markspace balanced mode waveform  (0) 2017.06.29
Posted by 구차니