Questions tagged [arduino]

For questions pertaining to the Arduino microcontroller and it's integration with Raspberry Pi projects. Questions about Arduino only are off-topic and can be asked at Arduino Stack Exchange.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

I want to use NRF24L01 transceiver with raspberry pi but some GPIO pins are already occupied by 3.5 inch display how do i connect transceiver

26 GPIO pins are already used by 3.5 inch display some of these occupied pins are needed to connect transceiver. I am using NRF24L01 for wireless communication between raspberryPi and arduino can i ...
3 votes
1 answer
2k views

Raspberry Pi 3 & Arduino: [bluetooth.btcommon.BluetoothError: (112, 'Host is down')]

I am trying to send informations from Raspberry Pi 3 to Arduino Uno with bluetooth. I managed to connect the Arduino's bluetooth module with the Raspberry Pi. But I have this error when I execute my ...
2 votes
1 answer
2k views

Raspberry Pi 3, bluetooth is not getting connected with HM-10 bluetooth module

I currently have a Raspberry Pi 3 with built-in bluetooth and some of my work specification require to connect it with HM-10 bluetooth module but I am unable to do so. I have tried various methods ...
1 vote
4 answers
697 views

Rpi3B+ ssh session drops randomly

I have a Raspberry Pi 3 Model B Plus Rev 1.3 in my Ethernet network that runs headless with octoprint and an arduino pro mini connected to it via i2c. Wifi is disabled. The Rpi is powered from an ...
0 votes
1 answer
1k views

Problem with i2c communication between arduino and raspberrypi

I have connected Rpi with Arduino using i2c communication. Pin Configuration: Rpi ---- Arduino Mega SDA SDA SCL SCL GND GND I also have an encoder attached to Rpi. Encoder `------ Rpi 5V 5V Gnd Gnd ...
1 vote
1 answer
364 views

How to decode struct data sent from an Arduino via NRF24L01?

So basically I'm sending this struct data from my Arduino to my RPi, both fitted with an NRF24L01 module. Library on the Arduino is tmrh20, and on the RPi, BLavery. struct values{ char ...
0 votes
1 answer
321 views

How to connect Raspberry PI 3 B to two Bluetooth modules or more using Linux Commands

I'm working on a project; that needs to send data from the two Arduinos using two Bluetooth Module (One using HC-06 and the other using HC-05) to Raspberry PI 3 B; so that the RPi 3 need to connect to ...
2 votes
1 answer
28 views

What to set PICOHTTPS_CA_ROOT_CERT in picohttps example in RPi Pico C - SDK

I'm trying to make a request to an ip using RPi pico w, using the picohttps example provided in here. Now for that we have 3 needed parameters in picohttps.h file - SSID, SSID_Password, ...
1 vote
1 answer
72 views

Obtaining a constant audio signal independent to volume

Sorry if this is a silly question but Is there a way to have an independent gain audio signal from a Raspberry Pi that does not vary with the software volume control? I am trying to get a constant ...
3 votes
1 answer
752 views

RFM69HCW with Raspberry as gateway for wsn

Good day, I am making a wireless sensor network prototype using communication technology, the RFM69HCW module [3]. I use an Arduino nano for the processing unit for the sensor nodes, and for ...
1 vote
1 answer
152 views

Raspberry pi + L298 H bridge motor speed reduced when battery circuit shows 50%

I made a raspberry pi car. The pi is powered by two 18650 (Breewell New Multipurpose Flat Top 18650 Battery 2000 mAh 3.7 Volt Lithium Genuine Rechargeable Battery -Pack of 2 https://www.amazon.in/dp/...
0 votes
0 answers
30 views

Timeout Issues in PySerial. Arduino randomly starts timing out

from get_connected_arduinos import get_arduinos serial_devices = [] def initialize(serial_device): print("initializing", serial_device) try: serial_device["serial"...
-1 votes
1 answer
29 views

Is it ok to usb micro male - micro male for USB device?

I am hooking up an arduino micro to my Pi Zero W. For space, I used a short micro male-male USB cable: https://www.amazon.ca/CableCreation-Micro-Kindle-Android-Tablet/dp/B01M5GZ3N0 When I use this on ...
0 votes
1 answer
737 views

Connecting MCP2515 with raspi

I am trying to connect mcp2515 can bus module with raspi 4b. On using pi@piv2:~ $ sudo ip link set can0 up type can bitrate 125000 the terminal freezes so i downgraded my terminal to 5.4.61-v7l ,t ...
0 votes
1 answer
31 views

Will a DS18B20 Adapter Module for Arduino work on Raspberry Pi 4B?

I am new to electronics and the basics are rather beyond me. Excuse me if I ask a simple question. I understand that usually, Arduino adapters are not compatible with Raspberry Pi, but this looks like ...
0 votes
2 answers
488 views

Control Raspberry Pi to control an Arduino over Apache

I want to control a Raspberry pi to control an arduino which is controlled by a webpage hosted by apache. I do not know how I would attempt this and if it is even possible. Can anyone please guide me ...
1 vote
1 answer
324 views

Delay/Lag when controlling motors with arduino from raspberry pi

I'm making a car-type-thingy where I control motors connected to an arduino with a raspberry pi via serial communication. I'm using the adafruit motor shield to control the motors. I want to control ...
2 votes
1 answer
1k views

Use Raspberry and Arduino IDE to program ESP8266 remotely

I currently use Arduino IDE to generate binaries for ESP8266. Afterwards I copy the binaries with SFTP to my Raspberry Pi and flash the binaries using esptool.py. These are lots of steps I need to do ...
5 votes
1 answer
235 views

Problem sending analog read values over serial

Ok I apologize as I have edited this quite a bit, but I have narrowed down the problem a bit more. For some reason I can't transfer values from my arduino analog pins?? I am trying to send values ...
0 votes
0 answers
16 views

Connecting two or more arduino boards to a single Pi board

I was wondering what are the pin configurations/connections and scripting to connect more than 1 arduino to a single raspberry Pi board via serial connection.
0 votes
1 answer
940 views

Connecting Raspberry Pi GPIO UART to Arduino USB

I use a third-party modified Arduino that has the correct voltages and current limitations to control my robot. I additionally want to connect a Raspberry Pi Zero W to the Arduino that is evaluating a ...
0 votes
1 answer
1k views

BLE data receive and send from Arduino HC08 to Paspberry Pi

I have noticed that there are lots of topics about classic Bluetooth connect to Arduino and send data to Raspberry Pi by creating virtual port (using rfcomm) I have tried this method for BLE Device. ...
-1 votes
1 answer
2k views

Error occurred: Please Check "Store archive output"

I am trying to download and install the Arduino IDE on the Raspberry Pi 3 Model B Vol 2. I have followed the tutorials and attempted to download the Arduino 32 arm bit tar file on the pi. I am ...
1 vote
1 answer
96 views

Need Help with nRF905 Transceiver Module on Raspberry Pi Zero

I recently bought a nRF905 Transceiver Module from Jaycar and am wondering how to use it. It is meant for an Arduino and I have found some libraries for it (nRF905 Library For Arduino - GitHub) I need ...
-1 votes
1 answer
51 views

Connect Raspberry Pi 4 GPIO output pins to Arduino Uno

I want my Raspberry Pi4 to give 4 unique outputs, not necessarily at the same time, which will be four different inputs to the Arduino Uno. I want to know how to proceed as I think by connecting them ...
0 votes
0 answers
24 views

COM disconnects and program fails when including code trying to initialize SD card (RP2040 Pi Pico W running Arduino)

I'm having an issue where anytime I run a program such as the SD card read write example (Below) the COM port disconnects. The only changes I have made to the example code is I am using SPI1 instead ...
-1 votes
1 answer
117 views

PiCan 2 Data Logging on higher frequency problem

I have a project that logs data from a vechicle's OBD 2 port (using PiCan2 on top of RPi3B) and combines that data with data from sensors connected to an external Arduino. The Arduino communicates ...
1 vote
0 answers
80 views

Transmitting Serial data via Wi-Fi from Raspberry Pi to Wi-Fi Module

I previously built two separate projects for sending/receiving data between an Arduino and a Raspberry Pi 3. One transmitted via Bluetooth (HC-05 Module on the Arduino-side to the built-in BT module ...
-1 votes
1 answer
509 views

Using Run Pin for Startup on pi zero w and v2

I'm planning on running a pi zero 2 connected to an arduino over uart for a personal project, but I'm using a pcb and I want to power it on and off without using any cables. My current plan is to ...
1 vote
1 answer
86 views

How to use 433 RF codes to start actions on Rpi

My setup is: Arduino with 433 cheap transmitter module, photodiode and a laser and 433 receiver connected to Rpi, button. I've used rpi-rf lib to receive codes. I'm trying to make stopwatch that when ...
0 votes
1 answer
80 views

Arduino Prototyping components - holding them together

Right now I have a breadboard with couple of LED lights, arduino uno and ping ultra sonic sensor. I want to just keep everything together while I prototype to have the flexibility to add more ...
-1 votes
1 answer
397 views

How to upload hex file to Arduino via Raspberry Pi?

I want to upload hex file from Raspberry Pi to Arduino connected via USB. I am using avrdude but I fail. pi@raspberrypi:~/test $ ls beeop led_test.ino.hex As it can be seen I have this led_test.ino....
2 votes
1 answer
454 views

Pico Arduino DS18B20 OneWire

I am failing to read a DS18B20 with a RaspberryPi Pico programmed with Arduino. I found several examples using MicroPython, however I want to do it with Arduino using the 'Raspberry Pi Pico/RP2040' ...
1 vote
1 answer
76 views

Pin state doesn't change, but wait_for_edge triggers

I've been trying to figure out why the GPIO value will not change. I double check, triple check my connections. I used GPIO.wait_for_edge(pin, GPIO.RISING) and it executed and when I ran print(GPIO....
1 vote
3 answers
225 views

How to connect Arduino to Raspberry through USB-TTL (called like this in electronics shops)?

I want to connect an Arduino to Raspberry Pi through a USB-TTL converter like this one: My doubt would be about logic voltage. I know that Arduino works with 5V logic, while Raspberry Pi does with 3....
1 vote
2 answers
168 views

Problems with I2C communication

Hi I am attempting to test I2C comms between an pi model 4B and teensy 4.1 (running code uploaded from the arduino IDE via usb). While I can read from the slave with a python script if the arduino ...
1 vote
0 answers
223 views

Cannot locate the raspeberry pi pico on my computer (`UF2_Board ` instead of `/dev/cu.usbserial-0001`)

I want to connect to upload code on my raspberry-pi-pico but my computer does not recognize it. When using the arduino cli it seems to be recognized under the UF2_Board instead of the classical /dev/...
0 votes
1 answer
247 views

Wireless transmission multiple Arduinos to Raspberry Pi

I am fairly new to this, having worked only a bit with Arduinos. I would like to know if it would be possible to connect multiple Arduinos to a raspberry, just to transmit a signal. Description: A ...
0 votes
1 answer
60 views

Backpowering from Arduino on USB

I have connected an Arduino MEGA2560 with the Raspberry Pi B+ V1.2 via USB The idea is to use the Raspberry Pi as gateway to remote flash the Arduino. So I switch on the Arduino and the Arduino ...
2 votes
0 answers
366 views

LoRa Communication: Sending and Receiving Data with Raspberry Pi Receiver from Arduino Transceiver (RYLR896)

I'm using two RYLR896 Modules to setup a LoRa network. I'm using an Arduino Nano as my Transceiver and a Raspberry Pi 3B+ as my Receiver. While this verbage is currently accurate, this is intended to ...
0 votes
0 answers
95 views

How to mimic RC signals using raspberry pi?

I am working on an automated Quadcopter and I am trying to build a flight controller using Arduino board and raspberry pi. I don't want to use a transmitter and receiver in this project instead wants ...
0 votes
2 answers
191 views

Raspberry Pi and bscXfer/bsc_xfer not reliably passing data between Arduino Master

Data passed between a Raspberry Pi, configured as an I2C slave device, is not reliably transmitting between an Arduino I2C bus master device. Data is consistently getting lost, and slave responses are ...
2 votes
3 answers
3k views

RPi to Arduino I2C block_data read fails with "Errno 121, Remote I/O error" (Python3)

Folks, I cringe to bring this up as it has been discussed frequently, but I am at a loss. Background: I have a Raspberry project with about 3000 lines of Python3 code and want to add a wireless ...
13 votes
4 answers
27k views

Meaning of cmd param in write_i2c_block_data

I am testing i2c communication between Pi and Arduino. The doc says: write_i2c_block_data(addr,cmd,vals) Block Write transaction. int addr,char cmd,long[] None I have this test: On Pi: ...
1 vote
1 answer
571 views

Connecting an Arduino Nano to a Raspberry Pi using Serial Cable on an a Pi 3B+ or Zero W

I wanted to connect an Arduino Nano to either my Pi 3B+ or my Zero W, preferably my Zero. When I connected my Nano to my Pi Zero and ran a simple script with the Python 3 serial library, it didn't ...
2 votes
3 answers
3k views

Serial communication slowly failing with Arduino and Pyserial

I'm using PySerial to communicate with an Arduino Uno from a Pi. A Python script writes a short message to "ping" the Arduino once a second, and the Arduino writes a short message to respond. This ...
0 votes
0 answers
109 views

RPi Pico + Arduino IDE: Compiler generates FPU instructions for a device without an FPU

I've bought a SSD1306-compatible display for my Raspberry Pi Pico. However, it uses some kind of non-standard encoding and the typical Adafruit libraries don't work. The seller says I should use the ...
0 votes
0 answers
141 views

I2C sending data from arduino to python gives gibberish data

It's my first time working with SMBUS and I've read the docs of arduino and the Wire object. It states that I can send a string. To quote the docs: string: a string to send as a series of bytes. https:...
1 vote
0 answers
224 views

Arduino-Pico RF433 Rf-Tx cheap modules

I currently use Arduino IDE to program Raspberry Pico, using this as reference. Arduino-pico Github My intention, is to use RadioHead library which is not available in MicroPython, to send and receive ...
0 votes
2 answers
284 views

Can a program be stored in flash memory on raspberry pi and run without a monitor and internet connection like on an Arduino?

Sorry if this is a stupid question, but I'm new to Pi and Arduino, and couldn't really find an answer through Googling. I'm designing a project that needs some sort of "brain" which will use ...

1
2 3 4 5
9