하드웨어/Display 장비2025. 9. 29. 22:52

상태 안 좋은거 무료로 나눔 받았는데 작동 자체는 문제가 없는 것 같다.

그런데 HDMI로 소리가 안되나? 장치 자체에는 분명 스피커가 있는데 왜 안되는걸까..

[링크 : https://dlpworld.jpg3.kr/pjmania/catalogue/sk_smartbeam_manual.pdf]

[링크 : https://prod.danawa.com/info/?pcode=1924494]

 

cu 편의점택배 선불로 보내주셨다.

 

상태가 좋진 않은데 보내주실때 안켜지는것 같다고 해서 일단 분해하고 땜질해보려고 시도!

 

뒷면도 원래는 스피커 고정하는 먼가가 있어야 하는데 사라졌다.

 

그 와중에 스피커 끊어먹고 땜질 -_ㅠ

 

micro HDMI에 micro USB.

전원 버튼도 사라져서 손톱으로 눌리지 않는다.

 

인증번호로 찾은 모델명 IC200T

요즘은 보기 힘든어진 MHL

 

켜면 로고 이후에 깔끔한 디자인의 연결 아이콘이 뜬다.

 

대충 60cm 거리에 15인치 급?

해상도는 640x480으로 뜨는데 HDMI 사운드로 잡히지 않는다. 머가 문제지?

 

대충 1미터에 32인치 급?

 

전원을 누르면 깔끔한 아이콘과 함께 good bye~

'하드웨어 > Display 장비' 카테고리의 다른 글

lg pw700 지름 + 3d  (4) 2025.10.26
benq mp780st 마운트  (0) 2025.10.19
3d dlp 120Hz가 왜 망했냐면..  (0) 2023.08.27
benq part 3.. HDMI 720p120  (0) 2023.08.21
3d 영상을 리눅스에서 재생하기  (0) 2023.08.20
Posted by 구차니

def main() 이 없으니까

독립적으로 실행중인지, import 되어 다른데서 실행을 하는건지 알 필요가 있을때

아래의 문구를 통해서 실행하거나 라이브러리로 작동시키거나 할 수 있다.

if __name__ == "__main__":
    print("run!")

 

[링크 : https://dev-jy.tistory.com/14]

Posted by 구차니

gpt와 검색을 버무려서~

 

pip로 대~~~충 flask 설치하고

Flask 에 static_url_path와 static_folder 를 설정해서 정적으로 서빙할 경로를 지정한다.

template_folder는 template engine를 위한 경로 같긴한데, 지금은 그걸 하려는게 아니니 패스~ 하고

 

/ 로 요청이 들어오면 index.html을 던지도록 라우터 하나 설정하고

나머지는 자동으로 static 경로 하위에서 제공

그리고 /api 쪽은 별도로 라우터 지정해서 2개의 api를 생성해준다.

 

/app.py

from flask import Flask, jsonify, render_template

app = Flask(__name__,
            static_url_path='', 
            static_folder='static',
            template_folder='templates')

@app.route('/')
def serve_index():
    return app.send_static_file('index.html')

# REST API 라우트
@app.route('/api/hello')
def api_hello():
    return jsonify({"message": "Hello, this is a REST API response!"})

# 또 다른 REST API
@app.route('/api/sum/<int:a>/<int:b>')
def api_sum(a, b):
    return jsonify({"a": a, "b": b, "sum": a + b})


if __name__ == "__main__":
    # 디버그 모드 실행
    app.run(debug=True)

 

/static/index.html

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Flask Static + REST API</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
    <h1>Hello Flask</h1>
    <p>이 페이지는 Flask가 제공하는 정적 웹입니다.</p>

    <button onclick="callApi()">API 호출</button>
    <p id="result"></p>

    <script>
        async function callApi() {
            const res = await fetch("/api/hello");
            const data = await res.json();
            document.getElementById("result").innerText = data.message;
        }
    </script>
</body>
</html>

 

/static/test.html

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Flask Static + REST API</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
    <h1>this is test</h1>
</body>
</html>

 

/static/style.css

body {
    font-family: sans-serif;
    background: #f0f0f0;
    padding: 20px;
}
h1 {
    color: darkblue;
}

 

[링크 : https://stackoverflow.com/questions/20646822/how-to-serve-static-files-in-flask]

 

 

$ python3 app.py
 * Serving Flask app 'app'
 * Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://127.0.0.1:5000
Press CTRL+C to quit
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 997-788-229

 

웹에서 접속하면 아래처럼 뜨는데

보니 template 엔진을 이용해서 치환하도록 해놨어서 css가 안 읽혔군

127.0.0.1 - - [29/Sep/2025 10:48:26] "GET / HTTP/1.1" 304 -
127.0.0.1 - - [29/Sep/2025 10:48:26] "GET /{{%20url_for('static',%20filename='style.css')%20}} HTTP/1.1" 404 -

 

그럼 template 안쓸꺼니 수정해보자

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Flask Static + REST API</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <h1>Hello Flask</h1>
    <p>이 페이지는 Flask가 제공하는 정적 웹입니다.</p>

    <button onclick="callApi()">API 호출</button>
    <p id="result"></p>

    <script>
        async function callApi() {
            const res = await fetch("/api/hello");
            const data = await res.json();
            document.getElementById("result").innerText = data.message;
        }
    </script>
</body>
</html>

 

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Flask Static + REST API</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <h1>this is test</h1>
</body>
</html>

 

이쁘게 잘나온다. 그런데 처음 접속하면 static web이라도 제법 느린데 캐싱이 안되나?

 

localhost:5000/

localhost:5000/index.html

localhost:5000/test.html

localhost:5000/api/hello

localhost:5000/api/sum/2/3

'Programming > python(파이썬)' 카테고리의 다른 글

python switch-case -> match-case  (0) 2025.10.11
python __name__  (0) 2025.09.29
python simsimd  (0) 2025.08.28
python 원하는 버전 설치 및 연결하기  (0) 2025.08.26
pip 패키지 완전 삭제하기  (0) 2025.08.13
Posted by 구차니

게임내에서 제공되는 텔레메트리 정보인데

프로토콜에서 제공되는 내용보다 더 다양한거 같다?

켜놓으면 재미있긴 한데 지도가 사라져서 아쉽..

 

없어 보이는 데이터로는

손상 /  타이어 온도 / 타이어 정보(압력)

 

여기부터는 udp telemetry에 있는 값들 같다.

Posted by 구차니
게임2025. 9. 27. 22:46

이 게임을 구매했던 가장 큰 이유!

오로라를 보고 싶어서!!

 

오늘 설치하고

레고 에서 빠져나와서

미션 몇 개 하다가

산장 하나 구매하고

버기 탔더니

갑자기 계절이 바뀌더니

먼가 갑자기 열려서 고고!

 

아 오로라 만세!

 

'게임' 카테고리의 다른 글

microsoft flight simulator X stream edition  (0) 2025.12.06
forza horizon 4 - 가을시즌 획득!  (0) 2024.11.24
flight simulator X  (0) 2021.06.27
magicka chapter 9 포기 -_ㅠ  (0) 2020.04.01
magicka 포기?  (0) 2020.03.30
Posted by 구차니

dvb 재생등을 위해 마우스 이벤트를 처리할 수 있을 것 같은데

navigationtest 라는 엘리먼트는 보이는데 이게 gstnavigation과 같은건가 확신이 안선다.

 

[링크 : https://gstreamer.freedesktop.org/documentation/video/gstnavigation.html?gi-language=c]

[링크 : https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/events.html?gi-language=c]

[링크 : https://gstreamer.freedesktop.org/documentation/navigationtest/index.html?gi-language=c]

'프로그램 사용 > gstreamer' 카테고리의 다른 글

GstPipelineStudio on odroidc2  (0) 2025.09.21
GstPipelineStudio install on armbian  (0) 2025.09.20
GstPipelineStudio install 실패  (0) 2025.09.20
gstpipelinestudio  (0) 2025.09.11
gstreamer 기초  (0) 2025.08.27
Posted by 구차니
Linux/Ubuntu2025. 9. 26. 18:37

타임스탬프를 매 엔터마다 강제로 넣어주고 싶을때 쓰는 유틸리티

timestamp 에서 ts를 빼온것 같은데 정작 패키지 명은 moreutils다

 

[링크 : https://da-nika.tistory.com/194]

'Linux > Ubuntu' 카테고리의 다른 글

evince (리눅스 pdf 뷰어) 네비게이션  (0) 2025.12.11
ubuntu 22.04 bgr subpixel 대응 찾기 실패  (0) 2025.11.25
기본 터미널 변경하기  (0) 2025.09.22
intel dri 3?  (0) 2025.08.12
csvtool  (0) 2025.07.11
Posted by 구차니
프로그램 사용/rtl-sdr2025. 9. 26. 12:17

 

openwifi: Linux mac80211 compatible full-stack IEEE802.11/Wi-Fi design based on SDR (Software Defined Radio).


[링크 : https://github.com/open-sdr/openwifi]

[링크 : https://openwifi.tech/]

 

ADALM-PLUTO

reddit에서 검색하다가 얼핏 pluto가 보였는데 이거인듯.

[링크 : https://www.digikey.kr/ko/products/detail/analog-devices-inc/ADALM-PLUTO/6624230]

 

pynq + antsdr

[링크 : https://github.com/MicroPhase/antsdr-pynq]

 

UHD가 The USRP™ Hardware Driver Repository 의 약자인가?

[링크 : https://github.com/EttusResearch/uhd]

 

일종의.. wifi 해킹 펌웨어라고 보면되려나?

Nexmon is our C-based firmware patching framework for Broadcom/Cypress WiFi chips that enables you to write your own firmware patches, for example, to enable monitor mode with radiotap headers and frame injection.

[링크 : https://github.com/seemoo-lab/nexmon]

'프로그램 사용 > rtl-sdr' 카테고리의 다른 글

rtl-sdr v3/v4  (0) 2025.10.06
gr-lora with gnuradio 성공!  (0) 2025.09.25
gnuraduio wx gui deprecated  (0) 2025.09.25
qr-lora tutorial  (0) 2025.09.25
rtlsdr + gnuradio + lora 일단.. 실패  (0) 2025.09.24
Posted by 구차니
하드웨어/Network 장비2025. 9. 26. 11:22

STM32L 시리즈 용인가..

The I-CUBE-LRWAN Expansion Package consists of a set of libraries and application examples for STM32L0 Series, STM32L1 Series, and STM32L4 Series microcontrollers acting as end devices.
This package supports the Semtech LoRa® radio expansion boards SX1276MB1MAS, SX1276MB1LAS, SX1272MB2DAS, and the new generation sx126x mounted on SX1262DVK1DAS, SX1262DVK1CAS, and SX1262DVK1BAS.

[링크 : https://www.st.com/en/embedded-software/i-cube-lrwan.html]

 

LoRaMAC

[링크 : https://github.com/Lora-net/LoRaMac-node]

[링크 : https://stackforce.github.io/LoRaMac-doc/LoRaMac-doc-v4.7.0/_p_o_r_t_i_n_g__g_u_i_d_e.html]

 

NAMote - STM32L152RC

[링크 : https://os.mbed.com/platforms/NAMote-72/]

 

STM32L 시리즈

NucleoL073RZ
NucleoL152RE
NucleoL476RG

[링크 : https://github.com/Lora-net/LoRaMac-node/blob/master/doc/NucleoLxxx-platform.md]

 

SKiM88xx -  통신모듈만 있는?

[링크 : https://github.com/Lora-net/LoRaMac-node/blob/master/doc/SKiM88xx-platform.md]

 

SAMR34 - cortex-M0 계열

[링크 : https://github.com/Lora-net/LoRaMac-node/blob/master/doc/SAMR34-platform.md]

[링크 : https://www.microchip.com/en-us/products/wireless-connectivity/sub-ghz/lora/sam-r34-r35]

'하드웨어 > Network 장비' 카테고리의 다른 글

LoRa / LoRaWAN  (0) 2025.09.26
lora class a/b/c  (0) 2025.09.24
iptime 포트미러링  (0) 2025.09.17
fc san  (0) 2025.03.08
modinfo bnx2x (BCM957810)  (0) 2025.02.26
Posted by 구차니
하드웨어/Network 장비2025. 9. 26. 10:52

 

end node 들이 복수의 gateway에 붙는 것 같은데 이게 가능한 구성인...가?

 

 

[링크 : https://www.mokosmart.com/ko/lora-and-lorawan/]

 

 

[링크 : https://seoho.biz:5000/xe/index.php?mid=board_FJyn40&order_type=asc&m=0&sort_index=readed_count&listStyle=webzine&document_srl=18771]

 

A LoRaWAN®-based network is made up of end devices, gateways, a network server, and application servers. E

[링크 : https://www.semtech.com/uploads/technology/LoRa/lorawan-device-classes.pdf]

 

 

[링크 : https://www.semtech.com/uploads/technology/LoRa/lora-and-lorawan.pdf]

'하드웨어 > Network 장비' 카테고리의 다른 글

lorawan library  (0) 2025.09.26
lora class a/b/c  (0) 2025.09.24
iptime 포트미러링  (0) 2025.09.17
fc san  (0) 2025.03.08
modinfo bnx2x (BCM957810)  (0) 2025.02.26
Posted by 구차니