Go to advanced search

by peewee2
Sat May 29, 2021 1:09 am
Forum: HATs and other add-ons
Topic: Any cool suggestions about the new POE+ HAT?
Replies: 3
Views: 830

Re: Any cool suggestions about the new POE+ HAT?

Bin it,
Just buy a Poe to USB C adapter on eBay for $10 Why bother adding complexity.

Pete
by peewee2
Mon Mar 15, 2021 4:10 am
Forum: MicroPython
Topic: Sending data through USB from Pico to RPi
Replies: 7
Views: 2363

Re: Sending data through USB from Pico to RPi

As the data you get from your sensor is just lines of text, (you mentioned saving it to blah.txt) surely the print(line) to the usb is fine. On the rpi, the usb port is just a file descriptor, so in python you can just open the /dev/ttyACM0 file and use readline() in a while loop to munch and proces...
by peewee2
Sat Mar 13, 2021 2:15 am
Forum: MicroPython
Topic: Use Pico as an I2C slave?
Replies: 34
Views: 6698

Re: Use Pico as an I2C slave?

Danjperron

Great work, a lot of research must have gone into figuring that out.

I am working on a project to control a lot of servo motors. This will allow me to to have several picos each with 16 servos all controlled by one pi zero, a much cheaper solution than adafruit servo hats.

Pete
by peewee2
Fri Mar 05, 2021 12:25 pm
Forum: MicroPython
Topic: MG995 Servo motor with Pico
Replies: 9
Views: 1987

Re: MG995 Servo motor with Pico

quick further update:
my random rotation problem seems to be a servo issue, I have several clone makes of MG995, a Tower Pro branded servo works fine
by peewee2
Fri Mar 05, 2021 11:49 am
Forum: MicroPython
Topic: MG995 Servo motor with Pico
Replies: 9
Views: 1987

Re: MG995 Servo motor with Pico

I found the servo.py lib to be over complicated, this is a simpler solution from machine import Pin, PWM from time import sleep servo = PWM(Pin(0)) # the Pico PWM pin servo.freq(50) servo.duty_u16(7000) # sets servo to about 150 deg sleep(2) # the 2 secs is to allow the servo to rotate servo.duty_u1...
by peewee2
Sat Nov 28, 2020 12:31 pm
Forum: Automation, sensing and robotics
Topic: View and control rpi device from home automation phone apps
Replies: 5
Views: 747

Re: View and control rpi device from home automation phone apps

Hi, I am looking for a way to get rid of a dependence on IFTTT. I have been looking at fauxmo. I found the documentation dense and impenetrable. In particular it's very lacking about the config.json file. It also seems the user has to have a pretty complete understanding of UPNP. I am experimenting ...
by peewee2
Sun Nov 08, 2020 9:33 pm
Forum: Python
Topic: pyaudio - very slow to initialise
Replies: 0
Views: 186

pyaudio - very slow to initialise

Hi, I am doing some stuff to get rid of my reliance on IFTTT, ie use google cloud speech to listen to commands and then use the text responses to fire messages into mqtt I have been playing with the python recognizer stuff. I have a seeed studio dual mic hat, and it works quite nicely, I get pretty ...
by peewee2
Wed Jul 15, 2020 11:21 am
Forum: Camera board
Topic: The new HQ camera with 16mm lens is REALLY good!
Replies: 9
Views: 740

Re: The new HQ camera with 16mm lens is REALLY good!

I figure that when in preview mode, what you actually see is video filmed at a set shutter speed and set fps presumably the fps never changes, which limits the low light level possible in preview. In daylight, at f1.4 the preview image has a white blush ( cannot think of a better term). I think this...
by peewee2
Wed Jul 15, 2020 1:40 am
Forum: Camera board
Topic: The new HQ camera with 16mm lens is REALLY good!
Replies: 9
Views: 740

Re: The new HQ camera with 16mm lens is REALLY good!

