Go to advanced search

by btidey
Wed Dec 01, 2021 10:24 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

I'll also add that there are other vendors out there selling IMX327 in a format compatible with the Raspberry Pi. That's interesting. From the instructions I've seen to install such a module, it requires just a couple of mods to config.txt and commandline.txt to activate it. Do you know whether it ...
by btidey
Tue Nov 30, 2021 6:26 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

This is basic MMAL set up in raspimjpeg. There are some small variations depending on set up. See later The camera provides one stream for video processing which is split. One split provides processing to provide JPEGS to make a MJPEG stream preview, The second split provides h264 for recording and ...
by btidey
Mon Nov 29, 2021 6:44 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

6by9 wrote:
Mon Nov 29, 2021 6:26 pm

Libcamera will run on a Pi0.

To save some effort in analysing the existing code, could you do a quick graph of the MMAL components, and connections between them?
Thanks.

I'll put something together on that but may take a day or so.
by btidey
Mon Nov 29, 2021 6:10 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

Absolutely agree on this, the IMX327 would be a massive improvement in low light conditions. @btidey: I am very interested in a libcamera version of rpicam, if there is any way to support (or motivate) you on this, please let me know. It is not so much motivation on this rather the technical challe...
by btidey
Mon Nov 29, 2021 6:00 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

btidey wrote:
Mon Nov 29, 2021 11:47 am
NOTE: The updated installer for Bullseye installs is not fully working on Bullseye as some libraries are not included.

This is being worked on.
I think this was a problem with the install script not properly enabling the legacy stack.

I fixed this and it seems OK on a fresh install of Bullseye.
by btidey
Mon Nov 29, 2021 11:47 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

NOTE: The updated installer for Bullseye installs is not fully working on Bullseye as some libraries are not included.

This is being worked on.
by btidey
Mon Nov 29, 2021 11:45 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

I have to accomplish several things: Capture an image every 10 minutes, like this cronjob: */10 * * * *. Example: 00:00, 00:10, 00:20, 00:30, 00:40, 00:50, 01:00, 01:10... Capture an image every 10 minutes, beginning with 3 hours before sunrise and ending with 3 hours after sunset. Example: Sunrise...
by btidey
Fri Nov 26, 2021 11:55 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

Currently I have no concrete plans to switch to libCamera although this may change.

The current software makes extensive use of the MMAL GPU processing multiple streams and because of this runs well even on Pi Zero with low cpu usage.
by btidey
Fri Nov 12, 2021 8:37 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

Update on Bullseye: 2) Ran sudo raspi-config and enabled I2C That shouldn't be necessary as AFAIK the Linux kernel isn't accessing any I2C device from your app. It'll only enable i2c-1 anyway, which is unrelated to the camera. Thanks. I had included it based on a post on enabling legacy but thought...
by btidey
Fri Nov 12, 2021 4:43 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

The manual steps outlined in the previous post are now incorporated in the install.sh when Bullseye is detected.

After a first install a reboot is now needed to enable the legacy camera support.
by btidey
Thu Nov 11, 2021 9:39 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

Update on Bullseye: I have tested a method to make this work under Bullseye using some of the legacy stack methods described in a different thread in this forum. It was not necessary to fetch and compile userland. A preliminary test of basic functions seems to work OK. I did the following manual ste...
by btidey
Thu Nov 11, 2021 9:26 pm
Forum: Camera board
Topic: Legacy camera stack under Bullseye
Replies: 42
Views: 4756

Re: Legacy camera stack under Bullseye

I can verify this method of enabling legacy stack allow the RPi Cam software using the raspimjpeg process to run under Bullseye. I haven't checked all functionality but it looks OK. Some experimentation indicated the raspimjpeg process would run without any extra userland so what I did was to make t...
by btidey
Wed Nov 10, 2021 1:01 pm
Forum: Camera board
Topic: Legacy camera stack under Bullseye
Replies: 42
Views: 4756

Re: Legacy camera stack under Bullseye

I am interested in trying to use the legacy stack method, at least in the short term, to support the raspimjpeg process used in RPi Cam Web Interface software. One reason is to maintain good performance even on Pi Zeros which are commonly used with this software. Currently for buster I install the r...
by btidey
Wed Nov 10, 2021 12:46 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

Thanks for the link to topic about using legacy stack. That might be a way forward at least for the moment. I will post any further questions on this in that topic. At the moment I am not keen to try to switch to libcamera as raspimjpeg makes heavy use of all the facilities in MMAL and because these...
by btidey
Tue Nov 09, 2021 1:59 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5348
Views: 1826506

