This instruction covers the installation of ROS Kinetic (Robot Operating System) and OpenCV-3.3.1 on the Raspberry Pi 2 or 3 with Raspbian Stretch. I have prepared an img file (made in Dec 19 2017) that compiled ROS and OpenCV, you can download it here, file size is around 4GB in Google Drive. You can download ,unzip […]Read More Install ROS and OpenCV in Raspberry Pi(Raspbian Stretch)
Now capture or video stream is often used in projects of Raspberry Pi, such as video surveillance system and some small electric vehicle using Pi. In the most of time, we want to see the live video on our laptop or mobile phone, so I wrote this program to transmit live video between Raspi and Windows […]Read More TCP/IP Live Video Transmission between QT in Windows and OpenCV in Linux/Raspberry Pi
Raspberry Pi 2 with Pi Camera Normally OpenCV only supports USB camera for raspberry pi, if you want to use OpenCV with Pi camera, I have a nice guide for you. Before we set the Pi camera, you have to install OpenCV library firstly, you can follow my previous guide. I use the RaspiCam library […]Read More How to use Pi Camera with OpenCV for Raspberry Pi?
In my previous project, I developed a real-time system, so faster speed for read/write temporary data is necessary. After setting, when Raspberry Pi starts up, a small ramdisk will auto-create. What is Ram Disk? A RAM disk is a portion of RAM which is being used as if it were a disk drive. RAM disks […]Read More Auto-create ramdisk when Raspberry Pi or Linux start up
I just got my Pi 2 yesterday, very excited! The package looks better than before,eventually! There is a better quick start guide provided. Pi 2: TOP VIEW AND BACK VIEW Pi 2 Vs Pi: I download RASPBIAN OS(Version:January 2015), and write into the SD card. Time for Boot up to desktop: 24 seconds I install […]Read More Raspberry Pi 2 came eventually!
Sometimes, we need to start a program when pi boot up, there are several ways to achieve it, I introduce two ways to configure it. First way:Create a .desktop file 1.Create autostart folder $ cd /home/pi/.config $ mkdir autostart $ cd autostart 2.Write desktop file $ sudo nano programname.desktop A new window will open, type […]Read More How to AutoStart a program in Raspberry Pi or Linux?
In order to use the dedicated UART pins on the raspberry pi, first they have to be removed from their default application which is debugging. To do this,we need to edit “/boot/cmdline.txt” and “/etc/inittab“. You can backup this files if you want to return to the default configuration: $ sudo cp /boot/cmdline.txt /boot/cmdline.bak $ sudo […]Read More How to use UART on Raspberry Pi