Go to advanced search

by pd2
Wed Apr 22, 2020 8:55 am
Forum: Beginners
Topic: 3 volt output + 3 volt battery on same circuit
Replies: 3
Views: 157

Re: 3 volt output + 3 volt battery on same circuit

Thanks BoyOh yes it's to keep the transmitter settings alive. Thanks.
by pd2
Tue Apr 21, 2020 12:02 pm
Forum: Beginners
Topic: 3 volt output + 3 volt battery on same circuit
Replies: 3
Views: 157

3 volt output + 3 volt battery on same circuit

So I've forgotten almost the electronics I did 30 years ago and need help please. I am using the Raspi 3 volt output to power a small simple transmitter that loses its settings after power loss. There is no program interface to the transmitter so I cannot reload settings. The original transmitter ci...
by pd2
Wed Mar 11, 2020 8:16 pm
Forum: Beginners
Topic: High Power Reliable PSU
Replies: 7
Views: 484

Re: High Power Reliable PSU

Did the upgrade today and it's looking good. No more low volts messages and reliable comms.
by pd2
Thu Feb 27, 2020 9:05 am
Forum: Beginners
Topic: High Power Reliable PSU
Replies: 7
Views: 484

Re: High Power Reliable PSU

Thanks guys for the very useful feedback. :D
by pd2
Mon Feb 24, 2020 3:15 pm
Forum: Beginners
Topic: High Power Reliable PSU
Replies: 7
Views: 484

High Power Reliable PSU

I'm using Rasp3 to run Domoticz with several USB peripherals, a relay driver board with 6 relays and taking 3Volts to power a small transmitter which controls 16 mains voltage devices. I have under voltage and normalised voltage message cycles in the syslog file every minute of the day and sometimes...
by pd2
Mon Dec 23, 2019 12:45 pm
Forum: Troubleshooting
Topic: Just did a sudo apt-get etc install!
Replies: 1
Views: 125

Just did a sudo apt-get etc install!

I didn't realise that the SD card was full...
Now when I try to login I just keep returning to the login screen.
Any way out of this or do I start again. I do have a larger card if I can get it working.
by pd2
Tue Dec 17, 2019 7:46 pm
Forum: Beginners
Topic: Gphoto - Canon G9 Camera Capture
Replies: 3
Views: 227

Re: Gphoto - Canon G9 Camera Capture

Soooo, after spending a long time.... this may be helpful to others.
I had to tell the camera to use manualmode first before setting the shutterspeed and aperture. Then everything ran perfectly.
Doh!
by pd2
Tue Dec 17, 2019 4:34 pm
Forum: Beginners
Topic: Gphoto - Canon G9 Camera Capture
Replies: 3
Views: 227

Re: Gphoto - Canon G9 Camera Capture

Yes it's a nice camera that I've had since 2008. I also have a couple of 5Ds that I use for real work. The G9 is in manual mode as I want to set both aperture and shutter speed! I found that I have to run this command for the G9 before it will accept input gphoto2 --set-config capture=on then I can ...
by pd2
Mon Dec 16, 2019 4:40 pm
Forum: Beginners
Topic: Gphoto - Canon G9 Camera Capture
Replies: 3
Views: 227

Gphoto - Canon G9 Camera Capture

Funny how you always find something else to do with a Raspberry! Anyhow using Gphoto I have hooked up my old G9 (PTP) camera to take some shots. Ultimately to control a slide projector as well. I have learnt how to kill the running process that hogs the USB port. I can list the camera properties. as...
by pd2
Fri Jul 06, 2018 3:18 am
Forum: Python
Topic: [SOLVED] Python - Sainsoft USB 4 Relay Board
Replies: 14
Views: 3094

Re: Python - Sainsoft USB 4 Relay Board

Ahhhh! From your post I understood that if I got the message "reported not TYPE-R when run" then I should "re-run sudo make install" which because I didn't get that message I didn't run. Its run, reboot and voila!!! I can change the relay state. THANK YOU so much Gordon77 for your patience and knowl...
by pd2
Thu Jul 05, 2018 7:08 am
Forum: Python
Topic: [SOLVED] Python - Sainsoft USB 4 Relay Board
Replies: 14
Views: 3094

Re: Python - Sainsoft USB 4 Relay Board

Thanks Gordon77 for the detailed answer. The Make ran perfectly without errors. "sudo crelay 1 on" gives me "command not found". Should I run this from a specific directory? the "ls" command on crelay gives me the following files/directories pi@raspberrypi ~/crelay $ ls conf HISTORY lib monit relays...
by pd2
Tue Jul 03, 2018 12:51 pm
Forum: Official Foundation Display
Topic: New Display Compatibility with Pface Digital 1 and 2
Replies: 1
Views: 1053

New Display Compatibility with Pface Digital 1 and 2

Has anyone used this combo in a project yet?
If it works then I need to buy some.

I bought a couple of things recently that are not compatible but ought to be and.... so better to ask first.
by pd2
Mon Jul 02, 2018 9:39 pm
Forum: Python
Topic: [SOLVED] Python - Sainsoft USB 4 Relay Board
Replies: 14
Views: 3094

Re: Python - Sainsoft USB 4 Relay Board

