Go to advanced search

by tony359
Sun Jan 05, 2020 12:10 pm
Forum: General discussion
Topic: 7" touchscreen I2C address problem
Replies: 5
Views: 1393

Re: 7" touchscreen I2C address problem

6by9 wrote:
Tue Jul 11, 2017 7:14 pm
Disconnect the i2c wires. They are only needed on Pi 1 models a and B. All other models have i2c already wired up the flexi cable.
THANK YOU 6by9

I'm appalled that this critical information is nowhere to find in all the tutorial I found on the network on how to wire the touchscreen!!!
by tony359
Mon Dec 23, 2019 8:29 pm
Forum: Beginners
Topic: weather screensaver
Replies: 5
Views: 262

Re: weather screensaver

I have PiClock running and it's great. The question now is: how can I make sure it displays when the thermostat is not being used?
by tony359
Mon Dec 23, 2019 6:37 pm
Forum: Beginners
Topic: weather screensaver
Replies: 5
Views: 262

Re: weather screensaver

thank Gordon,

I did see that but I couldn't see any mention about a screensaver. I can test it and see what it does.
by tony359
Mon Dec 23, 2019 5:13 pm
Forum: Beginners
Topic: weather screensaver
Replies: 5
Views: 262

weather screensaver

Hi there,

I am developing some python code to control my heating and I would like to have the display to display weather (or other info) when the heating controls are not in use.
I googled a while but I cannot find anything.

Can anybody point me to the right direction please?
Thanks
Tony
by tony359
Sat Dec 21, 2019 2:03 pm
Forum: Python
Topic: Python help for thermostat program
Replies: 4
Views: 480

Re: Python help for thermostat program

ahhh, very clear. I didn't realise that master.after was communicating tkinter something, I thought it was exactly like the second example you made. I'll progress with my code and let you know! Thanks again for your help! Edit: I think I still have a question. I initialised the bypassFlag variable a...
by tony359
Sat Dec 21, 2019 11:56 am
Forum: Python
Topic: Python help for thermostat program
Replies: 4
Views: 480

Re: Python help for thermostat program

Hello ghp, Many thanks for your help on this, appreciated! So variables only live in functions and to make them available everywhere they need to be declared as "global" as you showed me? That's cool thanks! Glad I am using the right approach for the thermostat function but I am a bit confused. In m...
by tony359
Fri Dec 13, 2019 9:32 pm
Forum: Python
Topic: Python help for thermostat program
Replies: 4
Views: 480

Python help for thermostat program

Hello all, I am quite new to Python and I am training myself on the internet. So please excuse me if my code is wrong/not very readable. As I travel a lot I wanted to control my heater remotely and some time ago I built a basic "ON OFF" switch which I could access via VNC remotely. I also bought a t...
by tony359
Sat Nov 30, 2019 11:32 pm
Forum: Troubleshooting
Topic: MPC23017 overheating
Replies: 2
Views: 123

Re: MPC23017 overheating

thanks for your input.

I've done as you suggest - it seems to work now. I hope it lasts! :) It's been so temperamental...

Thanks again!
by tony359
Sat Nov 30, 2019 11:01 pm
Forum: Troubleshooting
Topic: MPC23017 overheating
Replies: 2
Views: 123

MPC23017 overheating

Hello all, I am using an MPC23017 to expand my GPIOs on my Pi 3. I am observing some very weird behaviour and I am very confused. One day I realised that the chip was VERY hot (I measured 100°C+). I immediately looked into the issue and did not find any issue with the wiring. I googled and I only fo...
by tony359
Tue Oct 29, 2019 4:32 pm
Forum: Other projects
Topic: atmel 29c020 EEPROM reader/writer
Replies: 0
Views: 597

atmel 29c020 EEPROM reader/writer

Greetings,

I need to read and write 29C020 ATMEL eeproms. I was wondering if there is a ready-project somewhere on the internet that would work? Any advice is appreciated!

Thanks
Tony
by tony359
Thu Feb 21, 2019 8:12 pm
Forum: Official Foundation Display
Topic: wall mounting touch screen and Pi
Replies: 3
Views: 5338

Re: wall mounting touch screen and Pi

any other DYI solution I can try? or cheaper for what matters.
by tony359
Tue Feb 12, 2019 6:38 pm
Forum: Official Foundation Display
Topic: wall mounting touch screen and Pi
Replies: 3
Views: 5338

Re: wall mounting touch screen and Pi