Re: RPi Cam Web Interface

The changes to the OS camera support made in Bullseye mean that raspimjpeg a key component of this interface doesn't work any more. The previous standard apps supplied with the OS raspistill and raspivid have also been removed and replaced by libcamera-still and libcamera-vid which are not totally c...
by btidey
Mon Nov 01, 2021 9:07 am
Forum: Beginners
Topic: Convert 0 to 5V (analog) to 0 to ±5V (analog)
Replies: 7
Views: 306

Re: Convert 0 to 5V (analog) to 0 to ±5V (analog)

It depends on how much current you want.

If you only need a few mA from negative supply then an ICL7660 voltage inverter is a simple inexpensive way to do this.
by btidey
Mon Oct 25, 2021 8:51 am
Forum: General discussion
Topic: Can I control my raspberry pi with a key fob ( so as to control my servos )
Replies: 13
Views: 459

Re: Can I control my raspberry pi with a key fob ( so as to control my servos )

If you really want 150m range then that relay module would probably not work reliably. They claim 200m but such claims are normally optimistic in real world environments. The direct rf technology of choice for that range is LoRa. It is easy to add LoRa receiving support on the raspberry end. The tri...
by btidey
Sun Oct 24, 2021 11:49 am
Forum: General discussion
Topic: Can I control my raspberry pi with a key fob ( so as to control my servos )
Replies: 13
Views: 459

Re: Can I control my raspberry pi with a key fob ( so as to control my servos )

There are two basic methods you could use with a 433MHz key fob 1) Use just simple key fob transmitter and add a 433MHz receiver module onto the raspberry. With the right software this will allow you to get key presses and decide what you want to to do with them. There is much info around on the web...
by btidey
Sat Oct 02, 2021 10:33 am
Forum: Beginners
Topic: small 3.5mm micro speakers for pi 3b?
Replies: 6
Views: 302

Re: small 3.5mm micro speakers for pi 3b?

Or use a USB speaker which will contain a modest usb powered amplifier to give a usable volume.
by btidey
Mon Sep 13, 2021 9:25 am
Forum: Automation, sensing and robotics
Topic: Is this possible, "indoor chimes" project
Replies: 6
Views: 602

Re: Is this possible, "indoor chimes" project

There are quite a few projects on instructables using esp8266 and motion sensors which may give you ideas. E.g. https://www.instructables.com/PIR-With-EPS8266-and-MQTT/ There are differences in PIR modules some are prone to false triggering from wifi signals. The AM312 type are good against this sor...
by btidey
Sat Sep 11, 2021 11:44 am
Forum: Automation, sensing and robotics
Topic: Is this possible, "indoor chimes" project
Replies: 6
Views: 602

Re: Is this possible, "indoor chimes" project

Here are a couple of ideas. 1) Using pre-built modules. Use zigbee motion sensors and a zigbee Pi Gateway/Hub. 2) Homebuilt for those with electronic construction skills. Use ESP8266 modules with motion sensor modules to send wifi messages (e.g. MQTT) to Pi when triggered. This needs a lot more effo...
by btidey
Mon Sep 06, 2021 10:53 am
Forum: Automation, sensing and robotics
Topic: Can't detect RF signal of remote
Replies: 6
Views: 712

Re: Can't detect RF signal of remote

You will always get random noise from the receiver when there is nothing transmitting. This is because the receivers use automatic gain control (agc) which means the gain gets wound up to the maximum when there is no signal and you then get noise output from background rf. As soon as a transmitter s...
by btidey
Thu Sep 02, 2021 12:07 pm
Forum: Beginners
Topic: Mosfet IRF520
Replies: 6
Views: 339

Re: Mosfet IRF520

Gate threshold voltage is not a good value to use to determine suitability for interfacing to logic. It is the gate voltage at which the device just starts to turn on usually specified at a low drain current. One should really use the voltage specified to give a low drain source resistance. For the ...
by btidey
Thu May 13, 2021 2:43 pm
Forum: Beginners
Topic: 16GB microSD card insufficient?
Replies: 31
Views: 1788

Re: 16GB microSD card insufficient?

It also depends on which packaged version of the OS you installed. Some include lots of large applications which will take up lots of space unnecessarily if you don't use them (e.g. Mathematica, libre office). You can either remove stuff you don't use or start with one of the lightweight packages an...

Go to advanced search