Giter VIP home page Giter VIP logo

ivport's People

Contributors

ivmech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ivport's Issues

2+ Boards Code

Hi guys,

One board works fine but could someone put up the code to get two more boards working (8+ cameras) for the rapid picture taking code (ivport_capture_sequence_A.)

Lines "CAM_GPIO" and "CAM1_DN1" are not multiplexed

I watched the lines "CAM_GPIO" and "CAM1_DN1" with a scope and they were not multiplexed. So I get the error "mmal: No data received from sensor" on any of the 4 camera ports. This behaviour is not intended, right?

How can i get it work

Hi,
i am using a raspi 3 and the multiplexer. I´ve got two cameras v1.3, i#ve ordered the multiplexer for these version but i can not find any infomation, which version i get. They are in the slots for camera 1 and camera 2. Now i get these error:

/home/pi# raspistill -o cam.jpg
mmal: Cannot read cameara info, keeping the defaults for OV5647
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
mmal: Failed to create camera component
mmal: main: Failed to create camera component
mmal: Camera is not detected. Please check carefully the camera module is installed correctly

Maybe what could be wrong? How i´ve have to use the jumpers, maybe you can make some example pictures.
thanks
Andy

callback event 0x4f525245

I have been trying out my ivPort. I am have tried using your python /
command line method in Example 1 on github. I have the 'A' solder
jumper set on both sides of the board. I keep getting a callback event
0x4f525245. Any ideas what might be causing the error?
I have checked the cables and connectors for continuity.

mmal: Received unexpected camera control callback event, 0x4f525245

I purchased ivPort in order to connect two cameras onto one RaspberryPi2 board.
However, We did not successfully connect them so far. Here is a problem we have.

We connected two cameras into CAM1 and CAM3 ports and tried to run the following sample python program.


import RPi.GPIO as gp
import os
gp.setwarnings(False)
gp.setmode(gp.BOARD)
gp.setup(7, gp.OUT)
gp.setup(11, gp.OUT)
gp.setup(12, gp.OUT)

def main():
  gp.output(7, False)
  gp.output(11, False)
  gp.output(12, True)
  capture(1)
gp.output(7, False)
  gp.output(11, True)
  gp.output(12, False)
  capture(3)
def capture(cam):
  cmd = "raspistill -o capture_%d.jpg" % cam
  os.system(cmd)

if name == "main":
  main()
  gp.output(7, False)
  gp.output(11, False)
gp.output(12, False)


Then we got the following error messsage.
"mmal: Received unexpected camera control callback event, 0x4f525245"

I would appreciate if you could give us your advice on fixing this problem.

Video stream signal switch - old video at bottom of new

Hello,

I am using a Raspberry PI 3 Model B with raspbian stretch (last update)

I am using the IVport-v2 dual module to switch between two raspberry pi cameras (Pi camera 2.1), and streaming this data over network to a receiver. The issue I’m having is that when I use the ivport_test_A.py (Which switches the status of GPIO pin 7,11 and 12) script to switch cameras, camera 2 gets a bar at the bottom with the picture from camera 1 (See attached files).

Camera 1 GPIO settings are:
Code: Select all

GPIO.output(7,True)
GPIO.output(11,False)
GPIO.output(12,True)
Camera 2 GPIO settings are:
Code: Select all

GPIO.output(7,False)
GPIO.output(11,True)
GPIO.output(12,False)

The first file I have the stream from camera 1 showing, and when I switch live to camera 2, part of the camera 1 stream is at the bottom. If I switch back to camera 1 again, the stream acts normally.

I use raspivid for the video (the bar shows in the preview window as well as the stream)

Is there something i’ve forgotten to solder/connect, or is this intended behaviour? Has anyone experienced this?

Best regards,
Christoffer
camera1
camera2

"mmal: no data from sensor...."

This is the message I receive when trying to use the board. I'm using the Revision 3 board and a brand new Raspberry Pi 3. I have all four pi cameras attached properly.

