AD8232/promini238 and Raspberry Pi

New to this game!

Using the https://learn.sparkfun.com/tutorials/ad … -guide/all page, but can’t find any reference to using raspberry pi computer for display, or how to run the arduino sketches. Tried installing arduino, but get a java exec. error just trying to run the IDE.

What does the raspberry need to 1) understand the sketches (C++?); 2) to hook up to the ad8232/promini238 setup; for example, can I power the boards with the raspberry 3.3v output, or do I use the usb cable from the FTDI to the usb Raspberry input? will that enable both powering the boards and displaying the board output?

Thanks!

Hello, and thanks for posting your question in the new SparkFun forums!

Using the https://learn.sparkfun.com/tutorials/ad … -guide/all page, but can’t find any reference to using raspberry pi computer for display, or how to run the arduino sketches.

I’m not seeing the whole URL for the tutorial you’re following, but I’m not sure it pertains to your question anyway.

Tried installing arduino, but get a java exec. error just trying to run the IDE.

I've never tried to install the Arduino IDE on the Pi before so I can't assist with that. A google search for [[installing arduino on a raspberry pi](https://www.google.com/search?client=firefox-b-1-d&q=installing+arduino+on+a+raspberry+pi) should turn up some links that help. The error you're seeing may have to do with the wrong version of java being installed on your Pi. The links from your google search may help resolve that.

What does the raspberry need to 1) understand the sketches (C++?); 2) to hook up to the ad8232/promini238 setup; for example, can I power the boards with the raspberry 3.3v output, or do I use the usb cable from the FTDI to the usb Raspberry input? will that enable both powering the boards and displaying the board output?

The Pi itself doesn't understand or execute Arduino sketches or code. If you install the IDE on your Pi, that gives you the ability to program an Arduino board attached to the Pi, but the code doesn't actually run on the Pi.

It sounds like you’re trying to attach a sensor board to the GPIO pins on the Pi and then use the Arduino IDE to communicate with the board. You can connect sensor boards to the Pi, but you will need some other software than the IDE to write code for them. Python is a good choice for interfacing with sensors or boards attached to a Pi. The tutorials below might be helpful in getting you started but none of them use the Arduino IDE.

  • [Raspberry gPIo
  • [/list]
  • [Raspberry Pi SPI and I2C Tutorial
  • [/list]](https://learn.sparkfun.com/tutorials/raspberry-pi-spi-and-i2c-tutorial)](Raspberry gPIo - SparkFun Learn)](installing arduino on a raspberry pi - Google Search)