Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I would like to know if I could use the raspberry pi phone as a universal remote. I am new to the raspberry pi. Would you recommend any parts for the device. If you are familiar with the pi phone them could you recommend any if blasters or batteries.
This is some hardcore serious overkill for a homebrew remote project.
you should be able to simply drive a normal IR-LED directly from one of the Digital Out lines on a raspberry pi board ( assuming that the PI phone leaves at-least one spare. ) The power consumption from something like that is a bit larger than what you would expect (therefore you would only get a few hours out of it. ) something like a ardunio would have a significantly longer battery life (and if you get creative and drop a capacitance sensor onto it to turn on and off the Touchscreen if you are holding it or not then you can have it live even longer. )
It is less than ideal due to the current draw from a IR LED, so a more suitable answer would be to run a transistor from the GPIO port and a secondary regulated power source for the LED.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have raspberry pi 3b+, i want to manage an apartment with OpenHab
Support is needed for xiaomi, ikea, philips (lamps), TV and washing machine (most likely from Samsung or LG).
What you need to buy to be able to communicate and control ZigBee and Z-wave (not necessary) devices?
The network has found such devices: RaspBee, Elelabs ZigBee, CC2531, ConBee II - (as I understand they all work only with ZigBee)
Is there a GPIO Binding for raspberry with ZigBee and Z-Wave support at the same time?
And which device of the above is better for working with ZigBee?
When you have a Raspberry PI, you could use https://zigbee2mqtt.io which is based on Node.js.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I would like to know if it is possible to configure Raspberry pi to work as Wifi AP and client simultaneously. I googled and found the following link
Link
This link is not clear but it makes a reference to this Link-2
Link-2 has something mentioned like this: It seems likely, given the chipset, that the Raspberry Pi should be able to operate in both Access Point mode and client mode simultaneously. In other words, it can get its internet connection by joining on a wireless network, while simultaneously providing a second network as an access point to a ‘cloud’ of sensors. Which is what i'am looking for. I tried googling more, but could find setting up Raspberry pi as a Wifi AP only but not both simultaneously.
My question is: Is it really possible to set up Raspberry pi in with such a configuration mentioned in link-2. And if so can someone please tell me step-by-step to do it.
I have Raspberry Pi 3B with Raspbian Stretch.
You can't have multiple wifi services with single wifi-interface(built in interface).This is common to all devices not only raspberry pi.
What you could do is to have a separate USB wifi interface(adapter) for that.There are good external USB wifi adapters to purchase in very cheap prices as well.
Try one...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I just want to know, whether I can transfer my pi projects to other pis by simply plugging the sd card into a different pi without damaging any of the projects on them.
There is no data stored on a Raspberry Pi except on the SD card. You may move your card from one Pi to another.
Well, there is data stored in the RAM, but that's no big deal. Just make sure your raspberry pi is off, to avoid corrupting your SD Card (that's happened to me several times). But other than that, it should be just fine switching out SD Cards to another pi.
Just to be safe, I would recommend using the same Raspberry Pi model (although it probably doesn't matter)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
We use a Raspberry Pi embedded computer to connect IP cameras on a customers network to our cloud based recording service.
We are using Raspbian and about 50% are Wheezy and 50% are Jessie.
The challenge we have is how to remotely update the software running on these IFUs.
Our current method involves using SSH and Ansible. We have a complex Ansible script that makes all the changes to the Raspberry Pi and we have automated this to an extent so we can updates lots of Raspberry Pi's at a time.
However, the problem is is that this is a non-atomic update. The Raspberry Pi's do not necessarily always have exactly the same package versions on them depending on when they were updated. Its also possible for an upgrade to fail half way through etc.
I am aware that there are a couple of ways of doing an atomic upgrade by downloading a new 'software image' and swapping over to using it instead using a bootloader. I think OpenWRT can do this as well as swupdate: https://github.com/sbabic/swupdate
Has anyone ever done something like this on a Raspberry Pi before?
Thanks
As a bit of an update to this question, I found a couple of ways of doing this.
The first thing to consider is that you do not have to stick with the RPI's default bootloader as #user3145836 pointed out. Uboot allows you to flip the boot partition.
The best option at the moment appears to be https://mender.io and this is the option that we have gone with.
If you can dockerize your app, https://resin.io/ is a nice hosted way of doing it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
We need to simulate an unstable network connection to try to debug some connectivity issues in our server/client application and I was wondering if there are any programs out there that can simulate those conditions such as on a faint wireless network.
I'm not just referring to reducing bandwidth, but also reducing reliability, frequent on and off, short bursts of disconnectedness, etc.
I used a tool called netem that runs on linux. It allows you to increase packet loss at a given percentage, introduce delays within packets and handle packet re-ordering. Basically it's designed to emulate different networks.
All you need to get it up and running is a spare machine to install Linux on with a couple of Ethernet cards. Hook it up as a bridge, and run netem between them. Should be quite simple to do. I used it for my University project having no Linux experience, but I've probably still got all the setup instructions somewhere.
Ian's solution seems like a pretty good long term solution, but sounded a little involved for just some quick testing. (finding another machine, hooking it up, possibly setting up router stuff etc)
I ended up just using Net Limiter and randomly set the limit to something stupidly low manually (like 1 byte/sec) and that seems to be sufficient for our needs.
http://snad.ncsl.nist.gov/nistnet/
It's a little complicated to setup, but works very well.