Skip to main content
61 votes

Is it legal to use Raspberry Pi to develop a product and sell it?

The answer to the question if something is legal or not, depends on the interpretation of laws in a particular jurisdiction. This answer should not be treated as a legal advice. It is based on ...
techraf's user avatar
  • 4,339
15 votes

Visual Studio Code & .Net Core ARM support

The community is in the progress of making dotnet core working on ARM. Samsung recently joined the dotnet foundation to (mostly) do work for ARM. .NET is a great technology that dramatically ...
SynerCoder's user avatar
11 votes

Access network Samba share from Pi client

if the samba share does not need any credentials to login and you want to mount the share when you start your raspberry pi then edit the fstab file as root sudo nano /etc/fstab and add the following ...
Martin Jones's user avatar
11 votes

Using Raspberry Pi to flash its own SD card

To overwrite itself, your operating system must run fully in RAM and neither read nor write from SD card after booting. piCore/TinyCore is probably one of the few Linux OS which can do that.
flakeshake's user avatar
  • 6,203
9 votes

Can I use the GPU for calculations?

You can write high-level programs that run on the Pi's GPU using QPULib: https://github.com/mn416/QPULib It's a programming language and compiler targeting the 12 vector processors (QPUs) inside the ...
user46562's user avatar
8 votes

Is it legal to use Raspberry Pi to develop a product and sell it?

You can get Element14 to make custom Raspberry Pi's for you: http://www.technewsworld.com/story/Element-14-to-Bake-Custom-Raspberry-Pis-82670.html Unfortunately - For whatever reason (most probably ...
Piotr Kula's user avatar
  • 17.3k
8 votes

Pi 4 performance against x86 - CI/CD server with Java/Maven

After a few weeks I was finally able to perform a few benchmarks. The results are shown below: Computer Arch CPU RAM Drive Java Build Time ------------- ------ -------- ----...
The Impaler's user avatar
6 votes

Reliablity for devices produced with a raspberry Pi

The Pi is definitely not guaranteed to work in harsh environments. Whether it's adequate for what you want to do depends on what you want to do, and what the downside of failure is. For example, if ...
JayEye's user avatar
  • 1,908
6 votes

Using Raspberry Pi to flash its own SD card

As pointed out elsewhere, dd-ing over a running OS is never a good idea. An alternative (and the usual way you'd develop embedded systems) is to have your OS image served from a network drive and the ...
Roger Jones's user avatar
  • 1,484
5 votes
Accepted

Recording landline phone calls

My approach to this would be to do everything I possibly could to avoid interfacing the Pi directly with the phone line. It's definitely achievable, but it sounds a lot harder than I like my spare ...
goobering's user avatar
  • 10.7k
5 votes

Testing Raspberry Pi scripts on a PC

GPIO Zero provides a mock pin interface, meaning you can run the same code on your PC and emulate the pins. See examples of how it's used in the test suite.
ben_nuttall's user avatar
  • 2,461
4 votes

Access network Samba share from Pi client

My issue was similar. My target was dd-wrt samba share. My problem: unable to mount it in anyway (also fstab from RPi3). I had errors from "not being able to pass the password to reference to mount....
BioLogic's user avatar
3 votes

Testing Raspberry Pi scripts on a PC

I made this little library, fedeb95/pin that proved useful for me. Lacks some features, but if it suits you... it worked for me. Edit: pin is a RPi.GPIO wrapper. Instead of calling method x of RPi....
fedeb's user avatar
  • 31
3 votes

Is there an IDE that fully supports "remote development" and "remote host execution" on Raspberry Pi?

Your code snippet is not as simple as you may think. Environment variables are set separately for each process (possibly with inheritance), so if you set MY_ENV_VAR in a shell and test for it from ...
Dmitry Grigoryev's user avatar
3 votes

Using Raspberry Pi to flash its own SD card

Use an SD card large enough to hold multiple partitions The SD card should hold a boot partition (0) and three OS partitions (1-3). The boot loader on the boot partition would examine the ...
Monty Harder's user avatar
3 votes

Pi 4 performance against x86 - CI/CD server with Java/Maven

Jenkins and Maven by themselves don't consume any significant CPU time. You need to profile specific implementations of the compilers you're going to use. If you're interested in GCC and don't have a ...
Dmitry Grigoryev's user avatar
2 votes
Accepted

changing values on a GPIO input pin via software/script

If a pin is input it (should) reflect the value of whatever is connected to it. It would make no sense otherwise. If you want to test you could set some other pin as output and connect them. This ...
Milliways's user avatar
  • 60.7k
2 votes

Reliablity for devices produced with a raspberry Pi

You might want to look at the Raspberry Pi Compute Module in your solution, it can be used in a much more versatile way than regular Raspberry pi boards.
calm5000's user avatar
2 votes

Visual Studio Code & .Net Core ARM support

Mono runs okay on raspberry pi but be aware it suffers from performance issues (The one I use is Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)). I run handful of console applications on RBP (...
Sri 's user avatar
  • 21
2 votes

Recommended GUI toolkit for Python development on the Raspberry Pi

I have developed GUI application which runs on raspberry pi 2,3. I used both tkinter and pyQt4. But Where both tkinter and pyQt4 requires lot more coding for placing your widgets and it takes lot of ...
Yatish Prasad's user avatar
2 votes

Recommended GUI toolkit for Python development on the Raspberry Pi

tkinter is the GUI extension to TCL which was used very early in the Python development cycle. IDLE the Python command shell uses tkinter. for a GUI you need an xorg-x11 service (a daemon) and a ...
Ancient-Geek's user avatar
2 votes

Testing Raspberry Pi scripts on a PC

Being a newbie to Python and the Pi I didn't understand Joan's answer and needed a simple (bot not elegant!) way of testing my program on the PC without error messages caused by missing GPIO calls. I ...
M61Vulcan's user avatar
  • 121
2 votes

Testing Raspberry Pi scripts on a PC

I suppose you could use mocking libraries like Mock. They are mostly used for Unit Testing, but I'm pretty it would work very well in your case. And you would probably be better of trying it by ...
BriceP's user avatar
  • 123
2 votes

Testing Raspberry Pi scripts on a PC

There's a library you can download here: https://roderickvella.wordpress.com/2016/06/28/raspberry-pi-gpio-emulator/ Or there's a simulator which lets you write and test the python code here: http://...
pddring's user avatar
  • 121
2 votes

How and in what language can you create this very little script so it works for Raspberry Pi 3?

You can use .exe programs on Raspbian using Mono. Install it by typing apt-get install mono-complete into the console. After the installation is done, you should be able to run your program with mono ...
Gherkay's user avatar
  • 61
2 votes

How to install MonoDevelop or other IDE for Mono 5.2.0 on Raspberry Pi 3?

i found this link which explains the process i think but i haven't tried it for myself (yet). you need to add the mono repository using the commands shown (see link) and then you can just do sudo apt-...
harry's user avatar
  • 21
2 votes

Is there an IDE that fully supports "remote development" and "remote host execution" on Raspberry Pi?

You can use Jetbrains softwares. They have all kinds of IDEs. For python, there's Pycharm IDE. There's a paid or free version but with the free version you don't have the remote development feature.
Kreumz's user avatar
  • 368
2 votes

Is there an IDE that fully supports "remote development" and "remote host execution" on Raspberry Pi?

I don’t speak from experience but I have met developers who use Vim for commercial grade software products. I understand you would combine SSH with Vim to achieve your remote development and build ...
ThisClark's user avatar
  • 171
2 votes

Is there an IDE that fully supports "remote development" and "remote host execution" on Raspberry Pi?

With Xojo you can use the Remote Debugger to run code directly on the Pi.
Paul Lefebvre's user avatar
2 votes

Using Raspberry Pi to flash its own SD card

Use with caution This works for me because I am using a read-only root filesystem with a custom Buildroot OS. This script hasn't been tested on Raspbian yet, but will probably work. #!/bin/bash set -...
Jeremiah Rose's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible