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.

The Raspberry Pi is a series of credit card–sized single-board computers developed in England, United Kingdom by the Raspberry Pi Foundation with the intent to promote the teaching of basic computer science in schools and developing countries.

If you have a question about Raspberry Pi only, visit our sister site Raspberry Pi Stack Exchange.

152 questions
8
votes
4 answers

Access serial monitor on linux cli? Using arduino-cli?

I have an Arduino Uno connected via USB to a Raspberry Pi. The Raspberry Pi is accessible via SSH only. Just started a bit with arduino-cli. I upload a sketch which reads my analog pins. How can I access the serial monitor to get the data?
groovehunter
  • 189
  • 1
  • 1
  • 4
8
votes
5 answers

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 her, why doesn't she do it using an Arduino? She…
Meenie Leis
  • 203
  • 2
  • 7
7
votes
3 answers

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", url: "http://10.1.1.100/myfunc?id=5", …
Chiwda
  • 252
  • 1
  • 3
  • 11
6
votes
1 answer

How to install Arduino IDE on Raspberry Pi

How do you install the Arduino IDE on the Raspberry Pi running an ARM version of Ubuntu or Raspbian? There doesn't seem to be any official ARM release. Both distros have an "arduino" package in their standard repos, but it only includes an ancient…
Cerin
  • 1,688
  • 2
  • 28
  • 45
5
votes
3 answers

Arduino Core for the Raspberry Pi Pico

I recently bought a Raspberry Pi Pico to play with, and am attempting to upload my first program to it the Arduino way, as my own operating system rather than a c++ program over an existing operating system (meaning to replace the built-in Raspberry…
nerdguy
  • 63
  • 6
5
votes
2 answers

Which tft works on both Arduino Uno and Raspberry pi

Ideally I'd like a 2.8 inch and it to be touch screen. But most of all I'd rather it work on both boards without much hassle.
Sean Bradley
  • 151
  • 4
3
votes
0 answers

nRF24L01+ problem with receiving response

I'm sending currently data from a Raspberry to an Arduino, but I have a problem with receiving response from the Arduino back to the Raspberry: Sent the message: ['H', 'i', '.', '.', 'A', 'r', 'd', 'u', 'i', 'n', 'o', ' ', 'U', 'N', 'O', 0, 0, 0,…
NezumiRyu
  • 31
  • 4
3
votes
2 answers

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 with the arduino using MQTT. The Arduino and the…
pvoj
  • 193
  • 1
  • 5
3
votes
1 answer

Arduino USB and 9V

I'm working on a project for interfacing the Arduino with the Raspberry Pi. I need to be able to exchange serial data between the two using the USB port. My question is, can I do that while having the Arduino powered, by using a 9 V battery…
user35288
  • 33
  • 2
  • 4
3
votes
2 answers

Rounding up and Down

My arduino is meisuring the tempature and gives values like: 28.58 Degrees Celcius. I would like to round this up to one decimal. I could make the variable one shorter by cutting the "8" off which would desplay 28.5. Yet this feels a bit like…
Anton van der Wel
  • 215
  • 1
  • 2
  • 16
3
votes
0 answers

Software flashing attiny167 from RPi with avrdude

I am trying to flash a program onto an attiny167 (already bootloaded with the micronucleus bootloader) with a Raspberry Pi via avrdude and USB. Background I have 50 Raspberry Pi 3B's connected to an amazon server collecting data. I have 50 custom…
AidenRay
  • 31
  • 2
3
votes
1 answer

How can I connect an arduino to a raspberry pi via an HC 05 bluetooth module and transmit data?

I am currently undertaking a project where I am attempting to build a bluetooth thermometer using an arduino. I have the temperature sensor working and returning temperature readings via a usb connection to the serial monitor in the Arduino IDE…
3
votes
2 answers

ADC with better performance

I need to sample voltage at a very high rate (say for like 10000 Hz) and with a very good precision(at least 10-12 bit ADC will do). So I am in need of an Analog-to-Digital Converter(ADC) which has a very high sampling rate (sampling rate has to be…
3
votes
2 answers

Bidirectional communication between Arduino and Raspberry Pi over USB possible?

Is it possible to have bidirectional communication betweeen an Arduino Uno Rev 3 and a Raspberry Pi Modell B+ running Rasbian? They're connected ofer USB, and it would be good if I could use Python on the Pi.
3
votes
2 answers

Design Dilema -- What hardware?

I'm trying to build a smart thermostat for a particular application. I have the following design criteria and goals for the system: Must be able to set up and monitor the device from either a mobile phone or local network device. No go on Ethernet…
zipzit
  • 135
  • 4
1
2 3
10 11