-
• #1002
Sorry, it probably reads like I was being picky. I only googled Pico later and saw it is what Nano was born from. Ta.
-
• #1003
My 8yo suggested I make this one. I said I'd be very surprised if we got a train passing within 5 minutes...
-
• #1005
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?
-
• #1006
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.
-
• #1007
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.
-
• #1008
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.
-
• #1009
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.
-
• #1010
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.
-
• #1011
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
-
• #1012
If you're not using hotspot that probably won't help.
-
• #1013
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.
-
• #1014
Ah, nice! Misunderstood your problem but fixed it anyway π
-
• #1015
Could anybody make use of a just boom digi hat?
-
• #1016
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?
-
• #1017
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? -
• #1018
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.
-
• #1019
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. -
• #1020
Not sure you'd need a gimbal if you could use an IMU.
https://maker.pro/raspberry-pi/tutorial/how-to-interface-an-imu-sensor-with-a-raspberry-pi -
• #1021
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...
-
• #1022
I was curious what a "Sunny" connector was so I googled it and found this: https://stackoverflow.com/questions/31354280/raspberry-camera-error-mmal-no-data-received-from-sensor
Don't know if that will be any use to you.
-
• #1023
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.
-
• #1024
^ forgot about that camera when I got home, might look at it tomorrow.
Playing with the pico tonight for first time in forever since I got it. Soldered the pins (badly), tinkered with the traffic light sequence code to make a mini disco light.
I've an idea for a Halloween decoration using the Pico. If I can hold the thought, and learn how to make use of a PIR, then it might just happen...
Noddy stuff for most, I know.
1 Attachment
-
• #1025
weird coincidence. I too have had a pico on my desk for months, and I only just soldered pins on to it a couple of days ago. /csb
yep, good point. In my head, nano and pico are the same thing.