Go to advanced search

by miky94
Thu Jul 30, 2020 9:52 pm
Forum: General discussion
Topic: Raspberry as an all around the world transmitter?
Replies: 8
Views: 455

Re: Raspberry as an all around the world transmitter?

wow... how many funny people here
I found my solution
thanks! :-*
by miky94
Thu Jul 30, 2020 12:38 pm
Forum: General discussion
Topic: Raspberry as an all around the world transmitter?
Replies: 8
Views: 455

Raspberry as an all around the world transmitter?

Hi,
organizing a trip around the world (I will be far away from home up to a maximum of 7000km as the crow flies) where the internet will not always be available I was wondering if it was possible to use a Raspberry to communicate to my family or on a website geolocation, messages and images.
Thanks
by miky94
Fri Jul 24, 2020 2:57 pm
Forum: General discussion
Topic: run script when network is connected
Replies: 2
Views: 122

run script when network is connected

Hi, I'm trying to make a camera trap using a Raspberry, an IR sensor, a camera, a 4G module and a python script the script seems to work but I have to wait for the Pi to connect to my router via pptp, connect to it via telnet and run the script manually how can I start it automatically and handling ...
by miky94
Thu Jan 30, 2020 1:06 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

I noticed another problem, the Pi still power GPIO/USB even when powered off, a connected device's LED won't consume much but better to not risk of being left on foot. so maybe a specially made device like this https://mausberry-circuits.myshopify.com/collections/frontpage/products/4amp-car-supply-s...
by miky94
Wed Jan 29, 2020 9:54 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

I connect the 5v usb power supply directly to the battery so it doesn't stop running during start I want the graceful shutdown to avoid SD corruption because I have other softwares writing data a bit complicated for me means that if the solution in this drawing works I prefer it, with the relay conn...
by miky94
Tue Jan 28, 2020 1:15 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

If I'm not going OT I'd like to resolve first the automatic power on/power off in the car which has priority over the LED, otherwise tell me if i have to open a dedicated topic
by miky94
Tue Jan 28, 2020 10:58 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

So they act as relays but using LEDs and phototransistors right?
I find them on the market as DPDT optoisolators?
and could work a optoisolator that open the circuit between RUN and GND right after being closed by the DPDT optoisolator to reset the Pi?
by miky94
Tue Jan 28, 2020 10:16 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

@LostTwo a bit complicated for me, what about the solution with a DPDT relay and another relay to open the circuit between RUN and GND to reset the Pi?
by miky94
Mon Jan 27, 2020 12:04 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

miky94 wrote:
Sat Jan 18, 2020 1:09 pm
UPDATE:
I tried the RUN pin and when I short it the Pi doesn't boot, it only boots when I reopen the circuit, so that circuit won't work
maybe a NC relay between RUN and GND pins so that when the circuit is closed it opens immediately after could work?
by miky94
Sat Jan 18, 2020 1:09 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

UPDATE:
I tried the RUN pin and when I short it the Pi doesn't boot, it only boots when I reopen the circuit, so that circuit won't work
by miky94
Tue Jan 14, 2020 10:04 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

ok sorry so one of these http://www.aliexpress.com/item/4000072843823.html and in parallel, not in series

if I don't try to go beyond my limits, I will never go beyond them
by miky94
Tue Jan 14, 2020 8:36 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

this 1N4742A 12V diode would be ok?
http://www.aliexpress.com/item/4000022515487.html
is it connected right in the wiring diagram?
by miky94
Tue Jan 14, 2020 12:53 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

Here's the wiring diagram
Senza-titolo-1.jpg
Senza-titolo-1.jpg (56.27 KiB) Viewed 845 times
by miky94
Mon Jan 13, 2020 10:16 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

ops my mistake! instead like this (the 12v) https://www.aliexpress.com/item/32679765330.html anyway I got it, just to be sure I'll draw the circuit to see if I understood. last thing, what is the diode for, as protection? I connect it between 12v ignition positive and relay positive? and how to size...
by miky94
Mon Jan 13, 2020 3:51 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

Like this (the relay option)? https://www.aliexpress.com/item/32894378563.html
and the optocoupler you mentioned to control the 12v LEDs?
I'm not sure about the diode though
Thank you
by miky94
Sat Jan 11, 2020 6:03 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

So I can use 2 12v relays like this to trigger power on and power off?
https://www.aliexpress.com/item/4000402385744.html
but to power off the relay should work the opposite way, it should short the 2 pins when there's no 12v power, how can it do that?
by miky94
Sat Jan 11, 2020 12:39 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

Try and read the thread again. You have been presented with a few options on how to detect ignition off. /Mogens I'm not sure I'm understanding, summing up: - the Pi powered by a USB socket directly powered by the 12v car battery - the optocoupler connected as you explained to drive the LEDs using ...
by miky94
Fri Jan 10, 2020 1:27 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

I should have something to read when the 12v ignition becomes 0v but the GPIOs are 3.3v
by miky94
Tue Jan 07, 2020 7:46 am
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

So a relay like this https://www.aliexpress.com/item/4000402385744.html powered by the 12v ignition and connected to the Pi's RUN and GND pins?
I'm missing something to trigger the clean shut down
by miky94
Sat Jan 04, 2020 6:06 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

I'd use the product suggested by @deepo, but how to trigger poweroff and resuscitate the Pi at the next ignition?
by miky94
Fri Jan 03, 2020 11:06 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

@deepo
I didn't know that feature, but I don't get how to short the 2 pins when I switch on the engine

@bill z
that solution seems less "clean" to me, also I'd have a limited time to poweroff the Pi
by miky94
Fri Jan 03, 2020 5:15 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

No I thought instead of a UPS I could power the Pi using a USB socket directly connected to the car battery and then trigger shutdown connecting the GPIO to the 12V source from the cigarette lighter socket, but then to power the Pi on again I would have to disconnect and reconnect it to the battery
by miky94
Fri Jan 03, 2020 4:56 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

I'd take the 12V ignition from the cigarette lighter socket that provides power only when the engine is on one thing that I forgot is that once I switch the engine off and the Pi powers off, when I switch it on again the Pi won't boot because it won't have been disconnected and reconnected from and ...
by miky94
Fri Jan 03, 2020 4:19 pm
Forum: Beginners
Topic: control 12V LED strip using Raspberry as on/off switch
Replies: 75
Views: 4126

Re: control 12V LED strip using Raspberry as on/off switch

@deepo is this list of components right? - 12V relay spdt https://www.aliexpress.com/item/33014610985.html - 1N4001 diode https://www.aliexpress.com/item/32850064665.html - 2N2222 transistor https://www.aliexpress.com/item/32624547567.html - 470R resistor https://www.aliexpress.com/item/32952657927....

Go to advanced search