Go to advanced search

by TerryC65
Thu Feb 28, 2019 7:24 am
Forum: Graphics, sound and multimedia
Topic: I'm looking for a reasonable miniature HDMI monitor
Replies: 43
Views: 3411

Re: I'm looking for a reasonable miniature HDMI monitor

good, cheap and small is kind of a "pick any two". Small and HDMI tends to mean Lilliput video monitors and clones, which are not cheap. Cheap small displays tend to be composite and grotty even for command line work. There are millions of 15 and 17" monitors at computer surplus places right now fo...
by TerryC65
Wed Feb 27, 2019 4:35 pm
Forum: Graphics, sound and multimedia
Topic: I'm looking for a reasonable miniature HDMI monitor
Replies: 43
Views: 3411

I'm looking for a reasonable miniature HDMI monitor

I have been quite a lot of work recently using Pi Zeros to record sensor readings and control pumps and valves in a model river system at our local Model Town. By and large, I'm able to do quite a lot on site by using SSH to log into the individual Pis and SCP or FTP to copy files to and from them. ...
by TerryC65
Tue Jan 29, 2019 10:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using RASClock and an Adafruit ADS1115 Simultaneously
Replies: 8
Views: 933

Re: Using RASClock and an Adafruit ADS1115 Simultaneously

For closure on this, I have now confirmed that the original RASClock that I was using was damaged (not sure how, but general abuse in the bottom of my bits drawer comes to mind). The good news is that it still works as a clock, so I can use it on one of our other projects which uses this device. So ...
by TerryC65
Tue Jan 29, 2019 6:49 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using RASClock and an Adafruit ADS1115 Simultaneously
Replies: 8
Views: 933

Re: Using RASClock and an Adafruit ADS1115 Simultaneously

JohnsUPS wrote:
Tue Jan 29, 2019 3:27 am
Did you verify that the RASclock and the ADS1115 are at different I2C addresses?
Yes. I did that before I even tried the method.
by TerryC65
Sun Jan 27, 2019 3:56 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using RASClock and an Adafruit ADS1115 Simultaneously
Replies: 8
Views: 933

Re: Using RASClock and an Adafruit ADS1115 Simultaneously

TerryC65 wrote:
Sun Jan 27, 2019 3:17 pm
However, I'm not sure what you mean by 'daisy chain'.
Answering myself, I've just found this among many similar pictures:
I2C.png
I2C.png (28.16 KiB) Viewed 901 times
How critical are the two 1.5 k resistors? Are the lack of them likely to be the cause of my problem?
by TerryC65
Sun Jan 27, 2019 3:17 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using RASClock and an Adafruit ADS1115 Simultaneously
Replies: 8
Views: 933

Re: Using RASClock and an Adafruit ADS1115 Simultaneously

As long as they both have unique I²C addresses then a three wire (SDA, SCL & GND) daisy chain from RPi to ADS, ADS to RTC should just work. Assuming that the RAS Clock does do a pass-through of SDA and SCL, then that is what I'm doing. However, I'm not sure what you mean by 'daisy chain'. If I have...
by TerryC65
Sun Jan 27, 2019 1:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using RASClock and an Adafruit ADS1115 Simultaneously
Replies: 8
Views: 933

Using RASClock and an Adafruit ADS1115 Simultaneously

At our local Model Town we have a project that is using a number of Pi Zeros to control the measurement of various values associated with control of the water in the model river. This system has been operational (albeit with a subset of the final number of monitoring sites) for around 12 months now ...
by TerryC65
Mon Nov 19, 2018 3:58 pm
Forum: Python
Topic: Object Oriented Python V 'Old-fashioned' Code
Replies: 5
Views: 681

Re: Object Oriented Python V 'Old-fashioned' Code

Ah, I didn't get that you wanted to integrate non-OOP into OOP - the original author is correct - doing that is fun for all :D In my own defence, I didn't want to integrate non-OOP into OOP, I simply wanted to write code that was efficient. What I hadn't understood was the implications of writing a...
by TerryC65
Mon Nov 19, 2018 2:48 pm
Forum: Python
Topic: Object Oriented Python V 'Old-fashioned' Code
Replies: 5
Views: 681

Re: Object Oriented Python V 'Old-fashioned' Code

Thanks for that. In fact the original author has responded since I posted this Topic (I thought he was away) and largely confirms what you have said. Amongst other things he said: Also, integrating non-OO code into the framework would be a headache. Generally, you want either entirely OO code, or no...
by TerryC65
Mon Nov 19, 2018 11:54 am
Forum: Python
Topic: Object Oriented Python V 'Old-fashioned' Code
Replies: 5
Views: 681

Object Oriented Python V 'Old-fashioned' Code

Hi, I have been working on various Raspberry Pi based projects at our local Model Town for over three years now and have always produced non-OOP code. This is partly because I'm an 'old-fashioned' programmer, partly because I was never really a programmer anyway (I was a Systems Engineer before I re...
by TerryC65
Tue Sep 25, 2018 10:20 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Output Characteristics
Replies: 8
Views: 1569

Re: GPIO Output Characteristics

