x86 board questions

Discussion in 'UDOO X86' started by Strykar, May 3, 2016.

  1. Strykar

    Strykar New Member

    Joined:
    May 3, 2016
    Messages:
    2
    Likes Received:
    0
    Hi,

    I think you nailed the issue on the head by enabling the x86 board to bet turned off. I was looking for a solution like this for my solar powered boat that will do some science data collection. See https://community.emlid.com/t/questions-about-navio-for-solar-powered-boat/2128
    I'm new to Arduino so please bear with me if some of the answers to my question are obvious.

    1) Will code written and available for the Arduino UNO be reusable/easily ported to the 101?
    For example, can I port this Geo fencing code to the 101 - https://github.com/openhomeautomati...blob/master/geo_fencing_io/geo_fencing_io.ino

    2) Can I use Arduino shields with the 101 on the board like:
    https://www.cooking-hacks.com/projects/arduino-realtime-gps-gprs-vehicle-tracking/
    https://www.adafruit.com/product/2636
    Will the 101 power the shield while keeping the x86 board off?

    3) If I add a flight computer like the Ardupilot, could I turn on/off the 101 on the 86 board with it the Ardupilot attached?
    My issue is I would like to keep navigation control with a low power Arduino, even it means adding an Ardupilot that can turn on/off the x86 board as desired.
     
  2. Laura

    Laura UDOOer

    Joined:
    Apr 22, 2016
    Messages:
    374
    Likes Received:
    156
    Your solar powered boat sounds very interesting! Would love to follow your progress (there's a project section on this forum :D)

    1) Yes, the UNO code can be compiled and uploaded to the embedded Arduino 101, as it has compatibility with AVR. This doesn't guarantee you won't hit any snags when porting, but if there are issues, usually they're solved fairly quickly with the help of the open source community.

    2) The UNO is compatible with Arduino shields that operate in 5v. The I/0 voltage on the 101 is 3.3v, though it's 5v tolerant, allowing a wide range of peripherals . The Adafruit shield you linked to appears to have a jumper set to 5v that can be changed to 3v, by cutting a trace and placing a bit of solder (the Vio pads near bottom of second picture).

    3) I'm not knowledgeable on the Ardupilot, but if it can communicate with an Arduino, then it can turn the UDOO on.

    Edited twice: I originally wrote that the UNO is compatible with shields that operate in either 5v or 3.3v, but I'm not 100% sure of that, so removed the 3.3v bit. Also failed to mention that the 101 has a 5v tolerant I/O (I have a lot to learn about Arduino).
     
    Last edited: May 4, 2016
  3. Strykar

    Strykar New Member

    Joined:
    May 3, 2016
    Messages:
    2
    Likes Received:
    0
    Thanks for the prompt response Laura.
    This is an Ardupilot, I should've linked it earlier, it's an Arduino Mega with lots of sensors for flying - http://diydrones.com/notes/ArduPilot

    What are my options for attaching 5v shields to a 3.3v Arduino 101?
     
  4. Laura

    Laura UDOOer

    Joined:
    Apr 22, 2016
    Messages:
    374
    Likes Received:
    156
    Using the I2C protocol, you can achieve Arduino to Arduino communication, in a master/slave configuration - https://www.arduino.cc/en/Tutorial/MasterWriter
    IC2 is the communication method used by the UDOO Bricks, and I'll be using it for my modular enclosure as well.

    Shields that have I/O voltage selection might include a tiny switch, jumper pin, or trace pads to make this selection. Just realised I'd made another mistake in my original reply to you - The Arduino 101 has a 5v tolerant I/O, so it will work with 5v shields even though it would prefer not to. Think I'm going to do spend today reading some Arduino books :oops:
     

Share This Page