Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
20 votes

Is there a big jump between prototyping on a Pi, and using a microcontroller?

It depends on what you're trying to do. The biggest gap is that a microcontroller you mentioned (such as Arduino) does not run a multitasking operating system such as Linux. This means if your ...
user avatar
  • 456
19 votes
Accepted

What are the best security practices to secure a remote IoT camera?

PuTTY is actually quite secure - the session itself is encrypted. That's part of what SSH gives you "out of the box". I do a lot of this type of thing myself, and here are a few hit-points I would ...
user avatar
  • 782
15 votes
Accepted

In IoT, Is it necessary to involve single-boards such as Raspberry Pi as the only communication devices?

The device itself isn't really particularly important here. While the boundaries between 'IoT' and just a normal network connection are a bit fuzzy around the edges, the general consensus is that the ...
user avatar
14 votes
Accepted

Are there any IoT devices with fully open source hardware?

The Postscapes IoT Hardware Guidebook lists quite a few: BeagleBone C.H.I.P. Dragino Espruino Flutter Hologram Dash Kinoma Libelium Waspmote Marvin Modulo Particle Seeeduino Cloud SODAQ Autonomo ...
user avatar
14 votes

What are the best security practices to secure a remote IoT camera?

The other answers cover a lot of the technologies that you can use to protect your system. Here are some more general thoughts/philosophies. A DMZ is your friend - In almost every case where you have ...
user avatar
  • 409
13 votes
Accepted

Which IoT platform should I use for low-energy temperature sensors to be powered by battery?

ESP8266 can be a very good candidate for your project. For increasing the battery life with ESP8226 you can follow this Open Home Automation article. Ways to save power save highlighted by this ...
user avatar
  • 2,560
13 votes
Accepted

Would RPI 3 serve as IoT server with MQTT?

A Raspberry Pi 3 is a pretty serious bit of kit when you think about it Quad core Arm Cortex 1gb of RAM a onboard GPU That is a huge amount of memory, easily more than enough to run a MQTT broker ...
user avatar
  • 11.9k
12 votes
Accepted

Is there a big jump between prototyping on a Pi, and using a microcontroller?

Adding to George's comprehensive answer and point 2) hardware support. Even if the desired hardware (e.g. ethernet, WiFi, SD card) is added to the microcontroller/Arduino via shields or similar ...
user avatar
  • 2,419
11 votes

How to efficiently control my dumb TV via Alexa?

