Go to advanced search

by bensimmo
Mon May 27, 2019 3:20 pm
Forum: Other projects
Topic: External GPS with the pi zero w
Replies: 4
Views: 339

Re: External GPS with the pi zero w

Ok, you'll need to connect the GPS module to the Pi. I would use the default UARTs. Then you'll need to add the Bluetooth Serial Port Profile to the Pi, and use rfcomm to create a virtual serial port over Bluetooth. Then some software to read from the GPS and write to the /dev/rfcomm0 device. Plent...
by bensimmo
Mon May 27, 2019 3:12 pm
Forum: Other projects
Topic: Help adding pynmea to parse data in code
Replies: 19
Views: 1103

Re: Help adding pynmea to parse data in code

Good :-)

Just to note for anyone trying, that's Python2 above.
(It'll not work in Python3, though shouldn't be too hard to update it)
by bensimmo
Mon May 27, 2019 3:07 pm
Forum: Troubleshooting
Topic: How can I get my missing menu bar back?
Replies: 1
Views: 110

Re: How can I get my missing menu bar back?

have you ran sudo apt update sudo apt upgrade ( or full-upgrade ) to see if it helps. then you could try sudo apt install raspberrypi-ui-mods But if you're getting space errors, I look to see if Wastebasket etc need emptying. And look for a larger uSD card so you can transfer it all across. They'll ...
by bensimmo
Mon May 27, 2019 11:04 am
Forum: Advanced users
Topic: Need help with GPS and IOT.
Replies: 3
Views: 303

Re: Need help with GPS and IOT.

Or use GPSD, you would need to open the Pi address and port over the internet so it can be connected to, you then connect from the other Pi directly and read it as if it was a local GNSS/GPS device.
This may be the fastest updating method?
by bensimmo
Mon May 27, 2019 11:02 am
Forum: Advanced users
Topic: Need help with GPS and IOT.
Replies: 3
Views: 303

Re: Need help with GPS and IOT.

An IOT method would be to have one Pi, with the GNSS/GPS, parse the data from the GNSS/GPS module in Python3, say with the PYNMEA2 module to make it easy. Then using MQTT send location to a "broker" On the other Pi setup a "broker" and collect that data. Then run another Python3 program Subscribe to...
by bensimmo
Sun May 26, 2019 8:19 pm
Forum: Beginners
Topic: Will adding an external SSD speed up Raspberry Pi?
Replies: 16
Views: 642

Re: Will adding an external SSD speed up Raspberry Pi?

What do you think /f /s s is the user shutdown iirc (normally used on remote screens), /f is just not to ask to close programs. And yes, though with newer Office versions. It's quick, excel takes longer, but then it checks for update. Win7 takes a while as win10 improved this process and you'll prob...
by bensimmo
Sun May 26, 2019 12:12 pm
Forum: Beginners
Topic: Will adding an external SSD speed up Raspberry Pi?
Replies: 16
Views: 642

Re: Will adding an external SSD speed up Raspberry Pi?

have not tried adding an SSD drive to a microSD boot setup, as I have migrated from microSD boot to USB boot (thumbdrive/HDD/SSD) on my RP2B v1.2, RPi3B, and RPi3B+ units. As boot drive SSD boots a bit slower however, system responds better after that (if this is the same as " speed up " in your mi...
by bensimmo
Sun May 26, 2019 10:21 am
Forum: Other projects
Topic: Help adding pynmea to parse data in code
Replies: 19
Views: 1103

Re: Help adding pynmea to parse data in code

You might need to start again with setup...

But does this help at all?
https://www.zetecinside.com/xr2/rpi_project2.shtml
by bensimmo
Sun May 26, 2019 10:19 am
Forum: Other projects
Topic: Help adding pynmea to parse data in code
Replies: 19
Views: 1103

Re: Help adding pynmea to parse data in code

That would be for the A-GPS side? GNSS shouldn't need it. I would guess you might have to ask for the parameters you want directly and store them in your own list, then use from there I've not looked to see if it can be used as.a simple serial GNSS. For reference to others https://www.waveshare.com/...
by bensimmo
Sun May 26, 2019 10:03 am
Forum: Other projects
Topic: Help adding pynmea to parse data in code
Replies: 19
Views: 1103

Re: Help adding pynmea to parse data in code

You may need to adapt the code, there is some specific device code in pynmea2, what and how it uses it I don't know. But I think that is just device added nmea sentences. You can see it in the GitHub code. Just for reference, this is my main function for doing this, I've used it a long time in vario...
by bensimmo
Sun May 26, 2019 7:16 am
Forum: Other projects
Topic: Help adding pynmea to parse data in code
Replies: 19
Views: 1103

Re: Help adding pynmea to parse data in code

It just reads the stream, it can handle it itself iirc, but you can also feed pynmea2 the stream as well.

Can't look at the moment though.

What doe one of you lines look like, it does need to be NMEA data.
by bensimmo
Fri May 24, 2019 7:20 pm
Forum: Off topic discussion
Topic: [FIXED] Ego Search / Own Posts failing
Replies: 59
Views: 7062

Re: [FIXED] Ego Search / Own Posts failing

All the missed updates to posts. time to catch up :-)
pesky little bugs.
Enjoy the weekend.
by bensimmo
Fri May 24, 2019 7:16 pm
Forum: Troubleshooting
Topic: SSD Failure???
Replies: 9
Views: 260

Re: SSD Failure???

The USB->SATA cable came with the drive and is basically unidentifiable. (though it does show that it is receiving power). AFAIK Crucial does not supply USB->SATA cable. I suspect that the cable could be your problem. unless it's the install kit https://uk.crucial.com/gbr/en/ctssdinstallac to ID, s...
by bensimmo
Fri May 24, 2019 1:43 pm
Forum: General discussion
Topic: Coding mechanical button presser - how to fix my code?
Replies: 5
Views: 215

Re: regarding code

did you read the linked thread? It's code that does stuff on different length presses (I think they are looking at similar for gpiozero module too)
Also you're asking for code, but already have the code
by bensimmo
Fri May 24, 2019 11:36 am
Forum: Troubleshooting
Topic: ttyAMA0 doesn't want me to work on Raspberry 2
Replies: 6
Views: 159

Re: ttyAMA0 doesn't want me to work on Raspberry 2

topguy wrote:
Fri May 24, 2019 9:17 am
Check if "ttyS0" or "serial0" exist in "/dev/" and use one of those instead.
serial0 will point to ttyAMA0 on the Pi2.
I would recommend using serial0 though as the same code can be used on the ZeroW or Pi3 and probably future Pi.
by bensimmo
Fri May 24, 2019 11:34 am
Forum: Troubleshooting
Topic: ttyAMA0 doesn't want me to work on Raspberry 2
Replies: 6
Views: 159

Re: ttyAMA0 doesn't want me to work on Raspberry 2

That's erroring on smbus?
That's not serial, what's the rest of the code.
smbus is often used for i2c (or spi?)
by bensimmo
Thu May 23, 2019 11:00 am
Forum: Media centres
Topic: Very Large Music Library -- Very Slow Search -- Bottleneck?
Replies: 4
Views: 539

Re: Very Large Music Library -- Very Slow Search -- Bottleneck?

To be honest, it's probably best asking the community and people who make and support it. https://forum.volumio.org/ They seem quite active and the changelog seems to be regular. There are also links to a live chat area and github on the documentation https://volumio.github.io/docs/FAQs/General.html...
by bensimmo
Tue May 21, 2019 9:38 am
Forum: Automation, sensing and robotics
Topic: Magnetometer Project
Replies: 5
Views: 295

Re: Magnetometer Project

The coding is easy, you can have a play with a fake SenseHAT using SenseEmu, built in to RaspberryPi Desktop. Once you have the code, look for a nice sensor and just plug it in (find a module that does the hardwork for you) You could even write in on your phone using something like Pydroid3, for a p...
by bensimmo
Tue May 21, 2019 9:26 am
Forum: Beginners
Topic: Drone Swarm
Replies: 8
Views: 381

Re: Drone Swarm

If you start on the ground, you may want to look at the micro:bit Use its onboard sensors to get direction etc, use the radio to have them talk to each other, add other sensors and motors as needed. Stick a pi as the computer to start them all off? That's quite a few beginners projects one after the...
by bensimmo
Tue May 21, 2019 6:52 am
Forum: Off topic discussion
Topic: [FIXED] Ego Search / Own Posts failing
Replies: 59
Views: 7062

Re: Ego Search / Own Posts failing

This morning just now the whole forum failed for me,.I then ended up at https://my.raspberrypi.org and a place I never knew existed. I guess this is new, I had an account and all my subscriptions. But why did I end up there when the forum failed. (Edit/ it was a nice fail, listed my IP and other det...
by bensimmo
Mon May 20, 2019 9:53 am
Forum: Off topic discussion
Topic: "Your Posts" gives "Sorry, search could not be performed."
Replies: 7
Views: 992

Re: "Your Posts" gives "Sorry, search could not be performed."

It started yesterday evening sometime for me.
by bensimmo
Mon May 20, 2019 8:10 am
Forum: Other programming languages
Topic: General language discussion.
Replies: 176
Views: 6163

Re: General language discussion.

..., Bosque, goodie a new language, "oh look shiny" The Bosque programming language is a Microsoft Research project that is investigating language designs for writing code that is simple, obvious, and easy to reason about for both humans and machines. The key design features of the language provide...
by bensimmo
Mon May 20, 2019 7:52 am
Forum: Other programming languages
Topic: General language discussion.
Replies: 176
Views: 6163

Re: General language discussion.

Actually that stable uniform platform is a topic of talk in education. Some believe they should all have the same setup to use. One designed for teaching and learning, not for making products. Edit / If I remeber correctly, there was some chat about it in Hello World magazine https://helloworld.rasp...
by bensimmo
Sat May 18, 2019 7:32 pm
Forum: Automation, sensing and robotics
Topic: DS18B20: Influence of supply voltage on temperature
Replies: 16
Views: 772

Re: DS18B20: Influence of supply voltage on temperature

What is the supply voltage (on both) after the cable drop? It needs over 3.0V iirc (check spec and up to 5.5V) on the Vdd And, but please do check, something like at minimum of 0.3V difference for the pulse? I doubt it would return a result of it wasn't, you'd just get ghost sensors? 5.0V is not 'mu...
by bensimmo
Sat May 18, 2019 1:56 pm
Forum: Advanced users
Topic: Toggling WiFi via hardware
Replies: 5
Views: 304

Re: Toggling WiFi via hardware

Try rfkill with block/unblock to soft block it
Which is what I think desktop taskbar icon does.

Go to advanced search