일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- STM32
- esp8266
- OCPP
- homeassistant
- 디자인패턴
- Android
- 안드로이드
- 전기차충전
- 플라스크
- 전기차충전기
- 급속충전기
- AWS
- flask
- raspberry
- everon
- 에버온
- 홈어시스턴트
- 충전기
- 서버리스
- 완속충전기
- thread
- IOT Core
- YMODEM
- 전기차
- 파이썬
- dynamodb
- 펌웨어
- lambda
- 보안
- 라즈베리파이
- Today
- Total
목록에너지 (90)
Louie NRT Story
Writed on 28 OCT 2019 Device: Raspberry Pi 3 Raspbian Version: 2019-09-26-raspbian-buster-full.zip 1. Install supervisor 2. Make configure file of supervisor - I did that using root account. 3. Modify the configure file - command: Define which command to run - directory: Define which directory to run - autostart: Define wheather this process will also run when the supervisor deamon starts 4. Run..
Writed on 28 OCT 2019 Device: Raspberry Pi 3 Raspbian Version: 2019-09-26-raspbian-buster-full.zip 1. Install Watchdog 2. Start service - This service shows create or modify log at this current directory. 3. Start programming import sys import time import logging from watchdog.observers import Observer from watchdog.events import LoggingEventHandler if __name__ == "__main__": logging.basicConfig..
Writed on 23 OCT 2019 Device: Raspberry Pi 3 Raspbian Version: 2019-09-26-raspbian-buster-full.zip 1. Remove Rainbow Picture - Add commend last line in the file OR use sh that is add commend automatically 2. Remove kernal boot log - Edit pix.script file and cmdline.txt OR use sed that replace text automatically file=/usr/share/plymouth/themes/pix/pix.script sudo sed -i "s/message_sprite = Sprite..
Writed on 23 OCT 2019 Device: Raspberry Pi 3 Raspbian Version: 2019-09-26-raspbian-buster-full.zip 1. Setting Raspberry Pi Configuration. 1) Enable SSH & VNC 2) Wifi Country Code 2. Install 한글 Fonts 3. Update and Upgrade apt-get 4. Service FTP 1) Install FTP Service and modify config file 2) Restart vsftpd Service 3) Check vsftp service 5. Modify Python Symbol Link and pip upgrade 6. change root..
Writed on 23 OCT 2019 Device: Raspberry Pi 3 Raspbian Version: 2019-09-26-raspbian-buster-full.zip 1. Download Raspbian from website; https://www.raspberrypi.org Teach, Learn, and Make with Raspberry Pi – Raspberry Pi Free online courses Join one of our free online training courses and discover a new way to learn about computing and digital making www.raspberrypi.org 2. Download rufus-(version)...
[Description] - Thread 를 3개 생성함 - 하나의 Thread는 Shared Memory를 지속적으로 읽으면서 데이터가 있으면 출력 - 또 하나의 Thread는 USB를 통한 데이터를 지속적으로 출력 - 또 하나는 그냥 Printf 하는 단순 작업 [MakeFile] 1 2 3 4 5 6 7 8 9 10 11 CC = gcc TARGET = main LDFLAGS = -pthread -lwiringPi OBJS = main.o SharedMemory.o main : $(OBJS) $(CC) -o $(TARGET) $(LDFLAGS) $(OBJS) main.o: main.c SharedMemory.h $(CC) -c main.c SharedMemory.o: SharedMemory.c Sh..
[First Process] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 #i..
[EcoServerBySharedMemory.c] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 #include #include #include #include #include #include #include #define SHARED_MEMORY_KEY 1111 #define MEMORY_SIZE 1024 #define READ_CLIENT_FLAG 0 #define READ_SERVER_FLAG 1 #define PRINT_CLIENT_FLAG 2 int main() { int..
[Design] [RaspberryPi Code] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 #include #include #define LED_PIN 27 // pin number #define BT_PIN 0 int main(void){ // wiringPi setup if(wiringPiSetup() == -1){ return -1; } // pin = 27 pinMode(LED_PIN, OUTPUT); pinMode(BT_PIN, INPUT); pullUpDnControl(BT_PIN, PUD_UP); // LED toggle while(1){ if(!(digitalRead(BT_PIN))..
개요1. 준비물 소개2. 구성도3. 제작 과정4. Drive 코드5. Camera 동작법6. 실제 동작모습 1. 준비물 2. 구성도 3. 제작과정테스트하는데 와이프가 시끄럽다고 잔소리 들었음ㅠ그래서 조용조용 만듬~ 원래 Servo 모터로 카메라 회전까지 하려 했으나Servo 모터에서 테이프가 자꾸 떨어져서 포기~ㅋ붙이다가 짜증났음~ㅠ 4. Drive 코드a 입력하고 Enter 치면 좌회전, d 입력하고 enter 치면 우회전Command 식인데 게임하듯이 만들면 됨그래서 찾은게 python에 pygame 이라고 게임 만들때 쓰는 라이브러리 인데지금은 일단 패스코드는 첨부파일에 존재함 5. Camera 사용법raspivid -o - -t 0 -hf -w 800 -h 400 -fps 24 |cvlc -vvv..