This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
arduino on I2C
#19
Please just look firmata up. It seems like you haven't understand the concept yet. 

https://github.com/firmata/protocol
http://firmata.org/

Basically you upload the firmata sketch to your Arduino and then leave it untouched. Connect the Arduino to a serialport. Pick your favourite programming language. Install the firmata library and implement your programming logic.
It's sort of a remote control via uart.

As i wrote before I had some performance issues using firmata. A quick example:
You hook up an I2C sensor to your Arduino and a LED that blinks every 200 ms. Now every time the sensor sends it's data the LED will get stuck in the current state and stop the blinking until the sensor's data is submitted. So depending on your usage you might run into some problems.

edit: lovely cross posting Smile
Reply


Messages In This Thread
arduino on I2C - by Sprokkie - 2017-11-02, 10:38 PM
RE: arduino on I2C - by abarrow - 2017-11-02, 11:14 PM
RE: arduino on I2C - by Sprokkie - 2017-11-02, 11:56 PM
RE: arduino on I2C - by shark24 - 2017-11-03, 12:25 AM
RE: arduino on I2C - by PaddyB - 2017-11-03, 09:30 AM
RE: arduino on I2C - by Sprokkie - 2017-11-03, 10:40 AM
RE: arduino on I2C - by PaddyB - 2017-11-03, 11:35 AM
RE: arduino on I2C - by richarddaneel - 2017-11-26, 08:05 PM
RE: arduino on I2C - by insitegeo - 2018-05-21, 02:46 PM
RE: arduino on I2C - by jim321 - 2017-11-03, 11:15 AM
RE: arduino on I2C - by shark24 - 2017-11-03, 01:56 PM
RE: arduino on I2C - by Sprokkie - 2017-11-13, 12:09 AM
RE: arduino on I2C - by shark24 - 2017-11-13, 08:53 AM
RE: arduino on I2C - by PaddyB - 2017-11-13, 10:50 AM
RE: arduino on I2C - by Sprokkie - 2017-11-13, 11:04 AM
RE: arduino on I2C - by jim321 - 2017-11-13, 12:01 PM
RE: arduino on I2C - by Sprokkie - 2017-11-14, 10:58 PM
RE: arduino on I2C - by e-sailing - 2017-11-14, 11:39 PM
RE: arduino on I2C - by Sprokkie - 2017-11-15, 12:22 AM
RE: arduino on I2C - by jim321 - 2017-11-15, 09:25 AM
RE: arduino on I2C - by shark24 - 2017-11-15, 09:27 AM
RE: arduino on I2C - by Sprokkie - 2017-11-26, 08:37 PM
RE: arduino on I2C - by e-sailing - 2017-11-28, 11:28 PM
RE: arduino on I2C - by Sprokkie - 2017-11-29, 12:09 AM
RE: arduino on I2C - by e-sailing - 2017-11-29, 03:01 PM
RE: arduino on I2C - by adriancubs - 2018-06-13, 05:26 AM
RE: arduino on I2C - by PaddyB - 2018-06-13, 09:09 AM
RE: arduino on I2C - by jim321 - 2018-06-13, 11:35 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)