Thanks, I had already found two of them indeed. The instructable implies an US wall box if not mistaken which I am not sure I can source in the UK. The other two solutions are VERY expensive...
by tony359
Mon Feb 11, 2019 11:31 pm
Forum: Official Foundation Display
Topic: wall mounting touch screen and Pi
Replies: 3
Views: 5338

wall mounting touch screen and Pi

Hi there, I'd like to wall mount my Pi so it can control the heating. Looking for wall mounting cases I did not found much and the obvious choice seems to be the official Pi case. However, I am concerned as that case hosts the Pi at the bottom (or top if you want) and there is no bezel where the Pi ...
by tony359
Fri Mar 30, 2018 7:55 pm
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

Re: GPI triggered as soon as cables are in

Thank you!
by tony359
Thu Mar 29, 2018 8:44 am
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

Re: GPI triggered as soon as cables are in

Hi David,

Capacitors have been in for a few days and the Pi has not shutdown anymore - thank you!

What happens from an electronic point of view? Why isn't pulling up the GPI enough and extra capacitors are required?
by tony359
Tue Mar 27, 2018 7:18 pm
Forum: Troubleshooting
Topic: LIRC: mode2 continuously receiving pulses from TSOP85
Replies: 14
Views: 5959

Re: LIRC: mode2 continuously receiving pulses from TSOP85

Thanks,

I can shield the IR sensor but I am not sure it would work as I still see a stream of numbers with all the lights off and the Pi covered by a dark surface?
by tony359
Mon Mar 26, 2018 5:22 pm
Forum: Troubleshooting
Topic: LIRC: mode2 continuously receiving pulses from TSOP85
Replies: 14
Views: 5959

Re: LIRC: mode2 continuously receiving pulses from TSOP85

Hi I'm digging this thread out as I have the same problem. The difference is that if I aim the desk fluorencent light to the IR receives, the stream of garbage stops (well, not completely) and if I point a remote at it and press a button, I can see something happening on screen, but every time I pre...
by tony359
Sun Mar 25, 2018 11:03 pm
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

Re: GPI triggered as soon as cables are in

Thanks David,

Shall I leave the resistor in place too?
by tony359
Sun Mar 25, 2018 7:04 pm
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

Re: GPI triggered as soon as cables are in

The Pi switched off again and the logs confirmed the shutdown routine had been initiated. I then found the culprit! It's the thermostat which sits by the Pi. It's on/off and mechanical type. Boiler line is, surprisingly, 240V. I turned the dial back and forth a few times to engage/disengage the boil...
by tony359
Sun Mar 25, 2018 8:42 am
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

Re: GPI triggered as soon as cables are in

Thanks again. This morning I found the Pi switched off. I don't think there was a power cut as my oven's clock would have reset. Do you know where I can check some logs to try and find out if the shutdown routine was initiated? Thanks! Edit: no apparently. I have added logging into the file myself. ...
by tony359
Sat Mar 24, 2018 4:48 pm
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

Re: GPI triggered as soon as cables are in

Thanks for the explanation. Can I leave the internal pull-up enabled via software or better disable it?
by tony359
Sat Mar 24, 2018 3:27 pm
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

Re: GPI triggered as soon as cables are in

HI there,

Thank you, it worked! As the Pi has internal pull-up resistors, how come that did not work with 5cm of wire connected to the GPIO?

Thank you again!
Tony
by tony359
Tue Mar 20, 2018 10:36 pm
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

Re: GPI triggered as soon as cables are in

Thank you for taking the time to test this, appreciated! Yes, the relay board is powered from the Pi. However, it's been in operation for months and I never had any issues. I have to say I did not check WHAT causes the shutdown but I assume it is the shutdown routine as it does not happen if the but...
by tony359
Mon Mar 19, 2018 9:18 pm
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

Re: GPI triggered as soon as cables are in

Hi,
No. As a test I plugged the button in while it was on - and the shutdown routine immediately started - but if I leave the button plugged in the Pi boots and immediately shuts down, via shutdown command.
by tony359
Sun Mar 18, 2018 8:47 pm
Forum: Troubleshooting
Topic: GPI triggered as soon as cables are in
Replies: 19
Views: 1804

GPI triggered as soon as cables are in

Hi there, A little help please. I'm sure this is basic electronics but nevertheless I need your help! I fitted an OFF button on the Pi. I could not fit a "wake" as my GPO3 is being used. I also have a two relays connected to GPO 20 and 21 (BCM). I have selected GPI 27 for my shutdown routine. It wor...

Go to advanced search