Sorry about the tardy response. Something came up and I got diverted onto a different aspect of the project.

Thanks for all the responses. I've now worked out how to drive our device. If anyone needs to do the same thing, here is what we did.
Untitled 1.png
Untitled 1.png (24.67 KiB) Viewed 1370 times
by TerryC65
Mon Sep 17, 2018 4:00 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Output Characteristics
Replies: 8
Views: 1569

GPIO Output Characteristics

Hi, We want to drive a 12 V Actuator Motor Clutch using a Pi and an P-Channel MOSFET; eg something like the circuit shown in this page https://www.electronics-tutorials.ws/articles/relay-switch-circuit.html (scroll down to near the bottom). Before we do that though we would like to be comfortable th...
by TerryC65
Sun Jul 22, 2018 8:49 am
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Re: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

Perhaps you should write it all up in markdown and publish it as a simple tutorial on github.io . Hmmm. I may well do that. However, we recently put all of the code and docs for a related project at the WMT into GitLab. I haven't seen a similar tool there. You may be able to encourage the Raspberry...
by TerryC65
Sun Jul 22, 2018 7:15 am
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Re: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

Any suggestions on how I can resolve this? There weren't many suggestions :( Anyway, after a few more false starts, I managed to fix my problems by a combination of scaling my web pages and running the code through the W3 Schools Validator https://validator.w3.org . I must say it was a huge learnin...
by TerryC65
Mon Jul 09, 2018 4:28 pm
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Re: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

I would suggest you try doing that with dnsmasq. It's quite powerful and simple at the same time. It's been a while since I posted. I had a number of problems, most of which I have now overcome, and I also had a family holiday that got in the way. In the end, I only used dnsmasq to set up the DNS S...
by TerryC65
Sat Jun 23, 2018 3:56 pm
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Re: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

You might consider is setting up a localized DNS nameserver and point your network router to the its address. By editing the DNS server configs, you can effectively select name resolution for those sites you want, and exclude those you don't. Anyone connecting to your local intranet will only get n...
by TerryC65
Sat Jun 23, 2018 3:38 pm
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Re: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

epoch1970 wrote:
Sat Jun 23, 2018 3:28 pm
Remove bind-interfaces. If absolutely necessary, with a systemd-based machine use bind-dynamic.
Many thanks. It seems to work with bind-interfaces removed, so I haven't added bind-dynamic.
by TerryC65
Sat Jun 23, 2018 2:53 pm
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Re: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

I'm at the point of starting again with a clean installation of Raspbian. Does anyone have any thoughts on this, or links to more modern Tutorials? In the absence of any suggestions, I've been spending some time trying to sort it out myself; with mixed results. First of all, I stopped trying to use...
by TerryC65
Tue Jun 19, 2018 3:38 pm
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Re: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

Hi, I've spent quite some time (off and on) grappling with this. The first thing I realised was that before I could get NoDogSplash to work, I would need to set the Pi up as a Wired Router. Maybe it's my Googling skills, but I was unable to find a recent Tutorial on setting up a Raspberry Pi as a wi...
by TerryC65
Sun Jun 10, 2018 12:40 pm
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Re: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

:D I'd literally just found that site.

Thanks. It'll go quiet now while I get my head round all this. :)
by TerryC65
Sun Jun 10, 2018 12:30 pm
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Re: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

The thing you're looking for is a "captive portal". That way you can give limited or time limited access to the public internets. That looks very interesting and would appear to do exactly what I want from the little I've found about it on the web including the GitHub Repository. However.... https:...
by TerryC65
Sun Jun 10, 2018 11:09 am
Forum: Networking and servers
Topic: Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network
Replies: 15
Views: 2282

Allowing just a few Internet sites onto a Walled-Garden Wi-Fi Network

Hi, At our local Model Town, I've installed a Raspberry Pi 3 running a Webserver (nginx) to serve local content to visitors that log onto an outdoor WiFi Access Point. It works pretty well and is now running during its second season. However, there is one problem; Android devices won't connect to th...
by TerryC65
Tue May 15, 2018 2:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Does anyone know of an I2C device that just deals with the interfacing?
Replies: 16
Views: 1243

Re: Does anyone know of an I2C device that just deals with the interfacing?

https://www.banggood.com/3Pcs-3_3V-8MHz-ATmega328P-AU-Pro-Mini-Microcontroller-Board-For-Arduino-p-980290.html?rmmds=buy&cur_warehouse=CN 8.69USD = 6.45GBP --> 2.15GBP per piece So, is that what you call expensive? How much will it cost you (components AND time) to do all this with gates? I've used...
by TerryC65
Tue May 15, 2018 1:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Does anyone know of an I2C device that just deals with the interfacing?
Replies: 16
Views: 1243

Re: Does anyone know of an I2C device that just deals with the interfacing?

Make up your mind! How is a PCA9539A significantly different from an MCP23017? And both are around the £1 mark. Ho hum. My mistake, I guess it was the terminology that threw me when I looked at the devices originally. I now realise that a bus expander is a kind of I/O expander :oops: Sorry about th...

Go to advanced search