Go to advanced search

by OldPCGuy
Fri Feb 23, 2018 4:44 pm
Forum: Networking and servers
Topic: MQTT Broker on Home Network
Replies: 1
Views: 337

MQTT Broker on Home Network

Is there a way to host/run a MQTT Broker on a Home network without having to Publish and Subscribe over the internet? I would prefer to keep everything to the Home Network/LAN.

If not, is there something similar that can substitute?
by OldPCGuy
Sun Feb 18, 2018 5:09 pm
Forum: Networking and servers
Topic: Adhoc Network Setup Question
Replies: 0
Views: 236

Adhoc Network Setup Question

I started using the instructions in the link below to setup an Adhoc network. https://spin.atomicobject.com/2013/04/22/raspberry-pi-wireless-communication/ I only got as far as the first step modifying the /etc/network/interfaces file. The dhcp install would not work, apt-get could not find a packag...
by OldPCGuy
Sat Feb 17, 2018 5:05 pm
Forum: General discussion
Topic: Pi Access with Tablet/Smart Phone
Replies: 9
Views: 1205

Re: Pi Access with Tablet/Smart Phone

As with anything - there is always many ways to do something but there is nothing wrong with your current approach :) Most examples are data/communication sent from the smart phone to the Pi, for example WiringPi . I looking to do the opposite. I am running PIGPIO daemon with another project maybe ...
by OldPCGuy
Sat Feb 17, 2018 2:52 pm
Forum: General discussion
Topic: Pi Access with Tablet/Smart Phone
Replies: 9
Views: 1205

Re: Pi Access with Tablet/Smart Phone

I've come across some examples that use Apache server on the Pi to host a web page that you access from any smart phone. In the examples there were buttons to control some LEDs on the Pi. So would it be hard to have the web page just display data from a pyton script collecting the data? I was able t...
by OldPCGuy
Tue Feb 13, 2018 12:44 am
Forum: General discussion
Topic: Pi Access with Tablet/Smart Phone
Replies: 9
Views: 1205

Re: Pi Access with Tablet/Smart Phone

topguy wrote:
Tue Feb 13, 2018 12:16 am
OldPCGuy wrote:
Tue Feb 13, 2018 12:06 am
Would SSH into the Pi be a solution,
You mean for setting it up or using it afterwards ?
Yes, afterwards to view the collected data.
by OldPCGuy
Tue Feb 13, 2018 12:06 am
Forum: General discussion
Topic: Pi Access with Tablet/Smart Phone
Replies: 9
Views: 1205

Pi Access with Tablet/Smart Phone

What is the simplest way to connect to a Pi ZeroW (running headless, collecting data) and display that data on a smart phone or tablet and not require an existing network/router. Essentially peer to peer. In my limit research I believe setting up the Pi as an access point or Ad-hoc network are two m...
by OldPCGuy
Sat Feb 10, 2018 5:37 pm
Forum: General discussion
Topic: Class 10 vs UHS-1 SD Cards
Replies: 7
Views: 2447

Re: Class 10 vs UHS-1 SD Cards

I don't need that level of performance; at least not yet.

I'm looking for inexpensive cards. The 8 and 16GB class 10 for me are at the best price point. The UHS-1 are coupe pennies more, so I would consider them also
by OldPCGuy
Sat Feb 10, 2018 4:02 pm
Forum: General discussion
Topic: Class 10 vs UHS-1 SD Cards
Replies: 7
Views: 2447

Class 10 vs UHS-1 SD Cards

I need some spare SD cards to backup my various projects. What is the recommended size and class? Somewhere on this site I saw 8GB Class 6 recommended. I can't find class 6, just 4 or 10. So I'm thinking class 10 but then I see UHS-1. My understanding is the UHS-1 is a new bus standard for SD cards....
by OldPCGuy
Sun Feb 04, 2018 5:34 pm
Forum: Troubleshooting
Topic: Libre Calc Crashing on Pi-Zero
Replies: 7
Views: 753

Re: Libre Calc Crashing on Pi-Zero

buja wrote:
Sun Feb 04, 2018 5:11 pm
Is going fully command-line an option?
To spot check some data points perhaps.

I really like to drop all the data into a graph.
by OldPCGuy
Sun Feb 04, 2018 4:31 pm
Forum: Automation, sensing and robotics
Topic: DS18B20 vs MAX31820 Temp Sensor
Replies: 6
Views: 1515

Re: DS18B20 vs MAX31820 Temp Sensor

I can't find a MAX31820 for less than half the price I can get a single DS18B20 for on ebay (even from a UK seller). I can get 5 DS18B20s from China for less than one MAX31820. A national distributor here in the US sells DS18B20 ~2.72 USD and MAX31820 ~1.27 USD unit price based on a lot of 10. For ...
by OldPCGuy
Sun Feb 04, 2018 4:13 pm
Forum: Troubleshooting
Topic: Libre Calc Crashing on Pi-Zero
Replies: 7
Views: 753

Re: Libre Calc Crashing on Pi-Zero

The Raspberry Pi Zero has only half the RAM of the Pi3. I suppose that makes a difference ? You are probably right. If I put the OS/card into my Pi-3 I can open multiple files in Libre-Calc. I guess running the GUI and Libre-Calc is a little too much for a Zero. Perhaps a lighter OS distro would wo...
by OldPCGuy
Sat Feb 03, 2018 3:50 pm
Forum: Automation, sensing and robotics
Topic: DS18B20 vs MAX31820 Temp Sensor
Replies: 6
Views: 1515

DS18B20 vs MAX31820 Temp Sensor

