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.
416 questions
2
votes
1
answer
120
views
Unexpected characters at serial port opening (Arduino Mega to Raspberry Pi via TTL-232R)
I'm using an Arduino Mega to send data via serial communication to a Raspberry Pi 5. The connection is made through a TTL-232R cable (TTL serial on the Arduino side, USB on the Raspberry Pi side). On ...
0
votes
1
answer
107
views
Communicate with Arduino over SPI
I want send data to/from Arduino Leonardo over SPI using wiringPi/pi4j on Raspberry, using custom GPIO as CS. Raspberry is supposed to be the master, and Arduino slave
First my setup:
Raspberry Pi 3B
...
0
votes
2
answers
185
views
3.3V PWM cannot control MG996R servos?
I have a 6V 7200mah battery connected to 12 MG996R servos. I'm trying to control just 1 servo for now with the Raspberry PI 4 B+. The battery and RPI share a common ground. I've connected the SIG of ...
1
vote
0
answers
190
views
Changing SPI mode from multi to single on Raspberry Pi 5
I'm trying to connect my Raspberry Pi 5 to Arduino via SPI inteface.
As a reference, I've used connection scheme and code from this manual on penguintutor and it worked like a charm.
But in my project ...
0
votes
1
answer
61
views
Receiving String Data From Secondary Arduino on Main Raspberry PI I2C
I am working on a project where I'm trying to implement 14 RDM630 RFID sensors that will send any recorded RFID tags to the Main RPi. Unfortunately, these sensors use RS232 communication, and it seems ...
0
votes
0
answers
184
views
Ubuntu 22.04 on Raspberry Pi 4B can't connect to teensy 4.1 via USB
I have been trying to connect my Teensy 4.1 to a RaspberryPi 4B running Ubuntu 22.04 via USB, but no USB device is identified.
Programming and serial communication works fine with THAT Teensy and THAT ...
2
votes
1
answer
177
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, ...
0
votes
0
answers
143
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"]...
0
votes
1
answer
59
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 ...
1
vote
1
answer
264
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
49
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 ...
-1
votes
1
answer
137
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 ...
1
vote
0
answers
162
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 ...
2
votes
1
answer
764
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
131
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....