Raspberry Pi and Arduino accessories compatible?
#3
(04-12-2016, 06:22 AM)peterz Wrote:
(04-11-2016, 06:09 PM)Krowyn Wrote: I was looking around for accessories for the Pine 64 and I was hoping to get some cheap accessories. Does anyone know if Raspberry Pi and Arduino accessories compatible are comparable with Pine 64(+)

Here are some accessories i'm looking into:
http://www.neosecsolutions.com//products...8&cPath=17

http://www.miniinthebox.com/temperature-...rm=2.3.5.0

http://www.miniinthebox.com/electronics-...rm=2.2.1.0
My PINE hasn't arrived yet (ETA is end of May).
I have bought DHT22 which is more accurate than DHT11 (and is also more expensive) and also bought that display.
I'm convinced both will work. Just the GPIO numbers on PINE seems to be different than on RPI. See http://joey.hazlett.us/pine64/pine64_pins.html for details.
So some tweaking of scripts will be required, but it should work.

For DHT11 or DHT22 check this https://learn.adafruit.com/dht-humidity-...g/overview .
I bought mine from ebay and 1 DHT22 was about 2.75EUR/pcs. I haven't tried it yet.

For LCD display there are 3 options how to connect it with PINE/RPI.
- connect it directly (more GPIO pins is required). See this https://learn.adafruit.com/downloads/pdf...rry-pi.pdf
- connect it through I2C bus (2 GPIO pins for data + 1pin Vcc and 1pin GND )
- connect it through UART
I bought it on ebay as well and cost about 2EUR/pcs. I bought also I2C modul which cost about 1EUR/pcs.
We will need a GPIO library. Or modifications to the Pi library. As it stands the Pi library errors;

Code:
root@debianpine64:~# python tmp.py
Traceback (most recent call last):
 File "tmp.py", line 1, in <module>
   import RPi.GPIO as GPIO
 File "/usr/local/lib/python2.7/dist-packages/RPi/GPIO/__init__.py", line 23, in <module>
   from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!

Havent got the time to do more than that at the moment.
  Reply


Messages In This Thread
RE: Raspberry Pi and Arduino accessories compatible? - by rahlquist - 04-12-2016, 07:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Z-Wave module pinout to make it compatible with Pi b+ ebretteville 59 94,210 07-12-2019, 08:55 AM
Last Post: kris240376
  What cameras are compatible with that ribbon connector? nayrenitnatsnoc 1 4,239 02-18-2017, 11:50 PM
Last Post: dkryder
  Raspberry Pi-Top Mark Smith 3 6,927 10-17-2016, 02:49 PM
Last Post: LeroyahJenkins
  Compatible Battery Types/Brands List AUDIOTEK 23 33,726 07-20-2016, 06:10 PM
Last Post: Bluphire
  Will the Raspberry Pi 2 camera work nath16 2 5,025 05-29-2016, 07:29 AM
Last Post: nath16
  Raspberry Foundation Scren famazzo 1 3,674 04-04-2016, 09:37 PM
Last Post: MichaelMeissner
  Zwave AU compatible mist42nz 1 3,635 03-23-2016, 04:00 AM
Last Post: Ghost

Forum Jump:


Users browsing this thread: 2 Guest(s)