I have spent a few days working with the 16mm lens. I have managed to obtain some very satisfying images, especially portraits. I was able to obtain high quality pics with great colour saturation and super fine detail. There are some limitations. It is very twitchy to focus, the focus ring goes from...
by peewee2
Tue Jun 30, 2020 12:32 pm
Forum: Camera board
Topic: 16mm HQ lens - beginners HowTo
Replies: 8
Views: 1013

Re: 16mm HQ lens - beginners HowTo

The reason for doing the quick howto is I could not find an beginners online doc for the HQ camera - via google or in raspberrypi.org. The raspberrypi.org search points to a doc where at the bottom of that page is a pointer to Raspberry Pi Press, sure enough by going down that rabbit hole I would ha...
by peewee2
Tue Jun 30, 2020 11:11 am
Forum: Camera board
Topic: 16mm HQ lens - beginners HowTo
Replies: 8
Views: 1013

Re: 16mm HQ lens - beginners HowTo

Well spots, the near/far setting should be at FAR I made that mistake when I first set up my lens.

Never do write ups late at night.
by peewee2
Mon Jun 29, 2020 9:15 am
Forum: Camera board
Topic: 16mm HQ lens - beginners HowTo
Replies: 8
Views: 1013

Re: 16mm HQ lens - beginners HowTo

More on Focus The --focus option does not work very well in poor light, you will have to rely on the Mk1 eyeball. I also failed to mention the obvious - focus with the aperture wide open. In strong light this may be too much, and you may need to reduce the aperture so that the image is not bleached...
by peewee2
Mon Jun 29, 2020 12:32 am
Forum: Camera board
Topic: 16mm HQ lens - beginners HowTo
Replies: 8
Views: 1013

16mm HQ lens - beginners HowTo

I struggled to get going with the new camera board, so here are a few notes on using the 16mm lens gleaned by asking dumb questions and trawling through the many posts in this forum. Many thanks to those who have contributed to getting the camera working. The official guide is here https://magazines...
by peewee2
Sun Jun 28, 2020 12:22 am
Forum: Camera board
Topic: 16mm lens - fiddly to focus
Replies: 2
Views: 386

Re: 16mm lens - fiddly to focus

That sounds a good idea, it would certainly be easier to add a calibration ring to the body and a pointer on the back focus ring. Also as the c-mount is a known diameter, doing the maths to work out the image distance should be straight forward - once I remember how to calculate the image distance.
by peewee2
Sat Jun 27, 2020 11:35 pm
Forum: Camera board
Topic: 16mm lens - fiddly to focus
Replies: 2
Views: 386

16mm lens - fiddly to focus

Having spent around 15 hours experimenting with the 16mm lens, I am finding getting sharp focus hit & miss. I spent a lot of time getting the back focus as good as I could with a large HDMI monitor attached. It's not as sharp as I would like. My major problem is getting focus at the 2 to 3 metre...
by peewee2
Sat Jun 27, 2020 10:32 pm
Forum: Camera board
Topic: Rapistill shutter speed - buster
Replies: 10
Views: 943

Re: Rapistill shutter speed - buster

James, Thanks for your help. It would be helpful if the getting started guide for the HQ camera contained the fundamental information that all new users need. It's really not much fun for folks to need to dig through reams of largely irrelevant, and jargon filled forum posts to find basic informatio...
by peewee2
Fri Jun 26, 2020 8:40 pm
Forum: Camera board
Topic: Rapistill shutter speed - buster
Replies: 10
Views: 943

Re: Rapistill shutter speed - buster

OK, after rpi_update I get the following pi@camera:~ $ time raspistill -t 1000 -ss 10000000 -o a.jpg real 1m11.496s user 0m0.011s sys 0m0.078s pi@camera:~ $ strings a.jpg | grep exp dev=-1 mlux=-1 exp=9999846 ag=329 focus=255 gain_r=2.542 gain_b=2.234 greenness=0 ccm=7322,-2906,-316,-414,5764,-1248,...
by peewee2
Fri Jun 26, 2020 7:06 pm
Forum: General discussion
Topic: Advice for yet another home energy monitor
Replies: 9
Views: 863

