Raspberry π

Posted on
Page
of 41
First Prev
/ 41
  • yep, good point. In my head, nano and pico are the same thing.

  • Sorry, it probably reads like I was being picky. I only googled Pico later and saw it is what Nano was born from. Ta.

  • My 8yo suggested I make this one. I said I'd be very surprised if we got a train passing within 5 minutes...

    https://twitter.com/5into15/status/13874­12131134464006?s=19

  • Perhaps an Android question just system upgraded my phone and all my pi to mobile hotspot 192.168. addresses are now different.

    I guess that's normal, just wondering why it'd not keep the old ones?

  • Not sure I 100% understand the question, but if you're asking why your devices on your local network have ended up with different IPs...

    It's because whatever is acting as your DHCP server on your local network (probably your router) gives out IP addresses dynamically (the clue is in the name - Dynamic Host Configuration Protocol) within a given address range, something like 192.168.1.5 to 192.168.1.253. So it doesn't give out 'forever' addresses, they constantly change.

    You can assign a static IP address if you need one. Normally that would be for servers or if you need to access something remotely, but by default IP addresses are dynamic.

    If you want to set a static IP for a Pi just google it, there are loads of tutorials.

  • Very neat but can't help thinking it would be even more pleasing if the train just sped up every time it passed the sensor, eventually resulting in a spectacular derailment.

  • Yeah at home the dhcp gives a long enough time span that devices tend to keep same IP.

    Mobile hotspot connecting pi to my phone for out n about use did similar, meaning I could setup quick remote access via juice ssh.

    Suddenly if I reboot a pi connected to my phone 4g via hotspot it issues it a new ip address where only the 3rd number set is changed e.g 192.168.xx.yy becomes 192.168.zz.yy. This means I have to find the ip address in the connected device list, then update juice ssh, then accept a new verification key when I connect after each shutdown or reboot. This isn't as simple as I'd previously enjoyed.

    I thought it might be to do with a recent Android upgrade on my phone but it's the same when using a different device.

    I'll look into setting a static IP at the pi end of things as that'd help loads. Ta.

  • Random thought on this. I think most modern mobiles and Rapsberry Pi tend to use locally generated (spoofed) mac addresses now days. These can change when you update/reimage a system. I know my Galaxy s10 changes mac addresses after major updates. Pretty sure my Pi4 devices do too. I could be wrong though, its not something I've paid attention to.

    If your DHCP lease was still valid, it might detect an upgraded device as a new device if the Mac has changed hence the new DHCP lease.

  • While it is relatively easy to spoof the MAC on a pi, it is not spoofed by default (on raspbian, at least), as far as I know.

  • Ah, so this posdibly new "advanced" setting under mobile hotspot is probably the issue?

    I'll set it to phone mac which might fix it, will try test tomorrow.


    1 Attachment

    • Screenshot_20210609-235103_Settings.jpg
  • If you're not using hotspot that probably won't help.

  • I am using hotspot:

    if I reboot a pi connected to my phone 4g via hotspot it issues it a new ip address

    It has fixed it.

  • Ah, nice! Misunderstood your problem but fixed it anyway 😂

  • Could anybody make use of a just boom digi hat?

    https://shop.justboom.co/products/justbo­om-digi-hat

  • Bit of a long shot but I’ve got a project in mind that I’d really love to try using a Pi…

    Some historical (and a couple of existing edge case) aircraft used a navigation system that triangulated position by locking onto stars optically and comparing it with a clock. It was all very analog but essentially a bunch of cameras on a gimbal and a very archaic computer acting as a sextant.
    It pre-dates gps and is quite handy for if and when gps isn’t available.

    From what I can gather, most of these systems had about 60 stars pre-programmed but you could go much higher than that, trivially now.

    Purely as a hobby project, I can’t stop thinking of making one of these on a pi and using a small array of cameras. It should work completely offline (not reliant on cloud ML services) for months on end and be as hardware agnostic as possible. As a starting point, I was thinking of looking at Astroberry for the star tracking aspect but it might be a bit heavy handed. The complexity is definitely weighted in the optical/pattern recognition stuff, im guessing. And also the hardware with the camera array will be a fucking ballache, but it’s doable, right?

  • I haven't really followed or read through the thread but after dropping out of electronic engineering in college, I kinda wanna get back into it.
    Question - what bike related projects have people used the Pi for?

  • Only sort of bike but... I have a Raspberry Pi that I plug my helmet camera into (Contour Roam) that then automatically copies of the video files on connect (to make room for new) and has a script that sets the clock ready for unplugging. I need to add a button to trigger the script (rather than doing it from my phone) and a status light (off=camera not connected, flashing=files being copied, solid=copy done, rapid flashing=clock set/unplug now).

    You could make your own custom bike computer? I can't think of something useful that you can't do with a Garmin though.

  • You could make your own custom bike computer?

    There's a video of someone doing this. Think my Garmin/Wahoo will cover anything like that.
    Maybe I'll try something basic like a camera trap to start with.

  • My twitter project camera failed tonight.... I hadn't used it since June, sudo updated/upgraded it last week...

    Error is

    Camera control callback  cmd=0x4f525245mmal: No data received from sensor. Check all connections, including the Sunny one on the camera board
    
    

    vgencmd test gives 1 and 1 so it is detected. I removed and re-fitted it and same error. Ribbon damaged most likely? Excuse to upgrade to hq camera if so...

  • I was curious what a "Sunny" connector was so I googled it and found this: https://stackoverflow.com/questions/3135­4280/raspberry-camera-error-mmal-no-data­-received-from-sensor

    Don't know if that will be any use to you.

  • Ta. I'm using an adapter to make a zerocam fit the 3b+ that @ atk donated.

    It doesn't have the equivalent yellow bit mentioned. I will run the dmesg command someone suggest, then also test the camera in a zero - whatever happens it'll give me a good idea of if the camera is broken or not after those 2 tests.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Raspberry π

Posted by Avatar for photoben @photoben

Actions