Go to advanced search

by Bbuschke
Tue Jun 12, 2018 1:41 am
Forum: General discussion
Topic: SSD1306 OLED headless system monitor
Replies: 30
Views: 15686

Re: SSD1306 OLED headless system monitor

im new to this. I have a script that im using that displays ip, cpu, mem usage, and disk space. I want to use your script but i cant get it to work
by Bbuschke
Thu May 31, 2018 3:08 am
Forum: Astro Pi
Topic: Temperature Value Shown on LEDs
Replies: 19
Views: 19898

Re: Temperature Value Shown on LEDs

is this just on a led light or displaying the number on some sort of led display?
by Bbuschke
Sun Feb 12, 2017 3:02 am
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

that worked. the light is on!!!! I turned off the wifi connection and after 3 min it went off. also had jumper to pin 18 not gpio 18 thank you very much for the help. I know you said earlier what to change to make it go off after 2 min but is there away to make it go off right away or seconds after ...
by Bbuschke
Sat Feb 11, 2017 9:24 pm
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

LED does not light up #!/bin/bash echo "18" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio18/direction /bin/ping -q -c1 192.168.1.1 > /dev/null if [ $? -eq 0 ] then echo "$? network up" # Sets pin 18 to high echo "1" > /sys/class/gpio/gpio18/value else echo "$? network down" # Sets pin 1...
by Bbuschke
Sat Feb 11, 2017 7:56 pm
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

now when i enter

Code: Select all

sudo /home/pi/scripts/wifi_led.sh
to test i get this

Code: Select all

sh: echo: I/O error
0 network up
got the led jumped to pin 18 and ground because thats what you had in your example
by Bbuschke
Fri Feb 10, 2017 1:16 am
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

used sudo nano
by Bbuschke
Fri Feb 10, 2017 1:12 am
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

owner and group is root
by Bbuschke
Thu Feb 09, 2017 9:28 pm
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

i get this when making script excutable
chmod: changing permissions of ‘/home/pi/scripts/wifi_led.sh’: Operation not permitted
by Bbuschke
Thu Feb 09, 2017 5:15 pm
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

Saved same place and file name but bash now.
/home/pi/scripts/wifi_led.sh

I just used your script example. I don't know if it self loops
I want it to stay on at all times when Connected to a network
by Bbuschke
Wed Feb 08, 2017 10:27 pm
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

Script named wifi_led.py

Located in
/home/pi/scripts/wifi_led.py

I really appreciate the help
by Bbuschke
Tue Feb 07, 2017 10:03 pm
Forum: General discussion
Topic: time format
Replies: 2
Views: 765

time format

I connected at 16x2 lcd to display time but it only shows time in 24hr format and i want 12 hr format. Any idea how i can change the pi's time format?
by Bbuschke
Tue Feb 07, 2017 4:06 am
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

Yeah I'm lost. Think I need to find a step by step tutorial. I appreciate the help but I'm very new to all this. I don't have any knowledge in coding and stuff. I don't expect you guys to make a tutorial for me. I will try to research this some more
by Bbuschke
Tue Feb 07, 2017 3:24 am
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

i got up to the creating the script and im lost at the Cron thing
by Bbuschke
Mon Feb 06, 2017 6:41 pm
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

Ok. I think I have the coding down. Now if I find a 3v led but the gpio is sending 3.3v I need a resistor correct? What size resistor?
by Bbuschke
Wed Feb 01, 2017 2:41 am
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

So after this # stuff to do when the network is down goes here ...


I would put in gpio out low?
by Bbuschke
Tue Jan 31, 2017 4:05 am
Forum: Networking and servers
Topic: Turn on an LED when connected to wifi
Replies: 44
Views: 9857

Re: Turn on an LED when connected to wifi

What pins on the gpio do I connect the led to after the script is set up

Go to advanced search