Arduino with Raspberry

Hi guys

I need a code for arduino open browser in raspberry can i that? Sorry for my english.

I don't understand what you want.

In any case we don't write code for you, we help you with problems with your programs.

If you want someone to write a program for you please ask in the Gigs and Collaborations section of the Forum and be prepared to pay.

...R
Python - Arduino demo

Thank You Sir
I connect my arduino to raspberry from: https://www.instructables.com/id/Connect-Your-Raspberry-Pi-and-Arduino-Uno/

I use already like this ;

void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
<<<< open rasberry 'Chromeimum : www.google.com'; >>>>
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}

i want add google line. Can i ?

CoolBlack:
I use already like this ;

I see nothing in that code that communicates with a Raspberry PI. It just seems to flash the onboard LED

i want add google line. Can i ?

I don't know what you mean by "google line"

...R

i try <<<< open rasberry 'Chromeimum : www.google.com'; >>>>
but this is just a dream. i want when arduino led on, raspberry open chrome.
can i ?

CoolBlack:
i try <<<< open rasberry 'Chromeimum : www.google.com'; >>>>
but this is just a dream. i want when arduino led on, raspberry open chrome.
can i ?

You are quite correct. As you have stated the problem it is just a dream.

And I don't have the slightest idea what your dream means.

You need to figure out how to explain yourself so that other people can understand what you want to do. I think a course of study on effective writing is what you need first.

...R

Robin2 thank you for your answer. And you dont write more this topic really thank you.

And anyone can help ?

Break the problem down into smaller steps. For example, see the following.

Step 1: How to launch Chromium using keystrokes

Do you have a working Raspberry Pi with desktop GUI? If no, search for how to install Raspbian on a Raspberry Pi. Do not proceed until you have a working Raspberry Pi with desktop GUI.

Now that you have a working Raspbian desktop, open a terminal window to get a command line prompt.

Type by hand

$ chromium-browser https://www.google.com

Does this do what you want? If not, do more research until you have what you want. If chromium is not installed, search for how to install chromium on Raspbian.

Repeat Step 1 until it is completed. You should have a sequence of keystrokes to do what you want before proceeding to step 2.

Step 2: Program Arduino board send the sequence of keystrokes from step 1.

An Arduino or compatible with a native USB interface can emulate a USB keyboard. Any Arduino board with an Atmel 32u4 microcontroller such as a Leonardo, Micro, Pro Micro. In addition, the ARM based Arduino boards with SAMD21 or SAM3X microcontorllers such as Due, Zero, M0, and the MKR family. In addition, there are many compatible boards from Adafruit, SparkFun, and PJRC (Teensy) that can do the same.

For more details and examples, see the following.

If this is not what you want, you will have do a better job of explaining your dream.