Search found 1048 matches

by Gavinmc42
Mon Nov 20, 2017 6:09 am
Forum: General
Topic: RaspiCam for Computer Vision
Replies: 53
Views: 1217

Re: RaspiCam for Computer Vision

This has a link https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=109137&start=25 to this https://github.com/6by9/userland/blob/rawcam/camera_i2c That translates below code, but my i2cdetect cannot find the camera. Camera is working as I can run a timelapse image program. So is there s...
by Gavinmc42
Sun Nov 19, 2017 1:15 pm
Forum: General
Topic: RaspiCam for Computer Vision
Replies: 53
Views: 1217

Re: RaspiCam for Computer Vision

This explains why I could not find which goes to which on the CM schematics. https://www.raspberrypi.org/documentation/hardware/computemodule/cmio-camera.md Devicetree magic ;) Where is the devicetree source :D https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts I think dt-blob.dts...
by Gavinmc42
Sun Nov 19, 2017 12:27 pm
Forum: General
Topic: RaspiCam for Computer Vision
Replies: 53
Views: 1217

Re: RaspiCam for Computer Vision

Whew googled some answers https://raspberrypi.stackexchange.com/questions/67431/cant-turn-on-act-led-on-baremetal-pi3/67433 GPIO 38 is high power USB, 47 is act led. Start.elf is probably not going to leave the CAM_GPIOs floating as inputs, so GPIO 32, 41 are the CAM_GPIOs? Will look for more confir...
by Gavinmc42
Sun Nov 19, 2017 12:11 pm
Forum: General
Topic: RaspiCam for Computer Vision
Replies: 53
Views: 1217

Re: RaspiCam for Computer Vision

Was using B model compile option
Same code on a Zero, 38 is low.
Recompiled for a Zero 38 is an input.

Zero seems a little different than B+, A+ re GPIO 38.
What GPIO is the activity LED?
by Gavinmc42
Sun Nov 19, 2017 11:47 am
Forum: General
Topic: RaspiCam for Computer Vision
Replies: 53
Views: 1217

Re: RaspiCam for Computer Vision

Camera was not being seen on i2cdetect. Testing on an A+, the camera gpios may be different on other models Old schematic shows GPIO28 as the CAM_GPIO, there is also CAM_CLK on the camera connector. New schematics show these now as CAM_GPIO0 and CAM_GPIO1. My new gpiodetect code shows 32, 38, 41, 47...
by Gavinmc42
Sun Nov 19, 2017 11:22 am
Forum: General
Topic: GPIO readall
Replies: 1
Views: 16

Re: GPIO readall

A simple gpio readall. These alt function number are in GlobalConst. Using this to identify the higher GPIO functions, trying to track down the CAM_GPIO pins. GPIO_FUNCTION_IN = 0; GPIO_FUNCTION_OUT = 1; GPIO_FUNCTION_ALT0 = 2; GPIO_FUNCTION_ALT1 = 3; GPIO_FUNCTION_ALT2 = 4; GPIO_FUNCTION_ALT3 = 5; ...
by Gavinmc42
Sun Nov 19, 2017 5:52 am
Forum: General
Topic: BSC -I2C/SPI slave mode
Replies: 0
Views: 7

BSC -I2C/SPI slave mode

I was looking at a new gesture sensor APDS-9500 that just happens to also have the capability to output 60x60 or 30x30 images. Rereading the data sheet it turns out this is a SPI master :o Pi's do have a I2C/SPI slave mode, never really paid it much attention before. https://www.raspberrypi.org/foru...
by Gavinmc42
Sun Nov 19, 2017 4:46 am
Forum: General
Topic: GPIO readall
Replies: 1
Views: 16

GPIO readall

Garry, is there a function that reads all the GPIO and displays their configuration? I'm trying to check if 28, 29 get configured to ALT0. In Raspbian gpio readall does this, a similar thing in Ultibo will help for debugging IO. Need to display all three? GPIODeviceInputGet, GPIODevicePullGet, GPIOD...
by Gavinmc42
Sun Nov 19, 2017 1:28 am
Forum: Discussion
Topic: TCP Client Example
Replies: 12
Views: 707

Re: TCP Client Example

Thanks Mark, I had forgotten the quick reference :oops: Now bookmarked. Going back over them, some of them now make more sense plus I seem to forget more these days. Could probably now add quite a few more into that reference now, PWM, Camera, video, OpenVG..... Fixed IP's for webcams would make the...
by Gavinmc42
Sat Nov 18, 2017 1:56 pm
Forum: General
Topic: RaspiCam for Computer Vision
Replies: 53
Views: 1217

Re: RaspiCam for Computer Vision

Guess what google found http://www.ovt.com/cameracubechipproducts/400x400 Is this the one that works, two on a CM module? Does 2x2 binning 200x200 global shutter and down to 100 x 100. Go any smaller and use these, 60x60 pixels, SPI so we could use 5 of them https://www.broadcom.com/products/optical...

Go to advanced search