Go to advanced search

by RDS
Wed Feb 08, 2017 10:11 am
Forum: Camera board
Topic: Pi Camera - Minimum Distance from Object
Replies: 5
Views: 4256

Re: Pi Camera - Minimum Distance from Object

@goldberg Thank you for your reply, that is interesting. I understand that your camera is 110mm from the meter. I really need to get a lot closer than that though and I am hoping to mount the camera on the inside of the plastic lid that hinges down at the front of the Meter box. With the position th...
by RDS
Tue Feb 07, 2017 6:47 pm
Forum: Python
Topic: Programming an i2C interface in Python
Replies: 16
Views: 16911

Re: Programming an i2C interface in Python

@bensimmo
Yes, that is the command to turn them ALL on but I am just trying to turn the White ones on using 0x5a and this command works perfectly from the Terminal. The 0xff doesn't work either from the Python script but it is fine from the Terminal.
by RDS
Tue Feb 07, 2017 5:17 pm
Forum: Python
Topic: Programming an i2C interface in Python
Replies: 16
Views: 16911

Re: Programming an i2C interface in Python

Sorry, to be a nuisance but I cannot get the simplest of parts to work. I decided to start with the smbus option. when I first tried the 'write_byte_data' command, it reported that 'write_byte_data' is not defined, so I added the 'bus = smbus.SMBus(1)' and changed 'write_byte_data' to 'bus.write_byt...
by RDS
Tue Feb 07, 2017 8:31 am
Forum: Python
Topic: Programming an i2C interface in Python
Replies: 16
Views: 16911

Re: Programming an i2C interface in Python

Thank you joan, I will look at those, probably with preference towards your pigpio Python Module as I am fairly regular user of your Piscope program.
by RDS
Mon Feb 06, 2017 10:54 pm
Forum: Python
Topic: Programming an i2C interface in Python
Replies: 16
Views: 16911

Programming an i2C interface in Python

I have a product named 'Bright Pi' that consists of a small board with 8 IR LED's and 4 white LED's that mounts in front of the Pi Camera. It has an i2C interface and I have got it working perfectly using sudo commands from the terminal. I now want to incorporate it into a Python program but I have ...
by RDS
Mon Feb 06, 2017 2:31 pm
Forum: Camera board
Topic: Pi Camera - Minimum Distance from Object
Replies: 5
Views: 4256

Re: Pi Camera - Minimum Distance from Object

@topguy & Gavinmc42
Thank you both. I have ordered a set of 3 smart phone type lenses.
by RDS
Sun Feb 05, 2017 3:21 pm
Forum: Camera board
Topic: Pi Camera - Minimum Distance from Object
Replies: 5
Views: 4256

Pi Camera - Minimum Distance from Object

