Questions tagged [raspberrypi]

For questions about integrating the Arduino microcontroller with the single-board computer Raspberry Pi. Questions just about Raspberry Pi are off-topic but can be asked on Raspberry Pi Stack Exchange.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

Wiring power new power button to UPS power module for raspberry pi [closed]

I have a UPS Power Module Expansion Board for Raspberry Pi 3B/3B+(Plus) and removed the power button because it is in the way and would like to attach this read button instead. But it is not working, ...
-1
votes
1answer
35 views

FS100A works when Arduino connected to PC but not when connected to Raspberry Pi

I am building a simple circuit which monitors soil humidity in a flower pot. I was able to measure it and send it from one Arduino Nano to another Nano via FS100A transmitter and receiver and ...
0
votes
0answers
34 views

Unable to upload to Arduino Uno From Raspberry Pi

I am trying to upload code to my Arduino Uno from my Raspberry Pi 3B+ and have been following this guide. After following the instructions and trying to upload, I received this error message. pi@...
0
votes
0answers
29 views

Are there any transmission guarantees with the HC-06's bluetooth protocol?

I'm wanting to send serial data from multiple Arduinos to a Raspberry Pi using the HC-06 module. The connection will be delivering sensor data from the Arduino to the Pi for a smart home setup and it'...
0
votes
1answer
51 views

Error conecting raspberry with my arduino in a serial port [closed]

Hi i am trying to make a comunication between theses device but when i am trying to run in my raspberry i have the follow error: Traceback (most recent call last): File "serial.py", line 1, in ...
0
votes
1answer
56 views

How to start a dendrometry dimension build (Dimensions of Trees) for research?

I am looking to build a device that can measure the dendrometry fluctuations of trees (etc). I essentially want to build this https://publiclab.org/notes/kinasmith/09-09-2016/dendrometers to a t but I ...
1
vote
1answer
19 views

How does use an arduino like a A/D converter for convert 3 analogue signal from 3 poteciometer to a raspberry?

I am developing a control system in my raspberry, but i have the problem that it doesn't have any analogue port, so if i use an arduino to convert de signal from analogue to digital and after send ...
0
votes
1answer
25 views

Arduino Mega not recognized on Raspberry Pi 3b+

I'm developing an interactive LED table for an university assignment that is being controlled by an Arduino Mega2560 which gets the information about which LEDs should be lit in which colour from a ...
0
votes
1answer
47 views

Detect radio frequency keyfob [closed]

Would it be possible to detect when somebody closes/opens/uses their keyfob (based on radio frequency) ? It is of course not the intention to hack the key. Just knowing when somebody has pushed a ...
0
votes
0answers
56 views

NaN for reading from AM2302 from Arduino Uno

I want to read sensor values from 4x AM2302 to an Arduino UNO, and then pass those values for data logging to Raspberry Pi via Serial communication over USB cable. The sensors are installed at 4x ...
0
votes
0answers
29 views

Arduino Sensor Values to Raspberry Pi using NRF24

Im trying to send temperature sensor data through NRF24L01 to Raspberry Pi and read it in Raspberry Pi using python. But the temperature sensor data comes to the Raspberry Pi as letters, which I found ...
0
votes
2answers
74 views

How to get a list of IPs in a LAN using NodeMcu?

I'm going to create an IoT system. I use a Raspberry Pi as a MQTT broker and as a webserver. Every day, the Pi gets a new IP address, so I need to find its new IP address via ESP8266 to use this ...
0
votes
1answer
67 views

Send ECG signal with NRF24L01 from Arduino to Raspberry Pi 3

I'm using nRF24L01 to send ECG samples from an Arduino to Raspberry Pi, the type of sample is double after denoising, and I stock them in a byte[8] to send 8 by 8 sample. When I print the sample ...
0
votes
1answer
34 views

Run website / Javascript game from a Arduino UNO device?

I apologise if this is a dumb question, but I'm trying to find information on whether or not this is possible. I'd like to build a arcade machine to play my custom Javascript 2D game. The game ...
0
votes
0answers
59 views

Unintelligible data transmission from Arduino Mega 2560 to RPi using nRF24L01+

I have a Raspberry Pi 3 and an Arduino Mega 2560 both attached to their own nRF24L01 chip. This is my first time using the nRF24L01 chip, so I copied and modified some demonstration code that I saw ...
-1
votes
1answer
209 views

NPN sensor to Arduino

I have a beam sensor providing NPN and also PNP output. It as 4 wires and works on 24V. I hooked the brown(+) and blue(-) to a small 24V power supply and the sensor is working!!! Yeah! Now I would ...
0
votes
1answer
64 views

