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
2
answers
209
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
votes
1
answer
63
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 ...
2
votes
1
answer
185
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
1
answer
60
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
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
vote
0
answers
164
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
vote
1
answer
132
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
0
answers
318
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
108
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 ...
0
votes
0
answers
187
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 ...
-1
votes
1
answer
1k
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
537
views
How to decode struct data sent from an Arduino via NRF24L01? [closed]
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 ...
1
vote
0
answers
338
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
408
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
vote
3
answers
4k
views
Python script stops mysteriously after a few hours
The Problem
I have a raspberry pi 3b+ running a python 3.7 script that is controlling an arduino. The arduino is reading values in from a few different sensors, and sending the data back to the python ...
0
votes
1
answer
2k
views
Minicom not working
I am trying to connect my Pi 4 running Rasbian 2020 to an Arduino, after making all the connections I try to communicate with the Arduino by using Minicom. However, Minicom doe not respond to anything ...
0
votes
1
answer
287
views
Using I2C with MMC34160PJ magnetometer
I'm trying to read data from the MMC34160PJ magnetometer using the Raspberry Pi 4. However, I'm pretty stuck as to how I can do it as there's seemingly no example code or library for it. I have been ...
-1
votes
1
answer
560
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....
0
votes
0
answers
1k
views
Slow write speeds to Rasberry Pi Pico flash using LittleFileSystem/LittleFS
I have a Sparkfun Things Plus RP2040 with 16MB of onboard flash. I am trying to write a program which uses the flash as a buffer (let's say to store 5MB of data) before writing to an SD card. The idea ...
0
votes
0
answers
46
views
Slow serial encoding between Pi4 and Arduino for object tracking
I have been working on a project that involved in Object tracking. I have been using the OpenCV and mobilenetSSD_v2 as my model with a google coral, the video itself has a bit of delay but it's still ...
0
votes
2
answers
217
views
Can I connect a Raspberry Pi 4B to an Arduino Power Supply Module? And if so, how?
simulate this circuit – Schematic created using CircuitLab
I am trying to use an Arduino Power Supply Module to provide enough power to allow at least 5V and 10 mA through to an external supply. ...
0
votes
0
answers
180
views
How to send a string from RaspberryPi to Arduino via serial interface?
I want my HomeAssistant being able to send out RF433. HomeAssistant is hosted on RaspberryPi while the RF433-module is on ArduinoNano.
I am referencing this article with some modification.
How to send ...
0
votes
1
answer
59
views
Check on Rasperry Pi what is connected to Arduino Uno
i have a question regarding Rasperry Pi and Arduino. I have them connected via USB and on the Arduino is a NFC Reader connected(via Pins). Can I look on the Rasperry Pi with a command or something ...
1
vote
1
answer
135
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 ...