Go to advanced search

by bablokb
Mon May 25, 2020 9:54 am
Forum: General discussion
Topic: rtcwake: /dev/rtc0 not enabled for wakeup events
Replies: 11
Views: 3442

Re: rtcwake: /dev/rtc0 not enabled for wakeup events

How much current the Pi uses on shutdown compare to my system (the post just before)? Power consumption mainly depends on peripherals. My post was not so much about bringing power consumption to zero, but to show that you can wake-up a Pi with a RTC and no additional circuits. To quote myself: If y...
by bablokb
Sat May 23, 2020 12:31 pm
Forum: General discussion
Topic: rtcwake: /dev/rtc0 not enabled for wakeup events
Replies: 11
Views: 3442

Re: rtcwake: /dev/rtc0 not enabled for wakeup events

Hi, I know this is an old thread, but wake from rtc is possible (tested on a pi-zero with raspbian-buster 02-2020): Add the following line to /boot/config.txt (choose your pins): dtoverlay=i2c-rtc-gpio,ds3231,i2c_gpio_sda=17,i2c_gpio_scl=27,wakeup-source Then connect your DS3231 with 3V3, GND, SDA->...
by bablokb
Fri Jul 19, 2019 4:25 pm
Forum: Raspberry Pi OS
Topic: wheezy archives needed for pygame and touchscreens
Replies: 5
Views: 455

Re: wheezy archives needed for pygame and touchscreens

Looks like somebody made a work around https://github.com/olegv142/pygamets/blob/master/README.md It might even work with Buster and you get python3.7 thrown in too :-) I don't have a touch screen to test with though. Nice library. The workaround is probably not necessary, because tslib has a gener...
by bablokb
Fri Jul 19, 2019 3:08 pm
Forum: Raspberry Pi OS
Topic: wheezy archives needed for pygame and touchscreens
Replies: 5
Views: 455

Re: wheezy archives needed for pygame and touchscreens

Thanks for the quick reply! I will update my script and check.

Bernhard
by bablokb
Fri Jul 19, 2019 2:47 pm
Forum: Raspberry Pi OS
Topic: wheezy archives needed for pygame and touchscreens
Replies: 5
Views: 455

wheezy archives needed for pygame and touchscreens

Hi, I just noticed that the wheezy archives have been removed. This breaks pygame for touchscreens, because the version of libsdl1 of Raspbian is broken since Jessie. To make pygame work with tslib you need to downgrade to the wheezy version. For details on this issue see https://learn.adafruit.com/...
by bablokb
Tue Dec 04, 2018 8:35 pm
Forum: General discussion
Topic: PI3A+ high current draw after shutdown
Replies: 0
Views: 321

PI3A+ high current draw after shutdown

My pi3a+ shows a strange behavior after shutdown: current draw rises after shutdown (halt -p) from 200mA (idle) to almost 600mA. The last time I have seen this was with a FriendlyArm Nanopi-Duo, but this was dependent on the distribution/kernel. Normal behavior of rpi is that current draw will drop ...
by bablokb
Sun Jan 14, 2018 6:47 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Newest python-spidev broken?
Replies: 3
Views: 704

Re: Newest python-spidev broken?

with a suitable value for the frequency.
Is this a matter of trial-and-error? Or is "max_speed_hz" another name for the throughput rate given in the datasheet?
by bablokb
Sat Jan 13, 2018 1:29 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Newest python-spidev broken?
Replies: 3
Views: 704

Newest python-spidev broken?

Since updating my python-spidev recently (from 2.0~git20150907+rpi1 to 20170223~145721-1) my program reading an ADC does not work anymore. The old version was part of Jessie and also was provided by Stretch-light version 2017-09-07. After reverting manually, it worked again. I'm only using open and ...
by bablokb
Thu Jun 18, 2015 11:48 am
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

I corrected myself: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=44918&start=150#p773451 Sorry, I gave a duff offset before for the Bayer order - the structure I was looking at was embedded within another. It's more likely to be around byte 244 into the header. blindbloom had picked up o...
by bablokb
Thu Jun 18, 2015 10:41 am
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

I have stated many times that the Bayer order is present in the raw header, but nobody seems to be bothered to investigate. Try about byte 68 into the raw header. The enum values are even in the userland repo https://github.com/raspberrypi/userland/blob/master/interface/vctypes/vc_image_types.h#L14...
by bablokb
Fri Dec 19, 2014 4:41 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

I have just updated raspi_dng on https://github.com/bablokb/raspiraw . The new version supports "old" and "new" raw-files. It also uses the embedded color matrix automatically (although you can still pass your own matrix to the program). I detected a bug when running the program on the RPI: the colo...
by bablokb
Tue Dec 09, 2014 7:28 pm
Forum: Camera board
Topic: Improving the noIR picture/camera quality
Replies: 5
Views: 3118