I understand that the lens on the Pi Camera can be rotated to ensure that close up items can remain in focus. I could do to be able to use the camera to take a picture of an electric meter reading, so the camera needs to be about 25mm away. Does anyone know if a distance this short is possible. (I d...
by RDS
Thu Jan 26, 2017 5:29 pm
Forum: Beginners
Topic: PiCamera - What Functions are available
Replies: 4
Views: 843

Re: PiCamera - What Functions are available

@B.Goode
Thank you.
by RDS
Thu Jan 26, 2017 4:16 pm
Forum: Beginners
Topic: PiCamera - What Functions are available
Replies: 4
Views: 843

Re: PiCamera - What Functions are available

@gordon77
Thank you. There is plenty to go at there!

Is there a list somewhere of any other documents that may be available in the same format as that one.
by RDS
Thu Jan 26, 2017 3:45 pm
Forum: Beginners
Topic: PiCamera - What Functions are available
Replies: 4
Views: 843

PiCamera - What Functions are available

I would appreciate help with the following. I have the official Pi Camera(s), in both normal and NOIR versions. I am using the command: from picamera import PiCamera but I would like to add the feature to rotate the image by 180 degrees and also be able to overlay text. Is it possible with the above...
by RDS
Tue Jan 24, 2017 8:01 pm
Forum: Beginners
Topic: GPIO.setmode - Error Message
Replies: 6
Views: 1811

Re: GPIO.setmode - Error Message

So it seems the cleanup is within the for loop. It does one pass where it captures a frame, sleeps a bit, calls cleanup, then tries the next pass through the for loop and fails because you have undefined the setup of the gpio pins you have used? Yes, I have removed the 4 spaces before the cleanup c...
by RDS
Tue Jan 24, 2017 7:00 pm
Forum: Beginners
Topic: GPIO.setmode - Error Message
Replies: 6
Views: 1811

Re: GPIO.setmode - Error Message

Probably best to let people see the entire script rather than selected highlights. Where, if at all, do you call cleanup ? Thank you for your reply. This is the entire program, (partly taken from this website http://www.makeusof.com/tag/raspberry-pi-camera-module with bits added by me: import RPi.G...
by RDS
Tue Jan 24, 2017 6:58 pm
Forum: Beginners
Topic: GPIO.setmode - Error Message
Replies: 6
Views: 1811

Re: GPIO.setmode - Error Message

calleblyh wrote:I wonder, the first line
should be
import RPi.GPIO as GPIO
Thank you for your suggestion.
I'm sorry, that was a typing error in my post.
I have corrected it now but the program does has a small i
by RDS
Tue Jan 24, 2017 6:16 pm
Forum: Beginners
Topic: GPIO.setmode - Error Message
Replies: 6
Views: 1811

GPIO.setmode - Error Message

I have a program where I have the following code at the beginning of the program: import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD) GPIO.setup(7, GPIO.OUT) Further on in the same program in a loop, I have the following code: GPIO.output(7,True) followed a few lines later with: GPIO.output(7,False) Th...
by RDS
Sat Jan 21, 2017 11:31 pm
Forum: Beginners
Topic: Text overlaying 'Welcome to Pixel' flash screen
Replies: 5
Views: 1225

Re: Text overlaying 'Welcome to Pixel' flash screen

I guess it looks like a complete rewrite of the Micro SD card image is required then?
by RDS
Fri Jan 20, 2017 11:25 pm
Forum: Beginners
Topic: Headless setup for disabled user
Replies: 17
Views: 4236

Re: Headless setup for disabled user

I have just started using VNC, that as stated above, is part of the latest Raspbian download.
I am finding it an excellent feature to have and VNC does everything I want.
by RDS
Fri Jan 20, 2017 6:14 pm
Forum: Beginners
Topic: Text overlaying 'Welcome to Pixel' flash screen
Replies: 5
Views: 1225

Re: Text overlaying 'Welcome to Pixel' flash screen

Can anyone help with this one please.
by RDS
Thu Jan 19, 2017 7:52 pm
Forum: Beginners
Topic: Text overlaying 'Welcome to Pixel' flash screen
Replies: 5
Views: 1225

Re: Text overlaying 'Welcome to Pixel' flash screen

chuckc192000 wrote:Trying running:

sudo raspi-config

and select "Change User Password" from the menu.
Thank you but it reports:There was an error running option 2 Change User Password.
by RDS
Thu Jan 19, 2017 2:08 pm
Forum: Beginners
Topic: Text overlaying 'Welcome to Pixel' flash screen
Replies: 5
Views: 1225

Text overlaying 'Welcome to Pixel' flash screen

A few days ago, I successfully loaded the latest version of Raspbian, with VNC and Pixel. Today though, the 'Welcome to Pixel' Flash screen comes up but is then overwritten with text, in a style similar to the Terminal but not in a separate screen, just overlayed. The final line of the text says: SS...
by RDS
Tue Jan 17, 2017 10:59 pm
Forum: Beginners
Topic: Cannot connect to Wi-Fi with Pi Zero
Replies: 10
Views: 1530

Re: Cannot connect to Wi-Fi with Pi Zero

mattmiller wrote:With a working wpa_supplicant.conf file ?
I didn't actually understand this step, so I thought I would try the suggestion of getting the Micro SD card working in another Pi and swapping over and come back with more questions if it didn't work - fortunately it did, Thanks anyway.
by RDS
Tue Jan 17, 2017 10:22 pm
Forum: Beginners
Topic: Cannot connect to Wi-Fi with Pi Zero
Replies: 10
Views: 1530

Re: Cannot connect to Wi-Fi with Pi Zero

@mattmiller
I should have mentioned in my original post that I had tried the WiFi dongle directly in the Pi zero without success.
by RDS
Tue Jan 17, 2017 10:20 pm
Forum: Beginners
Topic: Cannot connect to Wi-Fi with Pi Zero
Replies: 10
Views: 1530

Re: Cannot connect to Wi-Fi with Pi Zero

@Scotty101
Thank you for your suggestion. I tried what you said and I have now got it working, so loading the Pi zero with a card that been set up on a Pi 3, has solved the issue.
by RDS
Tue Jan 17, 2017 10:16 pm
Forum: Beginners
Topic: Cannot connect to Wi-Fi with Pi Zero
Replies: 10
Views: 1530

Re: Cannot connect to Wi-Fi with Pi Zero

@HawaiianPi
Thank-you for your reply.
I am using an element 14, WiFi dongle, recommended for the Pi. The PSU is the latest 2.5A version of the official one for the Pi. The USB hub is a miniature 4 way one, unpowered.
by RDS
Mon Jan 16, 2017 11:09 pm
Forum: Beginners
Topic: Cannot connect to Wi-Fi with Pi Zero
Replies: 10
Views: 1530

Cannot connect to Wi-Fi with Pi Zero

After help from another thread over the weekend, I loaded VNC on 2 of my Raspberry Pi's to operate them Headless and they both work well. One of them has the built in Wi-Fi and for the other one, I am using a Wi-Fi USB (official Pi issue) Dongle. Today, I have tried to convert my Pi Zero to Headless...
by RDS
Mon Jan 16, 2017 7:39 pm
Forum: Troubleshooting
Topic: Is There a Way I Can Set 1080i as the Permenant Resolution?!
Replies: 5
Views: 3736

Re: Is There a Way I Can Set 1080i as the Permenant Resoluti

DirkS wrote:
Yes, that's what I linked to

Sorry, I thought the number looked different.

Go to advanced search