High Level Conceptual Question - IoT, maker type projects
#3
(08-07-2016, 02:48 PM)MarkHaysHarris777 Wrote:
(08-07-2016, 08:09 AM)HayseedGeek Wrote: Can someone with basic scripting experience and the ability to read pin-out diagrams buy some connectors and breadboards and get started today with that sort of tinkering using one of the Ubuntu or Debian builds presently available?

The simple answer is, yes.

... there are two easy methods for accessing the GPIO pins on the PineA64;  1) RPi.GPIO-PineA64 from github, and 2) the sysfs system.

[...]

sudo apt-get install python-dev
sudo apt-get install python3-dev

[....]
longsleep has developed a short script for converting Pine board connection names (PL7) to numbers numbers (359) that can be used with sysfs. 

Get started with the above, and then join us on irc chat for Q & A about specifics.  I have posted several GPIO related idea on this forum including pics ; feel free to check them out too.

One word of caution, the Pine board is a 3v3 system... DO NOT try to connect 5v (sensors nor anything else) from arduino land to the GPIO of the Pine, you'll blow the board
Got it! Software installed easily, as promised. No 5v to GPIO  Exclamation
I'm reading and learning what's out there and what I'll want and need for now. 
In the mean time, Pifm https://github.com/rm-hull/pifm seemed like a likely candidate as an easy start (I can slip a wire on a pin to use as an antenna I should hope), so I tried to compile it...and no dice.
It threw lots of error messages about casting Null to Int in the *.c file, so I assume even though the GPIO interface is consistent on the PI-2 connector, the internal addressing scheme for DMA and such is quite different on the Pine64.  Is there some reference I can use to port the RPi addresses used in that one source file to Allwinner A64 addresses? Or am I barking up the wrong tree there?


Messages In This Thread
RE: High Level Conceptual Question - IoT, maker type projects - by HayseedGeek - 08-11-2016, 08:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up Website for Pine64 projects cookeys 8 11,905 05-10-2016, 07:49 AM
Last Post: rahlquist
  Question about Shields monmoonmooonmoooon 2 5,696 01-12-2016, 11:30 AM
Last Post: monmoonmooonmoooon

Forum Jump:


Users browsing this thread: 1 Guest(s)