Go to advanced search

by miketr3
Thu Feb 20, 2020 6:01 pm
Forum: Advanced users
Topic: How best to log 12 volt lead acid battery voltage with a Raspberry Pi?
Replies: 6
Views: 853

Re: How best to log 12 volt lead acid battery voltage with a Raspberry Pi?

Chimney, did you solve this.
I'm looking for the same thing.
Thanks.
by miketr3
Sun Dec 29, 2019 5:07 pm
Forum: Beginners
Topic: Is DST recognised with no network time server?
Replies: 9
Views: 306

Re: Is DST recognised with no network time server?

Thanks to all for the comments. I should clarify the situation regarding usage. At home with network access, I connect the Pi to the Witty Pi board and sync the time with both, GMT at the moment. The Witty Pi has a button battery to maintain the RTC. I take them to a remote location with no network ...
by miketr3
Sun Dec 29, 2019 7:16 am
Forum: Beginners
Topic: Is DST recognised with no network time server?
Replies: 9
Views: 306

Re: Is DST recognised with no network time server?

I think I have a solution.

With no network connection, every time the Pi boots it gets the time from the RTC on the Witty Pi board.
If the Pi is not switched on around 01:00 on 29th March, and next boots at say 06:00 on the 29th it will stay in sync with the RTC.
by miketr3
Sun Dec 29, 2019 6:37 am
Forum: Beginners
Topic: Is DST recognised with no network time server?
Replies: 9
Views: 306

Re: Is DST recognised with no network time server?

So the Pi will go out of sync with the RTC, and there's no way of preventing that?
by miketr3
Sun Dec 29, 2019 6:08 am
Forum: Beginners
Topic: Is DST recognised with no network time server?
Replies: 9
Views: 306

Is DST recognised with no network time server?

Using a Pi 2B at a remote location with no network. Power and time will be managed using the Witty Pi control board with RTC. If I set the Pi clock to GMT at home in sync with the RTC, then take both to remote location, will the Pi change to daylight saving time in March? Or will the Pi continue to ...
by miketr3
Fri Dec 20, 2019 8:49 am
Forum: Python
Topic: assign datetime string to a file name
Replies: 16
Views: 503

Re: assign datetime string to a file name

I don't dispute the advice given, for which I am grateful, it makes sense. Batch processing of the files will be based on date the file was created. I'm only using the Pi to collect the files, processing will be done on a desktop machine. In such a list of file names, because I read from left to rig...
by miketr3
Thu Dec 19, 2019 10:31 pm
Forum: Python
Topic: assign datetime string to a file name
Replies: 16
Views: 503

Re: assign datetime string to a file name

The method of naming is unimportant because the files will be listed by date created.
by miketr3
Thu Dec 19, 2019 9:27 pm
Forum: Python
Topic: assign datetime string to a file name
Replies: 16
Views: 503

Re: assign datetime string to a file name

I’ve yet to sort the hardware, but the idea is to have this as a script that runs on boot, with the pi being switched on and off using the witty Pi controller. Takes one pic every 30 mins or so for a year. To keep the files in order my intended file naming is, %m%h%D%M%y Files will be saved to a mem...
by miketr3
Thu Dec 19, 2019 7:29 pm
Forum: Python
Topic: assign datetime string to a file name
Replies: 16
Views: 503

Re: assign datetime string to a file name

Excellent.
Many thanks.
by miketr3
Thu Dec 19, 2019 6:45 pm
Forum: Python
Topic: assign datetime string to a file name
Replies: 16
Views: 503

Re: assign datetime string to a file name

Ah, slight problem. how do I include the name in the file path.

f = open ('/media/pi/usb_stick/name',"w")

This just creates a file called "name".
by miketr3
Thu Dec 19, 2019 6:18 pm
Forum: Python
Topic: assign datetime string to a file name
Replies: 16
Views: 503

Re: assign datetime string to a file name

Many thanks, simplicity is best.
I got really confused with long winded answers in StackOverflow.
by miketr3
Thu Dec 19, 2019 5:26 pm
Forum: Python
Topic: assign datetime string to a file name
Replies: 16
Views: 503

assign datetime string to a file name

Each time the camera takes a photo I'd like the saved file to have datetime.jpg as the file name.
I can arrange the elements of datetime into a string to print, but how can I use the variable to create a file with that unique name?
Thanks
by miketr3
Mon Dec 16, 2019 12:57 pm
Forum: Troubleshooting
Topic: nikkai jv tv846fa
Replies: 3
Views: 145

