Go to advanced search

by FlyingDrMike
Wed Aug 07, 2019 4:05 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: unable to detect pt2314 i2c device
Replies: 14
Views: 4540

Re: unable to detect pt2314 i2c device

Level shifters do not solve the problem as they still require the slave to sink the masters pull-up current. I did get it to work using a 2N3906 PNP transistor - 4k7 base to emitter resistor, collector to ground, emitter to Pi SDA, and base to PT2314 SDA. This uses the current gain of the transistor...
by FlyingDrMike
Wed Jul 31, 2019 10:44 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: unable to detect pt2314 i2c device
Replies: 14
Views: 4540

Re: unable to detect pt2314 i2c device

I hope these comments/analysis help/explain. I had no problems driving a PT2314 on a JBL on-time direct. However these modules (from ebay/Banggood) do not work. The problem with the modules relates to their ability to pull the data line low to give the ACK I2C notification. The chips on the two modu...
by FlyingDrMike
Wed Oct 17, 2018 9:51 pm
Forum: Beginners
Topic: Digital Frame
Replies: 4
Views: 827

Re: Digital Frame

The Pi can output pictures up to full HD - that look great on a TV. I have written an instructable on a simple ( and all free software/firmware) that uses one of the pi screensavers to randomly show pictures from a designated folder. Pictures can be loaded over WiFi using a ftp program from PC or ev...
by FlyingDrMike
Thu Sep 13, 2018 4:24 pm
Forum: Graphics, sound and multimedia
Topic: Internet Radio and MP3 Player
Replies: 11
Views: 46708

Re: Internet Radio and MP3 Player

For a detailed description of how to set up an internet radio and music player with smartphone (webpage) control and HQ audio via a PCM5102A DAC see: https://www.instructables.com/id/High-Q ... dio-With-/
by FlyingDrMike
Thu Sep 13, 2018 4:21 pm
Forum: Python
Topic: Internet radio
Replies: 6
Views: 2040

Re: Internet radio

For a detailed description of how to set up an internet radio and music player with smartphone (webpage) control and HQ audio via a PCM5102A DAC see: https://www.instructables.com/id/High-Q ... dio-With-/
by FlyingDrMike
Tue May 15, 2018 7:29 pm
Forum: Troubleshooting
Topic: hello_video play/pause via GPIO
Replies: 0
Views: 222

hello_video play/pause via GPIO

My target is a looping video that I can pause/restart (from where paused) via a GPIO. I have the pause part working but it is not restarting. I am editing the video.c file and am using wiringPi for the GPIO. In order to loop I replaced 'break' with 'rewind(in)' after the if(!data_len) so this now lo...
by FlyingDrMike
Sat Feb 10, 2018 4:30 pm
Forum: Troubleshooting
Topic: Chromium text to speech
Replies: 0
Views: 442

Chromium text to speech

Is there some way to enable text to speech on Chromium? I am using the Node-RED dashboard audio out node. It delivers audio when viewed on my PC or Android phone but on the Pi I get a dialogue box appear for a couple of seconds showing " Computer says... x" where x is the payload sent to t...
by FlyingDrMike
Sat Nov 04, 2017 11:44 am
Forum: Troubleshooting
Topic: Downgrade node.js from v9.0.0 [SOLVED]
Replies: 3
Views: 5765

Re: Downgrade node.js from v9.0.0

Sorted:

Code: Select all

sudo n 8.9.0

sudo shutdown -r now
installs v8.9.0

and (being thorough):

Code: Select all

sudo n rm 9.0.0
removes the 9.0.0 install files.
by FlyingDrMike
Sat Nov 04, 2017 12:05 am
Forum: Troubleshooting
Topic: Downgrade node.js from v9.0.0 [SOLVED]
Replies: 3
Views: 5765

Downgrade node.js from v9.0.0 [SOLVED]

Node.js was updated to 9.0.0 2 days ago and this version is not compatible with the latest npm (5.5.1). A solution was posted on https://github.com/npm/npm/issues/19019#issuecomment-340940842 suggesting: by downgrading to npm@5.3.x: [sudo] npm install -g npm@5.3.x This failed with error saying npm n...
by FlyingDrMike
Sun Oct 22, 2017 3:44 pm
Forum: Troubleshooting
Topic: Rotate Waveshare 7" Capacitive Touchscreen 90 or 270deg
Replies: 0
Views: 357

