Arduino dock
-
Hey. Firstly, I'm a total noob, especially when it comes to arduino. So please bare with me, if my question is just total nonsense.
I've bought the arduino dock, and set it all up, and i can now upload sketches, via the Omega.
But here is my question. Does the Omega also work like the ESP8266 wifi module? Does my arduino dock have access to the internet? If so, how do I make that work?Thank you.
-
The Arduino component does not have access to the Internet ... not directly anyway. You have not specified what services you want the Arduino to benefit from the Internet, so here's my suggestion: through perhaps the GPIOs, let the Arduino signal the Omega that some Internet action is requested.
-
@fossette I want it to be able to send data to a service like ubidots, or something similar, to make an online live graph. I hope that helps you to help me.
Thanks
-
My guess is that working the other way around would be simpler.
- (If the Omega really can't collect the values itself) let the Arduino collect the values.
- Have the Omega fetch those values from the Arduino
- Have the Omega sent the values to the online service.
-
You need to use a method by which the Omega can obtain/receive the needed information from the Arduino.
The best way to do this is to use I2C to communicate between the two.If it is of any use to you, you will find some code I have published for Omega and Arduino to do this - see: https://github.com/KitBishop/Omega-GPIO-I2C-Arduino/tree/master/libarduino for code on the Omega side and https://github.com/KitBishop/Omega-GPIO-I2C-Arduino/tree/master/arduino_omega for code on the Arduino side.
These are all part of the general package I have produced for the Omega: https://github.com/KitBishop/Omega-GPIO-I2C-Arduino
-
@fossette Why use I2C, when the Arduino is already connected to the Omega over UART?
-
@WereCatf Use of I2C for Omega/Arduino communication is what was recommended by the Omega guys - see the documentation for Arduino Dock Neopixel Library at https://wiki.onion.io/Documentation/Libraries/Arduino-Dock-Neopixel-Library and the code in the repositories: https://github.com/OnionIoT/neopixel-tool (for the Omega side) and https://github.com/OnionIoT/Onion-Arduino-Library (for the Arduino Side)
You should also see references to use of I2C for the communication in https://wiki.onion.io/Tutorials/Arduino-Dock/Using-the-Arduino-Dock
-
@Visti-Stenmo if it helps, here's a tutorial https://ubidots.com/docs/devices/omega.html#onion-omega-and-ubidots