How do I make a raspberry pi raspbian application? - raspberry-pi

I am struggling on how to make a Raspberry Pi app for Raspbian (On a raspberry pi). I have searched and searched for hours but I still can't find out how to make one. There are apps that I can use but I cannot install them. Should I use python??... Please help me!!...
I found a few visual editors like XOJO, I am knew to "RASPBERRY PI" stuff.

It's just a bare machine you can cover it with anything you want. It's basically Lightweight Linux distro which we install mostly on the PI. Can support wide range of applications but IOT related products are more often developed using PI. If this is the case you can start here using android also.
https://developer.android.com/things/hardware/raspberrypi

Related

Using VSCode with a Raspberry Pi 1

I'm trying to set-up Raspberry Pi 1 with VSCode so I could run code remotely on it. I've installed VSCode on the Pi, but when trying to launch it with the 'code' command, I get an 'Illegal instruction' error.
I tried connecting remotely from my Windows workstation, but I got an error saying that "the remote's host architecture isn't supported".
My question is, is it possible to install VSCode on the original Pi? If not, what IDE do you use to work remotely on it, besides ssh and VNC?
According to VS Code's official site, Raspberry Pi 1 is not supported.
First-generation Raspberry Pi modules and Raspberry Pi Zero are not supported as they only include an ARMv6 CPU.
Seems to me Raspberry Pi 1 has very low hardware and I'm sure that it will give you hard times when you codding. If you wanna use it anyway, you may continue with a browser-based editor like AWS cloud9.

How to install Qpid Proton on Raspberry pi

I want to use Qpid Proton on the raspberry pi 4 but I have trouble installing it.
Well, it seems I could install it and I can use the examples from the Apache website.
https://qpid.apache.org/releases/qpid-proton-0.33.0/proton/python/docs/tutorial.html
However, the container's on_sendable callback does not seem to be executed.
After doing some research, it seems I need to add a topic exchange with the qpid-config, which is part of qpid-tools.
However, those are not available to install, both with pip or apt ...
Do you know how I can install Qpid-Tools on the raspberry pi?
Do I need to add a repository? And if so, where do I find it?
It's doubtful that there exists a build of qpid-tools fir the ARM based distributions so the short answer is probably that you can't get those tools there. The longer answer would be that you would need to likely build the qpid C++ binaries yourself on your Raspberry Pi using the included INSTALL instructions to try and reverse engineer the needed requirements and platform configuration that would allow it to build on ARM.
If you figure out the requirements you could feed that back to the Qpid community although I don't think there is much ongoing momentum for the Qpid C++ broker.
You can download the source bundle from the Qpid project site here.

Which Raspberry Pis are compatible out of the box?

First, I googled for this question but found no valid answers (may have been inefficient at this though).
I am working with a mix of Raspberry Pis: Raspberry Pi 1B, 2 B+, 3, Zero. I know that those have different chipsets / architectures etc, but it seems that plugging an SD card created for one Rasberry on a Raspberry of a different model works (I created my SD cards for the 2B+, and plugged them also into other models). I use Raspbian, and I run some code that relies on quite a lot of Python packages (numpy, scipy, etc).
My question is:
Why would this work at all despite different hardware? Where is the hardware taken into account when doing a sudo apt-get install? Are there some parts of a sudo apt-get that depend on the RPi model?
As it seems to be working fine, am I at a risk if I switch cards between different RPi models that the program executes, but that its output is somehow 'wrong'?
Some debian/unix packages need to be compiled against specific CPU architectures. Python source code, for the most part, is transferrable because you are not compiling it onto a specific architecture like you would for C/C++
Regarding the SD cards, I wouldn't trust moving them to different models. There are different Linux kernel requirements at least between Pi-1 and the later models.
Although, I see there is only one link to download Rasbian image, the other OS's specifically say "image for Raspberry Pi 2 and 3"

Configuring QT Creator on Windows 7 (Raspberry pi is target)

So I will start off by saying that I do NOT want know how to setup or run QT on the pi. I am specifically trying to setup Qt Creator 4.0.3 (Based on Qt 5.7.0 (MSVC 2013, 32 bit)) to write and compile C++ and the run it on the Raspberry pi 2. I have found that running qt on the pi is far to slow.
I have searched for two days to find the right toolchain download for qt/raspberry and its corresponding qt configuration. Nothing seems to work. I have found what seems like a thousand dead ends searching the web. I can write and compile apps for windows console fine. But finding information to cross compile for raspberry seems to be an elusive Unicorn!
Does anyone have this working??? If so which of the many toolchains did you use? And please help me replicate your QT configuration. The closest I have come is using the GCC ARM Embedded toolchain but I cant seem to get the QT options set correctly and I believe that only gets me part of the way there. My ultimate goal is to control GPIO and use the RadioHead library.
Thanks in advance!
I also wanted to do that, and I actually achieved it, It's called "cross-compilation", you build on the Main PC and then compile it to the target.
Initially I wanted to use my main PC with windows 10, but I ended creating a linux partition on my pc to do it since I didn't found any way to do it with windows.
Qt has a very comprehensive tutorial with Qt5 and RaspberryPi2 (both with linux), the only problem is you need linux on your pc to do it. If you want to do this I would suggest following this steps:
Create a linux partition with the same os as in the pi (for example raspbian and debian) and name the username (in linux) "pi" and the password "raspberry". This will help you with external libraries.
Install Qt for Linux on your new partition
Follow Qt's tutorial on https://wiki.qt.io/RaspberryPi2EGLFS
The tutorial is really straightforward, I really recommend it.
Good Luck.

win10 IOT on raspberry pi3 or raspberry pi2

I have a raspberry pi3 but I am having tremendous issues with trying to install win10 IOT on it. When I download the core and try to boot it I only get the "rainbow" screen. When installing noobs I dont even get the option for win10 IOT. Anyone else had problems with this? Will it work smoother on a raspberry pi2 rather then the pi3?
Im not asking if anyone know solutions for booting win10 IOT on pi3, I have tried most of it :) Just asking if anyone has better experiences using pi2 for it?
If you follow the link to Manually set up your IoT Core device Microsoft there explain how to install with a Windows computer.
If you are using UNIX however, there isn't much help for you. As an experienced Unix user who last used Windows seriously about six years ago I found it quite intimidating to have to
a) log into my Microsoft account (that I last used from a different continent)
b) sign up as a "Windows Insider"
Even after going through these hurdles I only stumbled across the ISO file by accident, and even then nothing for the Raspberry Pi.
This answer isn't given to help you achieve your aim, which I despair of doing, but to let you know that the whole process perplexed someone of considerable experience. I don't see myself using Win 10 for my Pis without buying a pre-configured SD card.
What you're going to need to do is follow this link and do what it says:
https://buildazure.com/2017/05/24/setup-raspberry-pi-with-windows-10-iot-core/
Basically:
Load up your microsd card onto the PC
Use the wizard
Insert card into the Pi
And boot it up.
i working in windows 10 iot core.
first time when i install windows 10 iot core i follow the following list.
how to install windows 10 iot core
follow the link.
i things your problem is solve...