Rotate Waveshare 7" Capacitive Touchscreen 90 or 270deg

Has anyone managed to rotate the Waveshare (1024x600) 7" HDMI capacitive touchscreen 90 or 127 deg? The screen will rotate using display_rotate = 1 or 3. The touchscreen driver is their own. Hence the 90 deg rotate solutions on this forum do not seem appropriate. I contacted Waveshare and they ...
by FlyingDrMike
Tue Sep 19, 2017 10:19 am
Forum: Raspberry Pi OS
Topic: STRECH and MQTT
Replies: 86
Views: 75446

Re: STRECH and MQTT

I have now loaded Mosquitto on both Jessie and Stretch. In the case of Jessie I used the following code before install: sudo wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key sudo apt-key add mosquitto-repo.gpg.key cd /etc/apt/sources.list.d sudo wget http://repo.mosquitto.org/debian/mosq...
by FlyingDrMike
Thu Sep 14, 2017 9:14 am
Forum: Troubleshooting
Topic: wget GnuTLS error - Unable to establish SSL connection
Replies: 1
Views: 3132

Re: wget GnuTLS error - Unable to establish SSL connection

I overcame this problem by copying the files via my PC. I realised that at least one of the three files already existed and did not need changing. Hence I would check for the file by trying to edit it first, then create it if it does not exist, and then edit it and paste the contents from my PC. So ...
by FlyingDrMike
Wed Sep 13, 2017 3:27 pm
Forum: Troubleshooting
Topic: wget GnuTLS error - Unable to establish SSL connection
Replies: 1
Views: 3132

wget GnuTLS error - Unable to establish SSL connection

I am trying to set up autostart for Node Red and am following their advice from https://nodered.org/docs/hardware/raspberrypi I am getting a GnuTLS error - Unable to establish SSL connection when I execute the wget command: pi@MyIoT:~ $ sudo wget https://raw.githubusercontent.com/node-red/raspbian-d...
by FlyingDrMike
Sat Sep 09, 2017 10:11 pm
Forum: Raspberry Pi OS
Topic: STRECH and MQTT
Replies: 86
Views: 75446

Re: STRECH and MQTT

Sorry I have had enough getting nowhere. I have gone back to square one, loaded jessie and am now able to do coms from mosquitto to an ESP loaded with Sonoff-Tasmota so I can concentrate on IoT rather than Linux. It is time for someone else to take up the mantle of getting mosquitto on Stretch. When...
by FlyingDrMike
Sat Sep 09, 2017 1:29 pm
Forum: Raspberry Pi OS
Topic: STRECH and MQTT
Replies: 86
Views: 75446

Re: STRECH and MQTT

I am not convinced the install after editing the dependency file has worked. First I have a Sonoff switch with the Tasmoda firmware loaded and logged on to my network. It reports: 14:00:26 MQT: Attempting connection... 14:00:27 DNS: Query done. MQTT services found 0 I then checked mosquito was runni...
by FlyingDrMike
Fri Sep 08, 2017 4:45 pm
Forum: Raspberry Pi OS
Topic: STRECH and MQTT
Replies: 86
Views: 75446

Re: STRECH and MQTT

Success - but a bit of a bumpy ride! I hope the trail below will useful to others to also get mosquito working on Stretch. However a couple of points: I wget the version 1.14.12 as this is what was showing as Candidate earlier. The .deb file was downloaded to root so I did not need the mosquitto/mos...
by FlyingDrMike
Fri Sep 08, 2017 7:46 am
Forum: Raspberry Pi OS
Topic: STRECH and MQTT
Replies: 86
Views: 75446

Re: STRECH and MQTT

Thank you for your quick reply. I will give this a go, and also change the libwebsockets dependency from 3 to 8. For reference my error messages were: pi@home:/etc/apt/sources.list.d $ sudo apt-get install mosquitto Reading package lists... Done Building dependency tree Reading state information... ...
by FlyingDrMike
Thu Sep 07, 2017 6:29 pm
Forum: Raspberry Pi OS
Topic: STRECH and MQTT
Replies: 86
Views: 75446

Re: STRECH and MQTT

Dear all I have the identical problem as the first posting here. This is on a clean install of Raspbian Stretch. The only software loaded beforehand was NodeRed. I used: sudo wget http://repo.mosquitto.org/debian/mosquitto-stretch.list. I looked at Aptitude but was not sure if either of the referenc...

Go to advanced search