Author: 호그

PoE Automatic Potion Drink!! If Hit point is half…

Hello life on the room. 

I added an upgrade to my last post and this time I used OpenCV to create a Python code that automatically takes potions when your health or mana is half-baked!

First, let's learn about the files that were added or changed before entering.

drinkportion.py – Changed to press a specific key as a result of the change and image processing. 
config.cfg – Added options for changes, video processing, and the keyboard value to press at critical point Trigger. 
cvFunc.py – It is about additional and video processing.

POE 자동 물약 먹기 !! if 체력 반피시 …

안녕하세요 라이프온룸 입니다. 

저번 포스팅에 업그레이드를 가미해서 이번엔 OpenCV 를 이용해서 체력 혹은 마나가 반토막이 되었을 때 물약을 자동으로 먹는 파이썬 코드를 만들어 봤어요 !

우선 들어가기 이전에 추가되거나 변경된 파일에 대해 알아볼게요

drinkportion.py – 변경, 영상처리 결과로 특정 키를 누르도록 변경되었습니다. 
config.cfg – 변경, 영상처리 그리고 임계점 Trigger시 누를 키보드 값에 대한 옵션이 추가되었습니다. 
cvFunc.py – 추가, 영상처리에 관한 내용입니다.

Arduino PRO MICRO macro keyboard, mouse

Hello life on the room. !! Very nice 

Today, I'll create a macro Keyboard, Mouse with serial data that came with Arduino Pro Micro.

The preparation is simple. The only Arduino Pro Micro

The Arduino Pro Micro is a ATMEGA32U4-compatible board that allows you to program on the chip. So all serial HID is possible! Just 5V version and 3.3 V are present. In the case of the 5V version, it works at 16MHz, and if you see the oscillator in the part of 5V, it will look like 16, and if it is 3.3 V, the number will be 8. 

아두이노 Pro Micro 매크로 키보드, 마우스

안녕하세요 라이프온룸 입니다. !!ㅎㅎ 

오늘은 아두이노 Pro Micro로 들어온 시리얼 데이터로 매크로 Keyboard, Mouse 를 만들어 보겠습니다.

준비물은 간단합니다. Arduino Pro Micro 만 있으면 되요 ㅎㅎ

아두이노 Pro Micro는 Arduino Leonardo 호환 보드로 Atmega32u4 칩에 프로그램이 가능합니다. 그래서 시리얼 HID 모두 가능하지요 ! 다만 5V 버전과 3.3V 이 존재합니다. 5V 버전의 경우 16MHz로 동작하는데 아래 보면 오실레이터 부분에 5V인 경우에는 16 이라는 숫자가 보일 거고 3.3V 일 경우에는 8 이라는 숫자가 보일 겁니다. 

Normal air conditioner to Iot air conditioner

The other day I did a heated explanation about the IR Library Lirc… So I tried to register with the LG air conditioner remote to write Irrecord… The IR signal is solitary…. So it was impossible to create a conf file…. Frantically pressing "." The only… The moment I think of it as a ruined life, thanks to the example provided by the Pigpio library. 

Let's find out how I use the silver pigpio of my summer life!! Very nice

LG에어컨 Iot 에어컨으로 만들기

저번 시간에 IR 라이브러리 lirc에 대해서 열띤 설명을 했었죠 .. 그래서 제가 쓰는 LG 에어컨 리모컨을 irrecord로 등록하려고 하는데 .. IR 신호가 단발성이더라고요 …. 그래서 conf 파일을 만드는게 불가능 했습니다…. 미친듯이 눌러도 “.”이 안늘어 나요 ㅜㅜ …망함이라고 생각하는 순간 pigpio 라이브러리 에서 제공하는 예제 덕택에 살아 났습니다. 

저의 썸머 라이프의 은인 pigpio 어떻게 사용하는지 알아 볼게요 !! ㅎㅎ