Method to iterate over the bits in a byte sent over serial [closed]

In my current project which integrates Arduino/avr IC with Raspberry-Pi, and each communicating via serial, I'm looking to send a byte of data to the Arduino from the RPi, which then would be iterated ...
0
votes
0answers
360 views

nRF24L01 communication with Arduino as transmitter and Raspberry Pi as receiver

here are the codes and i don't know why it does not communicate. The arduino should send some example data and the raspberry pi should simply receive the data. Transmitter code (Arduino) #include "...
0
votes
0answers
23 views

Programming Arduino to dynamically connect pairs of Gertboard I/O pins together

The "Gertboard" requires several link wires to be connected between Pi GPIO inputs and outputs before different python or 'c' programs are run on the Pi. What "Arduino" code could you suggest I might ...
1
vote
0answers
158 views

Arduino Modbus slave error

I am trying to use Arduino as Modbus- RTU slave and Raspberry Pi as a Modbus master I have interfaced Max485 (RS485 to TTL converter) with Arduino and Rs485 to USB converter in Raspberry Pi, Initially,...
2
votes
1answer
974 views

How to allow cross-domain requests on ESP8266WebServer

I am using a Raspberry Pi running Chrome (handling the user interface) and connecting via ajax to an Arduino D1 compatible using the IP address as follows: $.ajax({ type: "GET", ...
-1
votes
1answer
91 views

Getting at the PS_ON pin on a RAMPS1.4 mounted to a Mega

Got it! Check end of post for solution. I'm running a Mega 2560 with a RAMPS 1.4 Shield which is usually used for 3D printing applications. For my use case I only want to get at the stepper motor ...
1
vote
3answers
552 views

Is arduino a single board computer? [closed]

First excuse me if tags are not reflecting the content, While watching a video about single board computer (SBC) I got confused that it doesn't mention arduino as SBC. I always considered it as SBC. ...
0
votes
3answers
77 views

Deploying an Arduino Uno R3 standalone [closed]

I have an Uno R3 with a sensor board and a temperature sensor. I'm running a simple temperature check and would like to store that data outside the Ardunio for keeping records, graphs, etc. I powered ...
0
votes
1answer
737 views

Using Waveshare Raspberry Pi TFT LCD with Arduino Uno

I have a 3.5 inch Waveshare Raspberry Pi TFT LCD which uses the XPT2046 Touch Controller. I want to use this LCD screen with my Arduino Uno. I originally believed something like this was impossible, ...
2
votes
1answer
336 views

How to connect an Elegoo Nano to a Raspberry Pi and program it?

I own an several Elegoo Nanos and a Raspberry Pi. I would like to connect an Elegoo Nano to the Pi and upload nanpy onto the board and control it's GPIO pins. I have plugged the nano into the Pi and ...
2
votes
1answer
2k views

Install Arduino IDE in Raspberry Pi 3 model B

I am trying to install Arduino IDE in my Raspberry Pi model 3 but it is unable to locate file path. I use the following steps sudo apt-get update && sudo apt-get install arduino and in ...
0
votes
1answer
267 views

How do I make Arduino IDE use a specific version of GCC in Debian?

Using Raspbian Stretch. I installed gcc-4.9 with specified version. Then I installed arduino (2.1.0.5) which in turn pulled gcc 4.6. When I try to compile Marlin in it, it says Marlin requires C++...
0
votes
0answers
34 views

Arduino reading string sent from Rpi multiple times

1.Reading strings sent from Arduino on RPI Below you can see that I am communicating between a rpi and arduino serially. I am sending "start", then move_played to the rpi. The readline() reads until ...
1
vote
2answers
1k views

MQTT over serial

I'm planning to build a 32 relay IOT node next to my Raspberry Pi. The relays will be controlled by an Arduino Mega 2560. The Pi will run Home Assistant and Mosquitto so I would prefer to communicate ...
0
votes
0answers
90 views

Arduno as bridge between two i2c masters

so I am gonna just jump right into the topic. Recently, I have been trying to build a project where I need to connect an ev3 to a raspberry pi. I have decided doing it by i2c after reading (and ...
0
votes
1answer
107 views

Arduino or Raspberry? Self Balancing robot

Here's another one, as you probably have seen before. I'm finishing college, and I'd like, base of my subscription to be a self balancing robot that can send data to a screen. What kind of data? I am ...
0
votes
1answer
722 views

How to configure location of preferences

I had been using Arduino 1.0.5 on my Pi, and in September last year downloaded arduino-1.8.4-linux32.tar.xz (which I have since updated). I have been successfully using 1.8.5, but just noticed it ...
1
vote
1answer
129 views

Why do you need to shift bits when reading from an analog sensor? [closed]

I was playing around with some analog grove sensors and looking at examples (https://github.com/DexterInd/GrovePi/blob/master/Software/Go/grovepi/grovepi.go - this specific example is in go and for ...
1
vote
1answer
95 views

Arduino - Raspberry Pi serial communication

I need to connect a Raspberry Pi and an Arduino Uno through serial communication and decided to follow this guide, which mentions the use of a voltage divider. I understand the connection to the ...
0
votes
1answer
204 views

Unable to get Arduino Ethernet Shield IP address connected to Raspberry

My Arduino Uno with Ethernet Shield is connected to a Raspberry (rasp1) and the Ethernet Shield is connected to another Raspberry (rasp2) by Ethernet cable; rasp2 has a private IP address (192.168.10....
1
vote
1answer
138 views

How to work with analog readings using RPi and Firmata?

For context: I'm working on a whose goal is to sense the environment. This process is done using an Arduino Uno and an RPi. The easiest way that I found to perform communication between both boards is ...
2
votes
1answer
266 views

Arduino --> RPI I2C issue

ok, I feel like this should be simple, but I am at a loss Simple code mock up to send 4 bytes(mimicking a float) over I2C from Arduino to rpi. I am trying to create a state machine so that I can ...
0
votes
1answer
2k views

Receive data using ESP8266

I have connected ESP8266 to my Raspberry Pi's WiFi network and assigned a static IP. My Arduino code #include "SoftwareSerial.h" String ssid = "Rpi"; String password = "raspberry"; SoftwareSerial ...
-3
votes
2answers
221 views

Why would anyone use Arduino in 2017? [closed]

Sorry for clickbait question but it really bugs me why Arduino is still a thing in the age of ARM based boards like Pine64, Raspberry Pi, Bannana Pi, Whatever Pi etc. I'm more or less aware of ...
7
votes
5answers
1k views

When Raspberry Pi is preferred over Arduino

We are doing some projects in class. One of my friends is doing a weather and humidity station using raspberry Pi with a couple of sensors and LCD. I have a little experience in Arduino. So I asked ...
0
votes
0answers
66 views

Compiling SRAM intensive code from Raspberry Pi 3

I am using an Arduino Uno R3 to control my Christmas lights (a strand of 665 WS2812B LEDs). I am using the Pololu library that can be found here: https://github.com/pololu/pololu-led-strip-arduino ...
0
votes
1answer
365 views

Getting wrong values from serial.read() connected to a Raspberry Pi

I set up a serial connection and sending integers from a Raspberry Pi to an Arduino. This is the Python code in my Raspberry Pi: import serial ser = serial.Serial('/dev/ttyACM2', 9600) ser.write(str(...
0
votes
0answers
276 views

Arduino SPI and I2C Combo [duplicate]

We are trying to communicate between 2 Arduino's (1 Nano and 1 Mega) and a Raspberry Pi. This communication works till we add an SPI Connection to our RFID Scanner (RC522). We ran into the problem ...
1
vote
2answers
3k views

Arduino I2C communication between Raspberry Pi

We are trying to communicate between multiple Arduino's (in this example a Nano and a Mega) and a Raspberry Pi. The Raspberry pi is defined as master and the Arduino's as slaves. We would also like ...
1
vote
2answers
1k views

Arduino & RPi communication via GPIO [closed]

so I'm working on communication between arduino and RPi via GPIO pin. It's basically connecting them by using a cable jumper. So I have a 2 channel relay shield attached to my arduino, and I've been ...
0
votes
0answers
545 views

Sending and receiving data using 433 Mhz from Arduino to Arduino

Following this tutorial: https://tutorials-raspberrypi.com/let-raspberry-pis-communicate-with-each-other-per-433mhz-wireless-signals/ I was able to easily send code from one Raspberry Pi Zero to ...
0
votes
1answer
474 views

Arduino UNO vs NANO or MICRO with RPi3

I'm currently using an Arduino UNO with a raspberry pi 3b. I'm using the USB connector for both power and comms, i.e. the arduino is powered by the RPI via the USB cable, and also i use the same cable ...
-1
votes
1answer
304 views

Unable to open arduino on raspberry pi3

Exception in thread "main" java.lang.ExceptionInInitializerError at processing.app.Preferences.save(Preferences.java:735) at processing.app.Preferences.init(Preferences.java:249) ...
1
vote
2answers
467 views

Differences between Arduino IDE versions

I run Arduino IDE on both my Mac and under Raspbian on a Raspberry Pi, both running the latest version of OS. The Raspberry Pi has Arduino 2:1.0.5+dfsg2-4.1 and I am running the latest 1.8.4 on macOS....