Any way I can fix this? I spent a lot of money and waited a month for the board to be delivered only to have it not work. I am extremely disappointed and unhappy with this product.

Camera Multiplexing at 90 fps

How much time does it take to switch between cameras?
All the processing on images are performed rapidly (approximately less than 5ms) and there is no need to save the images on disk. Is it possible to capture the image frames at 90 fps?

IVPORT V2 questions

Hello, I've purchased a IVPORT V2 board and have some questions before attempting to connect the cameras:

  1. What are those "X Y" jumpers? I don't see anything related in the documentation.
  2. My board came with a little solder blob between R6 and R5 in the place shown in the attached photo. Should I remove it or both terminals share that connection?

image

Thanks in advance

IVPORT kills Raspberry Pi

When I connect my ivport to raspberry pi, the pi shuts down. I have tried different ribbon cables that work with my camera modules and it still causes the pi to shutdown.

2x ivport_v2 boards working together is likely not to work as designed

I have reached the conclusion that 2x ivport_v2 (4 camera) boards will not work as currently intended. There is a conflict between the analog mux output lines on the boards in hardware.

In the process of doing this work I have managed to repeatably get 4x cameras to work on one board with data coming out of the second board input connector. Conversely, I have been able to repeatably get data from 2x cameras on the second board to come out of the input connector on the first board. I have also managed to get both boards to work independently at different gpio and IIC mux addresses.

I have documented all of this, including my reverse engineering of the board, theory of operation and working test code:

https://github.com/jdaniellhebert/ivport_4.

mmal: No data received from sensor.HELP!

I have check my three pi-camera all work fine before I attached them to multiplexer .
First, I got mmal wrong because I forgot to solder the "3v3" labelled jumper .
Then I Fix it .BUT I got "mmal: No data received from sensor."
Please help me fix this Wrong..

H264 Recording with the Multiplexer with 4 cameras ?

Hi,
I bought the multiplexer, and I am trying to record video from the 4 cameras at the same time, but I'm not able to do the script that can do that (because I'm noob lol).

Right now, I'm able to take picture at the same time (with 0.007 second delay) in 4 seperates folder (for the 1rst cam, the 2nd cam, the 3rd cam and the 4th one.

Instead of taking JPG pictures, how can I record each camera in H264 with the best FPS possible ?

Like on that video : https://www.youtube.com/watch?v=w4JZN7Y0d2o

At the beggining we see that we are video capturing 2 camera at the same time, but where can I find that script ?

Thanks !

Alex

I buy ivport. Can I ask it a small question?

Please note that I don't speak English well. sorry.

manual say "Female header should be soldered as shown like above picture (“Ivport” and “Ivmech” labels and “Input Socket” should be on top when it is attached to Raspberry Pi board)."
default

I should solder my 'ivport's GPIO hole'&'2X13 Long Pin header'?
use soldering iron?
inseparate GPIO hole & long pin header? We must use only soldered?

How many cameras can handle?

I want to using one or two raspberry pi.. and I want to take about 4060 different angle shots at the same time(I need 4060 pcs of camera mudules each too). so I need many multiple connections in one raspberry pi.

Does IVport has connection limits?

Official 7" Raspberry Touch Screen together with ivport dual v2

Hi,

I have trouble using the 7" touchscreen together with the IVport.
As soon as display and IVport are connected I get ghosts i2c devices shown in i2cdetect.
I already tried to lower the i2c speed from 100 kHz down to 10 kHz but that did not change anything.
--> I suspect a noise problem on the i2c bus.

Next step: I will get an oszi and check the bus for noise because of the display. Maybe I need smaller pullup resistors for the bus.

If anybody has already solved this issue, please comment.

Best regards
Quas7

Some more details...

I use the following setup:
Raspberry Pi 3 Model B, Raspberrian 4.4.38-v7
IVport dual v2: Pi NoIR Cam V2, Pi Cam V2, jumper "1" to connect GPIO 11 to the IVport
Both, display and raspberry are powered by 5V, 3A supplies - no "undervoltage" can be seen.