Your approach seems to be the best you can do, since the models you've listed don't support any sort of integration with Alexa (and I think it would be infeasible to modify the TV/cinema system ...
user avatar
11 votes

Good microphone for whole room (without Internet)

The Google Home and Amazon Echo use microphone arrays to enhance 'far-field recognition' (i.e. recognising your voice from a reasonable distance with good accuracy). The Echo uses a 7-microphone ...
user avatar
11 votes

mosquitto_sub: command not found

The solution is to install mosquitto-clients as well. pi@raspberrypi:/ $ apt-get install mosquitto-clients Reading package lists... Done Building dependency tree Reading state information... Done ...
user avatar
  • 291
10 votes
Accepted

mosquitto_sub "connection refused" on Arch Linux

Turns out there is no broker running on the Arch system whereas installing mosquitto on Raspbian automatically starts it. Simply enable and start the broker. Start the systemd service. systemctl ...
user avatar
  • 2,419
10 votes
Accepted

Securing 433 MHz wall light switch

Yes, you can significantly improve the security of pretty much any low level protocol using software - but any home-brew solution is always likely to have some flaws. You need to consider at least 3 ...
user avatar
10 votes
Accepted

How to protect Raspberry Pi from attack in an IoT setup connected through a Broadband network?

The question 'Securing small home automation setup' provides a useful reference for general security tips, but there are also some specific steps you should follow to keep your Raspberry Pi secure. ...
user avatar
9 votes
Accepted

How to Enhance the Voice Recognition on Raspberry Pi controlling Smart Home Devices

You could try Raspberry Pi with .NET Core. Microsoft has published decent automation libraries, including speech recognition. This is of course more hands-on, but combine it with other sensors and ...
user avatar
  • 1,787
9 votes
Accepted

Confused about which technology to use in Smart Home System

Push vs Poll Your proposed solution of sending frequent AJAX requests sounds a lot like polling - you're sending a request every so often to check if the state has changed. It would make far more ...
user avatar
9 votes

Power reduction for Raspberry Pi GPS/GSM tracker

I'll assume that the processing requirements on the device are near enough zero. It sounds like you're using some acceleration input to determine how often to wake up the GSM device. Ideally, you ...
user avatar
9 votes

Is there a big jump between prototyping on a Pi, and using a microcontroller?

YES, it is a big jump from programming in Python to programming using the typical C-based language tools on micro-controller. In fact, in many cases you may need to write some, if not all, of your ...
user avatar
9 votes

Is there a big jump between prototyping on a Pi, and using a microcontroller?

Yes, big difference The difference is like day and night, both in regards to hardware and software. No valid comparison at all. When to use which Use an Arduino, if... Space constraints make a Pi ...
user avatar
  • 191
8 votes
Accepted

Mosquitto on Raspberry Pi refuses connection after changing log settings

One way to debug this would be to run mosquitto manually with the same options as your init system is using, then look at the output. For example: mosquitto -v -c <path to config file> Adding -...
user avatar
  • 830
8 votes

Has anyone designed a custom IoT wall switch?

The lightwaveRF lighting protocol is simple OOK at 433 Mhz, I think. It's documented, so you could use them. Maybe a little bit more expensive than other options though. Here is an Arduino/Raspberry ...
user avatar
8 votes
Accepted

Communication Between Server and Raspberry Pi

It is said already in other answers that you should use MQTT in your case. But why? MQTT is The Protocol if your things are behind a firewall in a private network [1]. All tricks are an outbound rule ...
user avatar
  • 4,301
8 votes

Good microphone for whole room (without Internet)

Aurora0001's great answer got me doing some more research and I found some really good information on a lot of mic arrays, including benchmarks. Seeed ReSpeaker Mic Array Conexant 4-Mic Development ...
user avatar
  • 391
7 votes

Are there any IoT devices with fully open source hardware?

I can strongly recommend the particle products! Official website They are all open source (Hardware and Software) and there is a great community. They offer the particle photon which is a wifi ...
user avatar
7 votes
Accepted

Why does Docker reduce power usage on an Internet of Things device in this benchmark?

After some further investigation, I think the issue in the question is that although the power (rate of energy transfer) was reduced, the overall energy consumption was increased by using Docker, so ...
user avatar
7 votes

How to connect "io-homecontrol" skylights to a Raspberry Pi?

You must have an RF interface to communicate with your skylights and unless you are an official partner I doubt that you can obtain all necessary information to build one specially for the Pi. Also ...
user avatar
7 votes

Securing 433 MHz wall light switch

I think something to consider is the following: Can someone send information over the 433 MHz freq to the Raspberry Pi? What information can be sent? Is there a vulnerability in the application that ...
user avatar
  • 171
7 votes

Easy to use bidirectional people counter for one location

Anything that involves a direction is going to require at least two sensors. I implemented something like this a while ago but we had the advantage of UHF RFID cards. We had employees with the RFID ...
user avatar
  • 171
7 votes

Is there a big jump between prototyping on a Pi, and using a microcontroller?

I believe there are a few points that haven't been specified explicitly yet. The development environment is completely different. You can actually develop Pi software ON the Pi—you can even use a ...
user avatar
  • 171
7 votes
Accepted

Raspberry Pi to send sensor's data to server continuously and receive commands from server

Ok here goes Install MQTT on your Raspberry Pi Look if it is already running on your Rpi linux flavor or install it Expose your MQTT port Look at which port MQTT is installed and open this port ...
user avatar
  • 3,636

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