The MAX31820 is roughly 1/2 the price of the DA18B20. They have similar specs unless I missed something.

What is the real world difference between the two used with a Pi?
by OldPCGuy
Sat Feb 03, 2018 3:30 pm
Forum: Automation, sensing and robotics
Topic: Thermocouple Suggestions
Replies: 3
Views: 505

Re: Thermocouple Suggestions

Dave,

Funny you should mention the DS18B20. I came across it in some of my searches for bonding techniques.

I have decided that's the way to go, simple to implement and very cheap.

Thank-you and wish me luck :)
by OldPCGuy
Fri Feb 02, 2018 1:03 am
Forum: Automation, sensing and robotics
Topic: Thermocouple Suggestions
Replies: 3
Views: 505

Thermocouple Suggestions

I have a need to monitor the water temperature in my gas hot water heater. So I'm thinking a K thermocouple, and Raspberry Pi. I would like to simply bond the thermocouple to the threaded nipple leaving the tank. I should get reasonably close tank/water temperature. Any recommendations on how to con...
by OldPCGuy
Wed Jan 31, 2018 12:40 am
Forum: Troubleshooting
Topic: Libre Calc Crashing on Pi-Zero
Replies: 7
Views: 753

Libre Calc Crashing on Pi-Zero

I have a Pi-zero running a RTC (clock) and AM2302 temp/%RH sensor, and Raspbian OS on a 16GB card. At boot in the background runs a python script logging temp and %RH every 60 seconds to a CSV file. I've run the script a dozen times for 8+ hours without any problems. When I try and open Libre Calc o...
by OldPCGuy
Thu Jan 11, 2018 12:25 am
Forum: Graphics, sound and multimedia
Topic: Wanted Digital Audio Out Adaptor
Replies: 4
Views: 1363

Wanted Digital Audio Out Adaptor

I have the idea of replacing my large PC based HTPC with a Pi-3 media streamer (netflix, Hulu, Spotify, Youtube) . I need a clean way of getting the audio stream to my receiver over TOS-Link or digital coax. I came across this product (HiFiBerry) that seems to fit the bill. What other comparable ada...
by OldPCGuy
Sun Jul 23, 2017 9:15 pm
Forum: Automation, sensing and robotics
Topic: RTC DS3231 Library
Replies: 4
Views: 1735

Re: RTC DS3231 Library

Perfect Thx!!
by OldPCGuy
Sun Jul 23, 2017 1:35 pm
Forum: Automation, sensing and robotics
Topic: RTC DS3231 Library
Replies: 4
Views: 1735

Re: RTC DS3231 Library

rpdom wrote:It should just be a case of adding

Code: Select all

dtoverlay=i2c-rtc,ds3231
to your /boot/config.txt file.
So I still follow all the past instructions enabling the SPI address, disable fake hwclock etc?

The device tree gives me DS3231 specific calls?
by OldPCGuy
Fri Jul 21, 2017 9:39 pm
Forum: Automation, sensing and robotics
Topic: RTC DS3231 Library
Replies: 4
Views: 1735

RTC DS3231 Library

I need to rebuild my SD card (boot), should of had a back up :(

I ran my RTC DS3231 using the DS1307 library. All the articles I referenced setting up the DS3231 RTC were circa 2014/15.

Has a DS3231 library evolved Since then?
by OldPCGuy
Tue May 02, 2017 10:44 pm
Forum: Other projects
Topic: Pi Mounting Screw
Replies: 8
Views: 10352

Pi Mounting Screw

What type/size screws do you use to mount you Pi in it's case?
by OldPCGuy
Sun Apr 30, 2017 5:33 pm
Forum: General discussion
Topic: Good Low Cost RTC
Replies: 22
Views: 4606

Re: Good Low Cost RTC

I have two modules so I guess I'll un-solder R5 on one. That way I have one rechargeable and one non.
by OldPCGuy
Sun Apr 30, 2017 4:57 pm
Forum: General discussion
Topic: Good Low Cost RTC
Replies: 22
Views: 4606

Re: Good Low Cost RTC

Why are you worrying about a charging circuit on a board that has a normal CR battery. So that charging circuit poses no risk to a non-rechargeable battery? If it shipped with a non rechargeable battery, it should already be disabled? One would hope! The module shipped with a CR2032 3V. But I also ...
by OldPCGuy
Sun Apr 30, 2017 3:41 pm
Forum: General discussion
Topic: Good Low Cost RTC
Replies: 22
Views: 4606

Re: Good Low Cost RTC

thegnnu wrote:Why are you worrying about a charging circuit on a board that has a normal CR battery.
So that charging circuit poses no risk to a non-rechargeable battery?
by OldPCGuy
Sat Apr 29, 2017 3:18 pm
Forum: General discussion
Topic: Good Low Cost RTC
Replies: 22
Views: 4606

Re: Good Low Cost RTC

I have the RTC configured and running, so far so good. I do have more questions if you don't mind; I came across this article where the author disabled the charging circuit and pull-up resistors on the RTC http://www.raspberrypi-spy.co.uk/2015/05/adding-a-ds3231-real-time-clock-to-the-raspberry-pi/ ...
by OldPCGuy
Sun Apr 23, 2017 7:18 pm
Forum: Python
Topic: Is this ShutDown Code Safe
Replies: 9
Views: 986

Re: Is this ShutDown Code Safe

Why bother when sudo poweroff or sudo halt or shutdown -h now or shutdown -p now is doing a orderly shutdown (they all run the same kernel code) which includes sending every task a kill -term signal then for the ones that don't go away sending them a kill -halt signal. The last thing that does is s...

Go to advanced search