Serial Communication with Processing :: Video #2 :: Arduino Serial Communication Series

preview_player
Показать описание
🤩 FREE Arduino Crash Course 👇👇

This video is one part of an 8 series tutorial that shows how to access the internet and post a tweet using Arduino, Processing and the twitter4j library.
Рекомендации по теме
Комментарии
Автор

Many many thanks for your very amazing training videos. As a subscriber, I am following your new training videos. I hope to see more.

jamshidkashani
Автор

nailed it!, great tut, clear easy to understand!

kudre
Автор

Great video series!!!! Keep up the good work, very helpful for those who are starting out with the arduino platform!!!

unknowntothem
Автор

HI,
How can I send some data from MATLAB Simulink (serial send) and recive that value in processing? Totally indeed a float or an integer.
I am using virtual serial port, for example COM1 for simulink serial configuration and COM2 for processing.

mohammadjavadahmadi
Автор

can we use UART between 2 arduinos and the USB from one MCU "master" connected to the pc? "visual studios" vua com port "usb"

ClearNinjaFox
Автор

very very nice!!!thx
just one question
how did you do to get your serial usb port connected to arduino being usbmodem1411?
your iOS is Yosemite?
because in general we have to make a manipulation which provide a usb serial port being something like ch43usb....!!!!this is very problematik for working with arduino and simulink!
best regards

toninogalit
Автор

The question is general... in case I wanna have more outputs from the Arduino Serial Monitor, e.g. want to write "Serial.print("I am fine");"  or "Serial.print(some variable);" inside arduino void loop, then I will have problem in processing for the switch button function/mode, because  data is tranferred is now different. What do I do in such a

Leilektsoglou
Автор

Hello.  I'm new to all this and I'm trying to understand how to send a data byte in binary that I would enter at the serial monitor and send to my Mega.  I am trying to access and execute a file that is on an SD shield. (sparkfun)

TempleOfGaia
Автор

@Open Source Hardware Group   Thanks for the videos!  I was able to hook up my arduino to processing quite easily because of these videos.  I made an applet in processing that constantly read the analogRead from the arduino (linked to a potentiometer), and based on the reading, the background color of my applet would change.  It's very reliable and responsive.

Have you any idea how perhaps 2 separate potentiometers could be read in separately to processing?  I suppose that's the same as asking whether 2 kinds of Serial.write(); could be distinguished by the Processing software..  if it wasn't restricted to reading in only numbers between 0-255 it would be easier to hack a way to distinguish with the same Serial.write().

I realized that I could make a game with a controller with this technology..  a crazy thought :).

woodrowj
Автор

Why don't we have to call the serialEvent(Serial port) function in processing?

liviu
Автор

OH! ... and when I run the prog on the Arduino, and open the serial monitor, .. it draws squares across the screen.... and still, .. nothing happens when the button is

emc
Автор

Hi, my problem is, .. it's not working. ... I copied & sent the program to the Arduino, it was happy & accepted it, .. then ran the Processing program & got no colour change, .. no anything, .. it just didn't work for me.
I have tried several momentary buttons, ... & I even tried a direct 5 volts Pin to pin 4 (with the resistor in place to gnd of corse), & still, ... I get nothing, ... no colour change, .. nothing happens. H.E.L.P.

emc
Автор

THANKS FOR NOT DOING THAT BLINKING LED TRICK. ILL GIVE THIS A TRY.

joesmith
Автор

I have checked & double checked everything, One momentary switch, - working, .... One 10K resistor, .. brown black orange. ... 3 jumper leads checked.
One problem I HAVE found is the .. "if - else", statements in my Arduino IDE window, .. do NOT change colour. ... I have run the compiler, and it finds NO faults, ...
I am now, .. well confused.

emc
Автор

how do i make the arduino read strings of data? like "LED1ON" "LED2OFF" in an if statement?

thunderbolt
Автор

watching videos just for the sake of intro music.

keshavsapkota
Автор

forget this there is no code exept typing it from this disorganized video

joesmith
welcome to shbcf.ru