본문 바로가기

언어/라즈베리파이

Firebird password 우분투 컴퓨터에서는 파일에서 암호와 사용자 이름을 찾을 수 있습니다. /etc/firebird//SYSDBA.password그것은 뭔가처럼 보일거야, ISC_USER=sysdba ISC_PASSWORD="password"해당 자격 증명을 사용하여 데이터베이스 파일에 연결하십시오. 더보기
명령어 현재설치된 프로그램 목록보기 : dpkg --list프로그램 제거 : sudo apt-get --purge remove package-name isql-fb 더보기
파이에 사용할 수 있는 Database Packages 출처: http://www.raspberryconnect.com/raspbian-packages-list/item/56-raspbian-databaseDatabase PackagesTo install Raspbian software on a Raspberry PiPackages are installed using Terminal. First get an updated package list by entering the following command in to terminal if this has not been done todaysudo apt-get update Then install your chosen package with the commandsudo apt-get install package .. 더보기
firebird 3 server core 설치 실사용에 이것만 설치하면 될듯..sudo apt-get install firebird3.0-server-core 그리고 firebird database 컴포넌트로는https://www.mwasoftware.co.uk/ibx/8-ibx/102-ibx-for-lazarus-firebird-express이것을 설치하여 사용 더보기
리눅스에서 폰트설치 출처: http://codeheart.tistory.com/73 우분투 역시 윈도우 폰트를 사용할 수 있다. 다만, 라이센스 문제로 인해 우리나라에서 주로 사용하는 한글 폰트(굴림 ...)등이 설치되지 않아 깔끔하게 보이지 않는 것 뿐이다. 윈도우 폰트(c:\windows\fonts\*) 를 모두 /usr/share/fonts/ 에 복사한다( virtualbox 를 사용하는 경우 공유폴더를 사용하고, 여하튼 적절하게 폰트 파일을 특정 폴더에 공유시켜 놓고 그 폴더로 간다. virtualbox 에서 공유 폴더를 지정하고 mount 까지 하는 방법은 다음을 참고한다. http://mcchae.egloos.com/v/10234258 ) 그 다음 리눅스 폰트 폴더에 복사한다. cp * /usr/share/fon.. 더보기
hx711 https://tutorials-raspberrypi.com/digital-raspberry-pi-scale-weight-sensor-hx711/https://github.com/gandalf15/HX711 Build a digital Raspberry Pi Scale (with Weight Sensor HX711)As hardly any scales work analogously, it is of course also possible to measure weights with a digital Raspberry Pi scale. This can be used in various applications as the weight value ranges which can be measured are also.. 더보기
Raspberry Pi 3에 opencv_contrib 포함하여 OpenCV 3.4.1 설치하는 방법 출처: http://webnautes.tistory.com/916 OpenCV 3.4.1과 opencv_contrib(extra modules)를 컴파일하여 Raspberry Pi 3에 설치하는 방법을 다룹니다. 2018년 4월 18일에 릴리즈된 Raspbian 이미지를 사용했습니다.OpenCV를 컴파일하기 위해서는 최소 16G Micro SD 카드를 사용해야 합니다. 제가 라즈비안 초기 이미지부터 진행해서 검증하기 때문에 상황이 다른 경우에는 모두 대처하기가 힘든 점을 감안해주세요. 1. OpenCV 2.4 버전 제거2. 기존 설치된 패키지 업그레이드3. OpenCV 컴파일 전 필요한 패키지 설치4. OpenCV 설정과 컴파일 및 설치5. OpenCV 설치 결과 확인 5.1. C/C++ 5.2. Pyt.. 더보기
라즈베리파이에 여러개의 시리얼 포트가 필요할 때 출처: https://arsviator.blogspot.com/2016/11/use-multiple-serial-port-in-raspberry-pi.html 라즈베리 파이로 무언가를 만들려고 하다 보면 여러개의 시리얼 포트가 필요한 경우가 있다. 라즈베리 파이에는 기본적으로 두개의 시리얼 포트가 있지만 그 중 하나는 미니포트라 사용에 꽤 신경 써 줘야 하는 부분이 많고, 라즈베리 파이 3의 경우 시리얼포트를 블루투스가 사용하고 있어 블루투스를 동시에 사용하려고 하면 매우 골치 아퍼 진다. (상세한 내용은 이전 포스트 (라즈베리 파이 3 시리얼/블루투스 문제 (Raspberry Pi 3 UART/Bluetooth problem))를 참고) 그럼 시리얼 포트를 추가할 수 있는 가장 쉬운 방법은 USB-to.. 더보기
시리얼통신 관련 TLazSerial https://github.com/JurassicPork/TLazSerialLazSerial v0.2 Serial Port Component for Lazarus (windows and linux). by Jurassic Pork 03/2013 - 01/2017 This library is Free software; you can rediStribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Thi.. 더보기
usb to serial converter 참고: https://m.blog.naver.com/PostView.nhn?blogId=post_human&logNo=220710497919&proxyReferer=https%3A%2F%2Fwww.google.co.kr%2F ftdi 칩을 사용한 usb to serial conver 를 파이3 usb포트에 연결하였을때 자동인식됨.디바이스명은 ttyUSB0로 인식됨.비싼 전용컨버터 필요없이 저렴한 usb to serial 컨버터를 이용하면 된다. 더보기