![]() |
Re: Battery powered raspberry pi
Our controls team is looking at integrating a raspberry pi with a vision system for a fall project. One question they have is on boot up time - the specs are quoting about 45 seconds. Has anyone had any issues with this, does it determine how it needs to be powered (breaker or direct), do you power up the robot in queue to give it time, and any other advice on integrating it to maintain connection through the match?
|
Re: Battery powered raspberry pi
Quote:
|
Re: Battery powered raspberry pi
Quote:
Off topic: Make sure you strip the Pi of all the software that you do not need because everything means greater power consumption and lower performance. You want to squeeze the juice out of the Pi during the few competition minutes. Put good load on the Pi, the Pi will do the work slowly but efficiently. For example: My Website run on a Pi. I have all sorts of other crapware on the pi too, but it still works with a decent result. Also, why are you using a Raspberry Pi? It is one of the lowest power dev boards available, just better than the cRIO by a few times. You might try looking at a development board like the oDroid. The specs make it seem like a good one to use. Along with removing the crapware to squeeze the juice out of the Pi, you might find it useful booting off USB with an HDD or even an SSD. I reduced my boot time twice by doing this. Also, SD cards die quickly when running an OS on them because that is against their nature. Booting from USB will allow you to use a more OS "Friendly" disk drive. Also, an SSD will be better becauause of the G-Forces on the drive in a moving robot. Also, how will you keep the SD card in place. TO RDP to it, use SSH. It eliminates the requirement for an entire server like xRDP. That helps with development. |
Re: Battery powered raspberry pi
^^Probably a bad idea to quote the entire message above! :D^^
|
Re: Battery powered raspberry pi
|
Re: Battery powered raspberry pi
FWIW, the Beaglebone Black ($45) boots up in under 10 seconds using the native Angstrom Linux.
Quote:
|
Re: Battery powered raspberry pi
My Pi server (devstuff.no-ip.biz) takes 1.5 minutes to boot to a point where I can SSH to it. However, it takes up to ten minutes to get to max efficiency, where it is done launching every application! Is there a way how I can benchmark the boot?
|
Re: Battery powered raspberry pi
To solve the boot time issue - perhaps put a circuit inline with the Pi's power that will use a dedicated battery until the robots mains come online? Two diodes and a capacitor will do or one can get fancy with a circuit based on something like the MAX6236.
HTH |
Re: Battery powered raspberry pi
Quote:
If someone wants to make such an item they need to be prepared to supply anyone that wants it to make it legal as COTS. To get it approved outside of COTS they need to make several and go through FIRST engineering which will eat up this entire season between field testing and internal testing. Capacitors are a grey area. For a real storage capacitor you should treat it like above. People have managed to slide high value capacitors into competition but run time would be uncertain. |
Re: Battery powered raspberry pi
Quote:
You missed the point of SWITCHING power sources. I'm not talking about storing energy anywhere illegal during competition. The battery (or whatever power source) used to boot the Pi is not on the robot "during the competition". You remove it after turning on the robot mains. If necessary to comply with the rules a second approved battery can be the source during boot time, similar to how many of us power the driver station or Ethernet switches (for debugging) between matches. |
Re: Battery powered raspberry pi
Quote:
|
Re: Battery powered raspberry pi
Quote:
|
Re: Battery powered raspberry pi
One of the last off-season tasks for FIRST 1296 is playing with the PiCam so I happened to be looking into quick boot times. Some solutions for booting quicker include using a class 10 SD card (faster transfer rates), compile kernel to use hard-float (faster math), remove all necessary services (less to start at boot time), remove unused kernel features (smaller kernel loads are faster), no DHCP (no searching for an querying DHCP servers), alternative user space startup schemes (other than sysV style), quiet console during boot (less time printing startup messages), customize/trim library contents and busy box features, etc.
The Pi runs embedded Linux and there are huge repos of advice out there to optimize the boot time. Many folks are booting Pis in 10 seconds, sometimes less. I'll post 1296 results here in a couple/few weeks. HTH |
Re: Battery powered raspberry pi
It would be nice if we could make the Pi boot a read only image, to a RAMDISK, and make sure that the Pi doesn't get corrupted on brownout. That way, just like the cRIO, just turn it off by flipping the switch!
|
Re: Battery powered raspberry pi
Quote:
That is doable! And from other online users reports it would boot and run in 5 seconds or so using an initrd-style ramdisk. |
| All times are GMT -5. The time now is 22:51. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi