Click here to Skip to main content
15,881,938 members
Everything / Internet of Things / Raspberry-Pi

Raspberry-Pi

Raspberry-Pi

Great Reads

by Miroslav Fidler
Installation and the first look at U++ platform
by Marc Clifton
Implementing an SSL capable server in .NET Core WITHOUT ASP.NET, using nginx, and testing Postgres with EF, all running on an rPi
by Marc Clifton
Talk to your rPi over a Slack channel, getting status, controlling devices, and running shell (bash) commands and viewing the console output posted back to your Slack channel
by Andrew Kirillov
The article describes cam2web project - an open source application aimed for streaming cameras as MJPEG streams.

Latest Articles

by ToughDev
This post shows a way to change the default crontab editor in bash shell for Raspberry Pi.
by ToughDev
How to use Raspberry Pi Zero Wireless as cheap CCTV camera replacement
by Daniele Alberto Galliano
A guest OS for IoT devices, that can adapt easily to many different tasks
by Miroslav Fidler
Installation and the first look at U++ platform

All Articles

Sort by Title

Raspberry-Pi 

17 Sep 2017 by User 13204940
Hi .animate({duration: x, queue: x}) doesn't work on chromium on the raspberry pi, but it does on chrome for windows. I tried downloading the script references and using relative paths to link them in as opposed to trying to get them from the web, but that doesn't work either. Any idea why? ...
17 Sep 2017 by Mike Hankey
Check this SO post for a solution.
11 Jan 2019 by Marc Clifton
Implementing an SSL capable server in .NET Core WITHOUT ASP.NET, using nginx, and testing Postgres with EF, all running on an rPi
7 Aug 2018 by Leonid Fofanov
Raspberry PI implementation of binary counter originally developed for Arduino board.
4 Mar 2013 by Member 9883211
Im in goemetry and my teacher is giving 50 extra credit points and he wants to know as many numbers as we could get for writing as many numbersof pi as we could
4 Mar 2013 by PIEBALDconsult
int Pi = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003 ;
27 Apr 2016 by Wastedtalent
Source code available on Github Background In my first post of this series I discussed a very simple way of driving a 7 segment display directly through the Raspberry Pi 2.  Whilst this does word, in practice it has a number of caveats and limitations.  Firstly the current through each LED is limite
8 Apr 2019 by Marc Clifton
Bonus - Group chat with your rPI's using SlackBot
16 Dec 2015 by Tim ONeil
INI-style properties for C++ Embedded/Applications on Linux
28 Apr 2019 by Phil Hopley
In this article, we will add AI to an existing ROS (Robot Operating System) House Bot.
20 Jul 2016 by Joel Ivory Johnson
Windows IoT on Raspberry Pi doesn't yet have native support for a hardware real time clock. I've created a solution for getting Windows IoT to initialize its clock from RTC at bootup so that other solutions don't need to be modified to read from the RTC directly.
17 Sep 2017 by leon de boer
Introducing SmartStart something like a BIOS for the Pi
21 Jul 2021 by Sergey L. Gladkiy
In this article we’ll run our face detector on a Raspberry Pi device.
25 Jan 2021 by Sergio Virahonda
Different approaches to create a face mask detector
30 Aug 2018 by MateoGlowinski
Hi, i've problem with Apache2. It is not executing Python Scripts which includes "sudo" command. Those scripts are working fine while running from terminal (as a "pi" user). Apache2 is running also "pi" user. Response for ps aux | grep apache2 command: root 409 0.0 0.4 7544 3824 ?...
30 Aug 2018 by Dave Kreskowiak
It doesn't work because sudo is interactive. It'll ask for a password which your website will not be able to "type in". I don't know how you're launching the command, so I suspect you're launching a command like "sudo command"? You can try changing the command to "echo password | sudo...
28 Apr 2019 by Martin Gmuca
In this article, we will look at the process of app development, deploy and debug on Raspberry Pi 3 using VS2019.
25 Jun 2017 by Kornfeld Eliyahu Peter
It seems you have some Google problem... If found it after 15 seconds and there are more... Raspberry Pi Barcode Scanner with Webcam and Python[^]
28 Dec 2016 by Andrew Lai
Power on, safe shutdown and power cut-off for Raspberry Pi
1 Jan 2018 by Farooq Kaiser
Build your own digital photo frame with a $35 Raspberry Pi and an old screen
11 Aug 2016 by CoderGirl42
Finding true North using GPS and a compass with Raspberry Pi.
29 Aug 2017 by Andrew Kirillov
The article describes cam2web project - an open source application aimed for streaming cameras as MJPEG streams.
7 Jan 2019 by drvfn
Hello Im completly noob with this kind of code, someone can explain to me this code? i think this code compare the serial number. but i dont undestand it line by line. if [ -f /opt/k/newApp/kCfg.jar ]; then sudo mv /opt/k/newApp/kCfg.jar /opt/k/kCfg.jar fi sn=$(grep -Po...
7 Jan 2019 by k5054
That's pretty straight forward shell script: the [ -f ... ] expression is a test, in this case -f tests for file existence (see man test) if the test succeeds, then we get root privileges via sudo and move the new executable into position This line sn=$(grep -Po...
29 Jan 2021 by Aditya Bavigadda
I am planning to buy a raspberry pi 4 and this is the first project I want to do https://www.hackster.io/8_Bits_and_a_Byte/monty-python-s-argument-bot-d616b8#code so I was wondering if the code could be modified to work without a servo and...
7 May 2023 by ToughDev
This post shows a way to change the default crontab editor in bash shell for Raspberry Pi.
14 Jan 2021 by Allister Beharry
In this article, we select hardware components for our AI/Pi-based solution and assemble them into a functional system.
7 Jun 2016 by GProssliner
cobj is a preprocessor based generator for interface based polymorphism
3 Mar 2019 by Chris Boss
I have followed stories about learning to code in education and am intrigued by what I have read.
22 Jan 2021 by Allister Beharry
In this we discuss improvements we can make to the software in terms of performance or accuracy. We also compare our homebrew open-source system to commercial vehicle speed detection systems.
18 Jul 2015 by ttddssg
Do GPIO ports (on raspberry pi) can be used for serial communication? or, how we can connect multiple devices for simultaneous communication on single RX and TX of raspberry pi?Edit: I have two devices, a GPS module and a GPRS/GSM module to connect, both uses RX and TX to communicate with...
20 Jul 2015 by Sergey Alexandrovich Kryukov
Theoretically speaking, yes, but you won't want to get into so much trouble — they are not designed for this purpose. It would be quite difficult to organize such communication. You will understand it if you understand what GPIO is:...
9 Jan 2019 by Tareq_Gamal
Control Anything from a web page using sockets and ports.
29 Jan 2021 by Sergio Virahonda
In this article we test a face mask detector on a regular computer.
3 Jul 2013 by Arun Kumar K S
I am creating a linux init script to copy some files from my pen drive to my raspberry system drive. but its not copying the files from pen drive to system on booting time. but when i executed it from terminal its working fine.for PENDRIVE in /media/* do if [ -d...
7 Jul 2013 by H.Brydon
I've run into this type of problem as well and I have identified 2 things that I have to fix:(1) file/directory protection versus username during boot process ... solution I think is obvious(2) during the boot process, a lot of things run before all disks are mounted. Make sure that the...
22 Feb 2021 by grilialex
In scientific projects, it is often needed to sample sounds from remote locations, for classification or other purposes. As data link rates may be low or unreliable, transmitting raw samples to inland processing centers may not be an option. An alternative is to do off-line processing in batches.
22 Feb 2021 by grilialex
This article is a continuation of the previous article on Creating a Smart Hydrophone Processing System – Hardware. It is assumed that you have already setup the Raspberry Pi to have remote desktop and SSH agents active.
20 Jan 2014 by aetheon
How to create a wireless router/access point with #raspberrypi and #raspbian #linux
14 Mar 2016 by adityaswami89
Creating C# application’s on Raspberry Pi
10 Mar 2014 by aetheon
How to create your own #nodejs development server with a #raspberrypi running #jenkins
1 Feb 2021 by Sergio Virahonda
In this article we’ll deploy our YOLOv5 face mask detector on Raspberry Pi.
16 Dec 2020 by Sergey L. Gladkiy
In the next article, we’ll use a pre-trained DNN to detect pests on video.
23 Dec 2020 by Sergey L. Gladkiy
In this article, we’ll show you how to develop a simple motion detector and combine it with the trained DNN model to detect moose on video.
17 Dec 2020 by Sergey L. Gladkiy
In this we’ll talk about some ideas for detecting "exotic" pests, such as moose and armadillos.
22 Dec 2020 by honey the codewitch
Highly efficient access to JSON data sources and selective bulk loading JSON on any platform using a new JSON paradigm
18 May 2020 by Moonwalker031
I am writing a Python prog on Raspberry Pi that has a function to write some data to a USB drive. I need to Unmount/Eject it when ready so that the user can take it out. Is there a way to do it through the python prog please? What I have...
18 May 2020 by Richard MacCutchan
See Eject/dismount a USB with code on a Pi - Raspberry Pi Forums[^]
24 Dec 2020 by Sergey L. Gladkiy
In this article, we’ll test our detection algorithm on a Raspberry Pi 3 device and create the "scare pests away" part of our pest eliminator by playing a loud sound.
12 Sep 2018 by Chris Boss
A short introduction to using the Powerbasic 6.0 console compiler with the Ontime RTOS-32 embedded operating system
21 Jun 2017 by Member 11741397
I have a video processing program that I have built on EMGUCV and C# using Visual Studio and an Intel i86 desktop environment. This has been made to work in an Ubuntu 1404 environment with Intel i86 processors, using Mono. Now, the new challenge is that this has to be ported to the Raspberry...
4 Oct 2016 by Sandeep S. Sandhu
Implement LDAP and Kerberos on an embedded Linux IoT to provide enterprise grade authentication for IoTs (Part 1)
5 Oct 2016 by Sandeep S. Sandhu
Deploy Kerberos on a Raspberry Pi IoT to provide robust and enterprise scalable authentication for IoTs (Part 2)
31 Mar 2015 by Sudhir Kshirsagar
The availability of low cost sensors for environmental monitoring coupled with the capabilities of the Microsoft Cloud provides a set of enormous opportunities in building a solid infrastructure for smart cities.
19 May 2016 by violence666
i have made a code in which i receive the live stream on my client from my Raspberry pion my Pi (server) i have used a netcat command pi@raspberrypi ~ $ raspivid -t 0 -o - | nc -l 5001 on the receiver, i store the received data in a buffer, and then that buffer i pass it to my decoder...
21 Dec 2020 by Sergey L. Gladkiy
In this article, we’ll see how the same result can be achieved by data augmentation.
23 Nov 2015 by Member 12158013
Regarding your instructions on surveillance camera:Am trying to set up a shared folder on a windows machineI am getting an error message "Mounting local filesystems...mount: mount point 0 does not exist" upon reboot.Additionally, After assuming I can accomplish this: I am not clear what...
14 Dec 2020 by honey the codewitch
Some C++ magic to help cut down on heap abuse for simple scenarios
28 Nov 2016 by leon de boer
Failing and musings of two weekends with the Raspberry Pi
4 Jan 2018 by mariummalik22
I am trying to send web request to my php code via linux running on raspberry pi. I am using putty to access the OS. When I am running the code, I am getting gai error-2. Below is my code: import requests values = {'"firstname":' "abc ", '"lastname":' "xyz"} r =...
7 Oct 2016 by Member 12782061
i have a Question how to get any unique id or Mac address from my Raspberry pi ?Am using Windows Universal Application Platform Vb.net (Visual Basic ) anyone can help ?What I have tried: Dim deviceinfo = New EasClientDeviceInformationDebug.WriteLine(deviceinfo.id)but...
7 Oct 2016 by Dave Kreskowiak
A MAC address is not a unique identifier. The specification for MAC addresses just says that the id must be unique on the segment the network adapter is connected to. It is not a globally unique id.The best way to go about something like this is to assign a unique id to the device from your...
15 Dec 2017 by Intel
This is a "Getting Started" guide for the Intel® Speech Enabling Developer Kit
23 Dec 2015 by Ashwin. Shetty
Writing your first app using Mean Stack (M = MongoDB, E = Express.JS, A = Angular.JS and N = Node.js)
14 Nov 2016 by Hussain Patel
Raspberry Pi - the incredibly small computer of the size of credit card and cost less than $40 has gained popularity not only because of this but its capability for connecting to electronics and devices using the GIPO pins.
14 Nov 2016 by Hussain Patel
In this article, we would be discussing about the Raspberry Pi - GPIO (General Purpose Input Output) Pins
24 Sep 2017 by Hussain Patel
In this article, we will see how to use Breadboard- it's a great way to connect circuits and your Pi together.
26 May 2022 by Miroslav Fidler
Installation and the first look at U++ platform
13 Apr 2016 by Member 11246861
Within LAN, laptop gets signals from microcomputer and microcontroller using TCP/IP and SPI
2 May 2017 by Alakalec
To start I am still very new to this field, I took my first real classes for programming and became hooked. I really am brand new to the programming world though, so please excuse my ignorance at this time. I am using this as my dive point into what I hope is a wonderful life choice and passion....
2 May 2017 by Andy Lanng
I had a huge explanation that I just scrapped. To put it short: You're taking on too much too quickly. This is a great subject for Electronics ( a field where you create circuitry with custom inputs and outputs) but very complex for applying to a set board. The *pi is a great tool for joining...
2 May 2017 by Alakalec
Completely agree that this is reaching very far and don’t expect to reach this for some time. My goal is to just begin working towards being able to do this. And thank you for your time and willingness to help a newbie! That being said thank you I will begin working on this in what I know of...
3 Jan 2016 by Richard MacCutchan
See Code Project Quick Answers FAQ[^].
5 Apr 2017 by Member 13109149
Some background info: I do a Christmas Light show, one where it blinks to the music. This year I am going to be having a "jukebox" where a guest can press a button, and then the song will play. There will be 13 buttons individually hooked up to a device called an "Input pup." That is a piece of...
5 Apr 2017 by Jochen Arndt
You have to connect the buttons to the GPIO ports of the Rapsberry Pi. How this can be done depends on which signal levels are used by your "Input pup" hardware. When the buttons are also connected to other harwdare (your light controller), you usually have to use level shifters to protect the...
5 Jul 2022 by Member 15697573
0 I have A project to make the Raspberry Pi when connected to any Android device will format and reset it. Is this possible, and how can I work on it? I couldn't find anything that could help me on Google What I have tried: search on google...
5 Jul 2022 by Dave Kreskowiak
You can't. Only part of the phone will show up as a drive to the Pi. You can't format it, and cannot reset the phone either. You need admin permissions on the phone to be able to do that, and you cannot get those permissions remotely as it's a...
5 Jul 2019 by Meharsyed
I am trying to access SQL server from raspberry pi using the following query but i am unable to do that. and python shell return error: Error: Traceback (most recent call last): File "/home/pi/Desktop/FYProject/Main.py", line 171, in main() File...
5 Jul 2019 by MadMyche
Can't open lib 'SQL Server 11.0.5058': file not found (0)") The error says it all: PYODBC cannot find the Sql Server driver. Perhaps this article can help you get it installed/corrected: Connect to MSSQL using FreeTDS / ODBC in Python. · GitHub[^]
26 Aug 2016 by Brady Kelly
Ideally I could just use a flylead between the Ethernet ports on each device, but even then I think some - for me - heavyweight configuration would be necessary. Avoiding wiring between rooms is a very high priority, and my main ADSL WiFi router is in the lounge, and I want my Pi in my...
29 Dec 2016 by Sandeep S. Sandhu
I recommend you buy a Wifi dongle (e.g. Tenda) and plug it into one of the Raspberry Pi's USB ports. Configure your home Wifi on the raspberry (see Setting WiFi up via the command line for instructions). Then your Raspberry Pi will be able to access the internet, the same way your laptop can.
19 Jun 2019 by k5054
There's a lot of ways, depending on what the context is. If you want to pull it from the windows box, then perhaps look into samba: Samba: Set up a Raspberry Pi as a File Server for your local network - The MagPi MagazineThe MagPi Magazine[^]. Other options would be ftp or scp. Depending on...
24 Feb 2023 by Meharsyed
I am taking image using Raspberry pi and i want to transfer it to my PC for image processing but i dont have any idea how to do it. What I have tried: right now i havent did any thing
25 Jan 2018 by julia 31000
Hi, I am a beginner in raspberry pi , i would like to create a network composed of raspberry pi as extremeties(endpoints and root) and telos b as routers. What I have tried: I did this example Example 1: Hello 6LBR · cetic/6lbr Wiki · GitHub[^] so i have raspberry pi as root and telos b as...
25 Jan 2018 by Richard MacCutchan
Use Google to research samples and tutorials on raspberry pi.
1 Feb 2015 by Reuben Cabrera
can someone pls help me with the syntax. I need to use math.h for Pi but I do not understand how to use it. the net says a lot of things like saying use cmath but others say math.h they are also a few errors concering the syntax in the statememts under if and...
1 Feb 2015 by Sergey Alexandrovich Kryukov
It's acos(-1). :-)—SA
1 Feb 2015 by User 59241
To use the constant M_PI in c++ we must include the lines:#define _USE_MATH_DEFINES // for C++#include at the top of the file. See here:https://msdn.microsoft.com/en-us/library/4hwaceh6.aspx[^]So now we can use in this way:#define _USE_MATH_DEFINES#include...
22 Oct 2014 by Member 10390715
HelloI try to compare ID store in database mysql with ID read from reader RFID in python using Raspberry PI.If right ID -> ON ledHow can I compare it?Here is my code reader RFID: import serialimport RPi.GPIO as GPIOimport MySQLdbfrom binascii import hexlifyserial =...
22 Oct 2014 by George Jonsson
Well, I guess you start with getting the ID from your database.MySQL Python tutorial[^]Then it should be easy to compare the values. :)
10 May 2016 by violence666
helloi want to achieve a live streaming from my raspberry pi to windows PC via TCP/IP using raspivid and netcat. On the windows side, I want to display the live video stream using openCV.I have created a c++ based tcp/ip client model on the windows side (using VS2012) where it tries...
13 May 2016 by kumaresh Rajalingam
Tell the best service for data from sensor for to store on the cloud (Azure) using Raspberry pi2What I have tried:I coded in embedded part only I do no how could connect the Raspberry pi2 in Azure
13 May 2016 by Mike Hankey
There are many articles on how to do this, just googled and got several hits right off;Look at; Build an Azure App Service to record Raspberry Pi Sensor Data or Azure Insider : Connect Your IoT Device to the Cloud or even Use RPi, Azure, and Cortana to Automate your Home!
30 Apr 2016 by violence666
update:Since my initial question was very specific, i would like to start of with asking how do i inititate a simple bidirectional communication using tcp/ip?Hello,I want to receive H.264 video stream from a TCP/IP socket (without use of RTSP or other internet streaming protocols)...
30 Apr 2016 by leon de boer
The easiest way to start playing with this is grab telnet code its everywhere on the net in all flavours.Windows has both telnet server and client options standard you go to "install options" and you can choose either. You can therefore play with writing the client or server code and have...