Re: nikkai jv tv846fa

Got it figured thanks. Took the back off the Nikkai and found that ring two is ground, so that’s ok. Using two cables that are 3.5mm jack to 3 rca plugs, joining the plugs with in-line couplers. This means that with a jack in the Pi and the other jack in the Nikkai I’m safe to swap the plugs to find...
by miketr3
Sun Dec 15, 2019 3:48 pm
Forum: Troubleshooting
Topic: nikkai jv tv846fa
Replies: 3
Views: 145

nikkai jv tv846fa

Does anyone know the configuration of the connections on the 3.5mm socket for the AV in of a nikkai jv tv846fa?
Thanks.
by miketr3
Sun Dec 15, 2019 8:50 am
Forum: Beginners
Topic: HDMI to composite convertor
Replies: 4
Views: 198

Re: HDMI to composite convertor

Many thanks.
by miketr3
Sun Dec 15, 2019 7:55 am
Forum: Beginners
Topic: HDMI to composite convertor
Replies: 4
Views: 198

Re: HDMI to composite convertor

I have a 2B v1.1

Duh! I forgot about the RCA jack, sorry.
by miketr3
Sun Dec 15, 2019 7:40 am
Forum: Beginners
Topic: HDMI to composite convertor
Replies: 4
Views: 198

HDMI to composite convertor

Has anyone used one of these in order to use an old TV with no HDMI input?
I see there are many types available, but very varied reviews.
by miketr3
Fri Dec 13, 2019 1:16 am
Forum: Beginners
Topic: Using a Pi in remote location
Replies: 14
Views: 442

Re: Using a Pi in remote location

ElEscalador, Thanks for the all the comments.
I think using a small screen or 12v monitor is the way to go.
I'll also try setting up the hotspot at home, then out in the field.
by miketr3
Fri Dec 13, 2019 12:44 am
Forum: Beginners
Topic: Using a Pi in remote location
Replies: 14
Views: 442

Re: Using a Pi in remote location

Aha!!

I think I'll simplify things by not considering a software approach.
I'll look for a second hand 12v TV like you'd have in a boat or motorhome.
by miketr3
Thu Dec 12, 2019 11:11 pm
Forum: Beginners
Topic: Using a Pi in remote location
Replies: 14
Views: 442

Re: Using a Pi in remote location

I can set my phone as a hotspot, but with no monitor on the Pi how can I connect to that hotspot?
by miketr3
Thu Dec 12, 2019 9:10 pm
Forum: Beginners
Topic: Using a Pi in remote location
Replies: 14
Views: 442

Re: Using a Pi in remote location

Fascinating, I will give it a go, but not this evening. I'm not that knowledgeable regarding networks, but am I correct in thinking that if I set up the Pi as an AP, then if I ran Fing on my phone, it would detect the address of the Pi? Which of course it would not normally show at the allotment bec...
by miketr3
Thu Dec 12, 2019 7:34 pm
Forum: Beginners
Topic: Using a Pi in remote location
Replies: 14
Views: 442

Re: Using a Pi in remote location

It's the official Pi dongle, info says it supports a wireless access point, is that what you're referring to?

I did try using my iPhone as a Hotspot, but how do I access the Pi to tell it to connect?
by miketr3
Thu Dec 12, 2019 6:47 pm
Forum: Beginners
Topic: Using a Pi in remote location
Replies: 14
Views: 442

Re: Using a Pi in remote location

It's a Pi 2.

sure at home I have no problem using VNC or SSH to get access.
I do have a spare keyboard and mouse, and a Wi-Fi dongle for the Pi.

The big issue is having no network and no 240v for a monitor at the allotment.

Ideally I'd like to be able to access the desktop on the pi.
by miketr3
Thu Dec 12, 2019 6:23 pm
Forum: Beginners
Topic: Using a Pi in remote location
Replies: 14
Views: 442

Using a Pi in remote location

I'm thinking of making use of a Pi at our allotment. But, the main issues are; no mains electric, no Wi-Fi. I do have a 12v supply from a solar panel and deep cycle battery. Used to power a bilge pump for pumping rainwater from a large IBC tank. The 12v supply also powers a 2.1 amp USB port via a ca...
by miketr3
Sat Sep 09, 2017 5:09 pm
Forum: Python
Topic: Importing a module
Replies: 2
Views: 1867

Re: Importing a module

DirkS wrote:
Sat Sep 09, 2017 5:06 pm
use pip3 instead of pip to install it.
This will set it up for Python 3
Excellent, many thanks.

Go to advanced search