Re: Improving the noIR picture/camera quality

I'm in progress of writing a very important document about making pictures using noIR PI camera but I have a problem. The quality of pictures is very low. Despite a very good lighting, it is not satisfying. Pictures are kind of grainy, sharpness is not correct despite the fact I changed it and in g...
by bablokb
Tue Dec 09, 2014 7:23 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

[quote="aphextwin" What I'd like to know is how can I refine the rgb-matrix with Imatest as I am new to this program? Of course I will share my results so we all get better images.[/quote] No idea about imatest, but in http://ninedegreesbelow.com/photography/well-behaved-camera-profile.html you will...
by bablokb
Fri Dec 05, 2014 12:45 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

aphextwin wrote:Thanks, I just the old one in which I altered the rgb-values. Take your time.
I fixed the makefile, it works again on the RPI. I also added the binary I just compiled to the bin directory of https://github.com/bablokb/raspiraw.
by bablokb
Thu Dec 04, 2014 7:49 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

I have problems with the raspi_dng: I'm getting compilation-errors when trying to compile on rip and on a ubuntu 64 bit system. As stated in the readme, compiliation on rip is currently broken. I didn't have access to my pi for a couple of days, I will fix that soon. Setting LIBSUFFIX to empty prob...
by bablokb
Mon Dec 01, 2014 6:30 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

tchiwam wrote:Are the raw values going to be changed or is this matrix is stored so that the display program knows what to do with the data ?
Raspiraw just stores the matrix in a TIFF-header field. The converter/display-program has to take care of the data.
by bablokb
Sun Nov 30, 2014 2:11 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

I got dcraw.c to work on new & old RAW images without needing to use exiftool. See also: http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=92562&p=647559#p647559 I have updated the raspi_dng code (see https://github.com/bablokb/raspiraw ). This version also accepts a color-matrix as an optiona...
by bablokb
Sat Nov 29, 2014 10:38 am
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

I have updated http://bealecorner.org/best/RPi/ to include a RAW sample from raspistill using November 2014-era firmware. Supposedly this color matrix is reasonable: http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=44918&start=50#p511476 Thanks a lot, I will check the new image this afternoon...
by bablokb
Fri Nov 28, 2014 3:12 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

So those are the CCMs and AWB gains that the internal algorithms have chosen. Half the point of capturing raws is that you can tinker with them, as otherwise you are just going to recreate the same image as the GPU (although you could tweak values in other parts of the processing chain). The other ...
by bablokb
Thu Nov 27, 2014 10:22 am
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

Looks trivial enough. https://github.com/illes/raspiraw/blob/master/raspi_dng.c#L147 and I'd guess the new Bayer order should be "\001\002\0\001" For dcraw, http://www.cybercom.net/~dcoffin/dcraw/dcraw.c line 8170 wants to be changed so filters is (probably) 0x49494949 instead of 0x16161616 (see li...
by bablokb
Wed Nov 26, 2014 5:00 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

"Suddenly"? The camera firmware hasn't changed at all since the end of August. I don't recall the sensor driver having changed for a long time - I have a vague recollection of fixing up the flips code because it was totally wrong, but that was probably a year ago. It is now correct, so shouldn't ch...
by bablokb
Wed Nov 26, 2014 3:47 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

No, this doesn't. To get correct colors, I have to flip the image which is not what I want (why should I want flipped images?). I assume you did not have to flip the images for your own raw-files to get correct colors? You just used plain "raspistill --raw -o ..."? Please reread the original commen...
by bablokb
Wed Nov 26, 2014 3:13 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

This seems to address the difference you note. No, this doesn't. To get correct colors, I have to flip the image which is not what I want (why should I want flipped images?). I assume you did not have to flip the images for your own raw-files to get correct colors? You just used plain "raspistill -...
by bablokb
Wed Nov 26, 2014 2:51 pm
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 106691

Re: RAW output information

I wanted to ask whether there has been a significant change to the way in which raw data is stored or captured? I am attempting to capture raw data "raspistill --raw -o test.jpg" and convert it to dng using raspi_dng "raspi_dng test.jpg test.dng". ... However, I have an extreme purple / green tinge...
by bablokb
Wed Nov 26, 2014 8:31 am
Forum: Camera board
Topic: dcraw support for raw images
Replies: 20
Views: 9014

dcraw support for raw images

Hi all, there is some (limited) support for raw images within the current version of dcraw, so there is no need to convert the image to DNG anymore. To use it, you have to tweak the exif-information of the image first (dcraw expects the model-name to start with ov): exiftool -Model='ov' rpi_0000.jpg...

Go to advanced search