As long as I do not attach the display, I get the following "i2cdetect -y 1" output:

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- --
70: 70 -- -- -- -- -- -- --

10, 64, 70 are expected to be there and everything is working

But, after connection the display (just the flat ribbon cable, no power) I get random device addresses on the I2C bus:

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --
40: -- -- -- -- -- 45 -- -- -- 49 4a -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- --
70: 70 -- -- -- -- -- -- --

or...

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- 3b 3c 3d -- --
40: -- -- -- -- -- 45 -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- --
70: 70 -- -- -- -- -- -- --

Booting only the display without the IVport:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Java Control

Can we control the multiplexer in java with pi4j?

Question about four cameras configuration

I need to know before I buy this product.
Please someone help me.

Can four cameras (1,2,3,4) take pictures sequentially in a precisely sychronized way?

such that , for example, 3rd camera take picture exactly after 0.025 seconds after the 2nd camera, and so on

like 1->2->3->4->1->2->3->4->1->

Mechanical dimensions

Could you provide some dimensions of the board so I can use it in a mechanical design?

Push the settings of the camera, and take picture after

Hi,
I just want to know how can we set the exposure_mode to a specific camera, and an other exposure_mode setting to the CAM 2 ?

For example, I got one camera outside and an other one inside my house. The one outside have the sun directly on it, and the one inside my house have no light.

I want to do like a warmup of 10 seconds at the beggining in auto, and after I will take those settings, and apply it to the specific camera that have those settings. So with that, when I switch from CAM1 to CAM2 it wont have to recalculate the exposure mode for about the next 10 minutes.

Is it possible to do that ?

Thanks

C++ kontrol

Hı there,

Can we control the multiplexer with c++?

Rev 3 Multiplexer kills RasPI3

When I connect the ribbon cable to the Rasperry Pi 3 it shuts off. Just having the multiplexer connected to the GPIO headers doesnt cause it to fail. Only when I connect the ribbon cable from the Input to Camera port.
Defective board?

IVPort Dual

Hi I just wanted to confirm whether the IVPort Dual is compatible with the raspberry pi 3 and the v2 pi camera? Thanks

image scrambled

hi I am trying to take images on two cameras and save to a USB drive. My images always end up scrambled. When I run the board with one camera the images are fine, but when I try to use the multiplexer with two cameras the image is scrambled. I am using a USB drive is my timing off?

Version 2

Are you working on a second revision? When can we expect for it to be ready?

I was just about to buy one but they look out of stock. Also, you made a mention of a version 2 in your documentation. Any help is appreciated.

Thanks!

Fast capturing problems

Hello,

I try to capture frames fast from two cameras using your module but I get many corrupted frames.

I have both the latest revisions for 4 (5 MP) cameras and 2 (8 MP) cameras and I get some corrupted frames for both modules.

I also used your scripts in ivport_fast folder and still get numerous corrupted frames.

Is there a way to reproduce what you have done in your video "IVPort Almost Stereo Capture and Video Multiplexing"?

"mmal: mmal_vc_component_enable: failed to enable component: ENOSPC" with DIP switch board

Hello,

I checked the post that was about the same issue, but the boards I have are equiped with the DIP switches, so I guess the given solution will not work for me.
I control the raspberry over SSH.
I tried to select each of all four cameras and selecting no camera, on two different ivport boards, on one rapsberry B model 2, one B model 3.
I checked the cameras without the ivport, they were working properly, I checked the DIP switches, the connections between the the cameras and the ivport, the ivport and the raspberry.
I checked that the GPIO ports were functioning correctly with a multimeter, I also allocated 256MB to the GPU and i tried this solution : https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=61922&p=477860&hilit=enospc#p478550

I did not manage to get it to work so far.
Do you have any idea about how to get it to work ?
Thank you in advance.

Power usage

Am I right in thinking that if I do not solder the 3V3 jumpers, then the cameras won't draw any power when not active? If so, I expect there would be a slight delay when switching between them, to allow the cameras to start up, and adjust the exposure - how long is this delay, roughly?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.