Re: Advice for yet another home energy monitor

I think the Efergy probe is indicative. I cannot say for certain, but I expect the efergy software is very analogous to the old induction/mechanical meters. Googling suggests the efergy sensors are accurate to better than 10%. The bottom line is usage went down when I switched on a tube light. I am ...
by peewee2
Fri Jun 26, 2020 6:24 pm
Forum: Camera board
Topic: Rapistill shutter speed - buster
Replies: 10
Views: 943

Re: Rapistill shutter speed - buster

thanks, that rpi3 is certainly running the latest version of the OS, SD card burnt last weekend, and apt update/upgrade run. I did not run rpi_update, as logic told me that should only effect the rpi firmware, unsure why the camera would be affected - your gonna tell me why :) I will run rpi_update ...
by peewee2
Fri Jun 26, 2020 3:29 pm
Forum: Camera board
Topic: Rapistill shutter speed - buster
Replies: 10
Views: 943

Re: Rapistill shutter speed - buster

HQ camera, attached to rpi3+ I was not expecting the software to behave differently with a different camera. I would not expect the preview to start until after the module had stabilised, so here goes with 1s preview. pi@camera:~ $ date; raspistill -t 1000 -o a.jpg; date Thu 25 Jun 21:21:56 BST 2020...
by peewee2
Fri Jun 26, 2020 11:46 am
Forum: General discussion
Topic: Advice for yet another home energy monitor
Replies: 9
Views: 863

Re: Advice for yet another home energy monitor

Good timing on your post! Sometime around 2008 I purchased an efergy power monitor. It sat on the top of the meter box for many years, occasionally I would go look at it and change the batteries, but generally I found that I prefer comfort over saving a few quid by sitting in the cold! Since 2015 we...
by peewee2
Fri Jun 26, 2020 1:53 am
Forum: Camera board
Topic: 16mm lens - can the sensor be destroyed by strong light
Replies: 3
Views: 496

Re: 16mm lens - can the sensor be destroyed by strong light

Yes thought that could be the case, won't do that then :mrgreen:
by peewee2
Fri Jun 26, 2020 1:50 am
Forum: Camera board
Topic: Rapistill shutter speed - buster
Replies: 10
Views: 943

Rapistill shutter speed - buster

Trying out raspistill in low light it seemed that raspistill hung. In fact I was unable to even control C to stop it. I then tried raspistill -t 100 -ss 1000 -o test.jpg and that worked, so I tried 10000, 100000, 1000000. At that point it became clear that the shutter speed is actually 10 times as l...
by peewee2
Thu Jun 25, 2020 9:45 am
Forum: Camera board
Topic: 16mm lens - can the sensor be destroyed by strong light
Replies: 3
Views: 496

16mm lens - can the sensor be destroyed by strong light

I wish to set up the 16mm camera set up on a tripod to capture the sun rise.
I created a crontab entry to fire off raspistill once a minute over the sunrise period.
Then I suddenly realised that the sun will be focused on the CCD for a couple of hours, will this damage the CCD.
by peewee2
Thu Jun 25, 2020 9:38 am
Forum: Camera board
Topic: Problem getting proper focus using Pi Hq Camera with 16mm lens
Replies: 12
Views: 1691

Re: Problem getting proper focus using Pi Hq Camera with 16mm lens

I followed the getting started guide - https://static.raspberrypi.org/files/product-guides/Raspberry_Pi_High_Quality_Camera_Getting_Started.pdf. It describes how to adjust the back focus, but does not mention any adjustment of the focus ring. Being unfamiliar with this type of lens, I set the focus ...

Go to advanced search