Interesting! I did a system update today so I don't think that I'm missing anything but your code crashed with s.write([b'\xFF',b'\xFF']) # all on File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 475, in wite n=os.write(self.fd, d) TypeError: must be string or buffer, not list So ...
by pd2
Mon Jul 02, 2018 4:42 am
Forum: Python
Topic: [SOLVED] Python - Sainsoft USB 4 Relay Board
Replies: 14
Views: 3094

Re: Python - Sainsoft USB 4 Relay Board

Thanks Chris, I hadn't but I did! And this is what I used. import serial s=serial.Serial(port='/dev/ttyUSB0', baudrate=9600, bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, timeout=None) s.isOpen() s.write([b'\00',b'\00']) s.write([b'\xFF',b'\xFF']) Under Python 2...
by pd2
Sun Jul 01, 2018 8:10 am
Forum: Python
Topic: [SOLVED] Python - Sainsoft USB 4 Relay Board
Replies: 14
Views: 3094

Re: Python - Sainsoft USB 4 Relay Board

Thanks for the feedback, obviously there are some major gaps in my Linux knowledge. Using this new knowledge I was able to identify the serial port. May be this info will be useful to someone else. >>> import serial >>> ser = serial.Serial('/dev/ttyUSB0') # open serial port >>> print(ser.name) # che...
by pd2
Sat Jun 30, 2018 7:20 pm
Forum: Python
Topic: [SOLVED] Python - Sainsoft USB 4 Relay Board
Replies: 14
Views: 3094

Re: Python - Sainsoft USB 4 Relay Board

Thanks for replying but it hasn't got me there yet. I am trying to use this "simple" code at https://github.com/numato/samplecode/tree/master/RelayAndGPIOModules/USBRelayAndGPIOModules/python/usbrelay1_2_4_8 Which uses this syntax --- print ("Usage: relaywrite.py <PORT> <RELAYNUM> <CMD>\n Eg: relayw...
by pd2
Sat Jun 30, 2018 11:00 am
Forum: Python
Topic: [SOLVED] Python - Sainsoft USB 4 Relay Board
Replies: 14
Views: 3094

Re: Python - Sainsoft USB 4 Relay Board

Come on guys I need some help. I have downloaded so many different python files, modules and installers that i am now totally confused and i haven't been able to get this relay board to work under Python on the Raspi.
by pd2
Sun Jun 24, 2018 8:29 pm
Forum: Python
Topic: [SOLVED] Python - Sainsoft USB 4 Relay Board
Replies: 14
Views: 3094

[SOLVED] Python - Sainsoft USB 4 Relay Board

I've been using a Python controlled 8 relay board interfaced via a PiFace2 digital IO board successfully for some time now for house automation. I now want to use an additional display and keypad HAT but because of conflicts I need to use the Sainsoft USB 4 relay board. I haven't yet been able to fi...
by pd2
Sun May 13, 2018 2:10 pm
Forum: General discussion
Topic: Piface2 and DisplayOtron compatibility
Replies: 2
Views: 337

Re: Piface2 and DisplayOtron compatibility

The Piface owner website ( OpenLX SP) hasn't been updated since 2016 and every time I try to send an email to them over the last 3 days the site reports - We're doing some maintenance! This site will be back shortly, we're doing a bit of maintenance. Anyone know if they've disappeared for good? I ca...
by pd2
Wed May 09, 2018 4:23 am
Forum: General discussion
Topic: Piface2 and DisplayOtron compatibility
Replies: 2
Views: 337

Re: Piface2 and DisplayOtron compatibility

I should have mentioned that the Piface2 is a digital I/O board and not a second display board.
by pd2
Tue May 08, 2018 6:06 pm
Forum: General discussion
Topic: Piface2 and DisplayOtron compatibility
Replies: 2
Views: 337

Piface2 and DisplayOtron compatibility

Running a B3. Piface2 and DisplayOtron boards work perfectly when only one is installed. Both directly on the Pi and on a Phat Stack. With both installed on a Phat Stack extender board the Piface2 works perfectly. However the DisplayOtron LCD does not show text sent to it. The DisplayOtron keypad an...
by pd2
Wed Nov 22, 2017 6:58 am
Forum: HATs and other add-ons
Topic: Backplane like Piface Pirack for latest Pi3
Replies: 2
Views: 2754

Re: Backplane like Piface Pirack for latest Pi3

Thanks! I ordered 2 and am pleased with the results.
by pd2
Fri Nov 03, 2017 12:41 pm
Forum: HATs and other add-ons
Topic: Backplane like Piface Pirack for latest Pi3
Replies: 2
Views: 2754

Backplane like Piface Pirack for latest Pi3

I cannot trace anything like the old PiRack for the Pi3. Am I missing a trick in my searching or there is really no product available? To be clear I am not looking for an extender cable but the ability to use several boards on a backplane. I guess if an extender cable had several sockets that might ...
by pd2
Sat Aug 12, 2017 5:28 am
Forum: Troubleshooting
Topic: Differences between IDLE environment and auto start
Replies: 1
Views: 319

Differences between IDLE environment and auto start

Python3 loads the pytz module fine under the interpreter and executes correctly.
When I autostart at boot the python program runs perfectly except I get an ImportError: No module named pytz.

Any help welcome.
by pd2
Tue Jun 13, 2017 8:19 am
Forum: Troubleshooting
Topic: Error 101 Network is unreachable
Replies: 2
Views: 1256

Re: Error 101 Network is unreachable

ok thanks!

Go to advanced search