Difference between revisions of "X630-Hardware-Reset"

From Geekworm Wiki
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
First, we recommend that you read [https://www.raspberrypi.org/app/uploads/2013/07/RaspiCam-Documentation.pdf Raspberry Pi camera applications document]
 +
 
'''For Hardware Reset''' - Starting RASPISTILL or RASPIVID once then reboot your Raspberry Pi.
 
'''For Hardware Reset''' - Starting RASPISTILL or RASPIVID once then reboot your Raspberry Pi.
 +
==Use GStreamer Tools ==
 +
You need an accessory board ([[X630#X630-A2]]) for audio capturing.
 +
 +
Please refer to [[CSI-2-Software]] if you are use the '''Raspberry Pi Bullseye OS'''
 +
 
==Use RASPISTILL RASPIVID ==
 
==Use RASPISTILL RASPIVID ==
 +
Only for OS before Rasberry Pi Bullseye OS such as '''Raspberry Pi Buster OS'''
 +
 +
1. Update & upgrade the raspberry pi system (It will take a long time depend on the different country)
 +
sudo apt-get update
 +
sudo apt-get upgrade
 +
 +
2. Enable camera module (the camera is enabled by default in Raspberry pi Bullseys OS)
 +
sudo raspi-config
 +
Navigate to ''''Interfacing Options'''' and hit Enter. Now select the ''''Camera'''' option, and hit the Enter key to enable it. Select “Finish” and select to '''reboot''' your Raspberry Pi.
 +
 +
3. Edit /boot/config.txt to add the line (that will need sudo, and use 'sudo nano /boot/config.txt')
 +
dtoverlay=tc358743
 +
to the end of the file.
  
(Please use when operating system cannot control the X630 module via GPIO509)
+
4. Reboot. If all is well you should get a /dev/video0 device.
 +
<pre>
 +
pi@raspberrypi:~ $ ls /dev/video0
 +
/dev/video0
 +
</pre>
  
13. To take a photo with the X630 Module
+
4. To take a photo with the X630 Module
 
  raspistill -o image.jpg
 
  raspistill -o image.jpg
  
 
Here, "image" is the name of your image that will be saved to your Raspberry Pi
 
Here, "image" is the name of your image that will be saved to your Raspberry Pi
  
14. If you need to take second image, then you will need to reboot the Raspberry Pi and execute the "raspistill" again
+
5. If you need to take second image, then you will need to reboot the Raspberry Pi and execute the "raspistill" again
 
  sudo reboot
 
  sudo reboot
  
15. To record a video with the X630 module
+
5. To record a video with the X630 module
 
  raspivid -o video.h264 -t 10000
 
  raspivid -o video.h264 -t 10000
  
 
Here, "video" is the name of your video and "10000" is the number of milliseconds.
 
Here, "video" is the name of your video and "10000" is the number of milliseconds.
  
16. If you need to record second video, then you will need to reboot the Raspberry Pi and execute the "raspivid" again
+
7. If you need to record second video, then you will need to reboot the Raspberry Pi and execute the "raspivid" again
 
  sudo reboot
 
  sudo reboot
  
<hr>
+
==Audio&Video capturing using GStreamer==
'''For Hardware Reset''' - Starting RASPISTILL or RASPIVID once then reboot your Raspberry Pi
+
Refer to [[CSI Audio Video capturing using GStreamer]]
 
 
Please use the following guide if your dip switch is changed to 'Hardware reset' position.
 
  
17. To take a photo with the X630 Module
 
raspistill -o image.jpg
 
Here, "image.jpg" is the name of your image that will be saved to your Raspberry Pi
 
 
18. If you need to take second image, then you will need to reboot the Raspberry Pi and execute the "raspistill" again.
 
sudo reboot
 
 
19. To record a video with the X630 module
 
raspivid -o video.h264 -t 10000
 
Here, "video" is the name of your video and "10000" is the number of milliseconds.
 
 
20. If you need to record second video, then you will need to reboot the Raspberry Pi and execute the "raspivid" again.
 
sudo reboot
 
  
 
<comments />
 
<comments />

Latest revision as of 16:28, 27 June 2023

First, we recommend that you read Raspberry Pi camera applications document

For Hardware Reset - Starting RASPISTILL or RASPIVID once then reboot your Raspberry Pi.

Use GStreamer Tools

You need an accessory board (X630#X630-A2) for audio capturing.

Please refer to CSI-2-Software if you are use the Raspberry Pi Bullseye OS

Use RASPISTILL RASPIVID

Only for OS before Rasberry Pi Bullseye OS such as Raspberry Pi Buster OS

1. Update & upgrade the raspberry pi system (It will take a long time depend on the different country)

sudo apt-get update
sudo apt-get upgrade

2. Enable camera module (the camera is enabled by default in Raspberry pi Bullseys OS)

sudo raspi-config

Navigate to 'Interfacing Options' and hit Enter. Now select the 'Camera' option, and hit the Enter key to enable it. Select “Finish” and select to reboot your Raspberry Pi.

3. Edit /boot/config.txt to add the line (that will need sudo, and use 'sudo nano /boot/config.txt')

dtoverlay=tc358743

to the end of the file.

4. Reboot. If all is well you should get a /dev/video0 device.

pi@raspberrypi:~ $ ls /dev/video0
/dev/video0

4. To take a photo with the X630 Module

raspistill -o image.jpg

Here, "image" is the name of your image that will be saved to your Raspberry Pi

5. If you need to take second image, then you will need to reboot the Raspberry Pi and execute the "raspistill" again

sudo reboot

5. To record a video with the X630 module

raspivid -o video.h264 -t 10000

Here, "video" is the name of your video and "10000" is the number of milliseconds.

7. If you need to record second video, then you will need to reboot the Raspberry Pi and execute the "raspivid" again

sudo reboot

Audio&Video capturing using GStreamer

Refer to CSI Audio Video capturing using GStreamer


Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.