Go to advanced search

by savageautomate
Mon Dec 10, 2012 2:27 am
Forum: HATs and other add-ons
Topic: Raspberry PI expansion board?
Replies: 10
Views: 4896

Re: Raspberry PI expansion board?

Gertboard is probably the most advanced add-on board available. However, I ordered one in October from Newark and am still waiting for it to arrive :roll: There are a number of alternatives including a series of boards that John Jay is developing and available on eBay: http://www.ebay.com/sch/9030pl...
by savageautomate
Sun Dec 09, 2012 6:17 pm
Forum: Other programming languages
Topic: Java Sub-Forum?
Replies: 15
Views: 3112

Re: Java Sub-Forum?

I totally agree!
+1 for Java sub-category.

I put in a forum request a while back, but the thread did not get any traction.
http://www.raspberrypi.org/phpBB3/viewt ... 08#p158808

Maybe if the Java Pi community can voice their opinion we can get some attention :mrgreen:
by savageautomate
Sun Dec 09, 2012 6:12 pm
Forum: HATs and other add-ons
Topic: John Jay's 8 LED / 8 BUTTON breakout board
Replies: 2
Views: 2141

Re: John Jay's 8 LED / 8 BUTTON breakout board

malakai wrote:Your articles look fantastic. Love the Cylon code.
Thanks for the comment and thanks for the link on your site!

As you can see, I love the cylon effect:
http://www.youtube.com/watch?feature=pl ... BURE4xxPIs

Regards, Robert
by savageautomate
Sun Dec 09, 2012 6:03 pm
Forum: Other programming languages
Topic: Java GPIO access
Replies: 11
Views: 11118

Re: Java GPIO access

The mentioned google code page for rpi-gpio-java gives me a 404 error. Does this project exist now at a different place, or is the Pi4J now the lib to use? Thanks, Michael That google page (rpi-gpio-java) has been down for a couple of months now. I guess the author/developer decided to take down th...
by savageautomate
Sun Dec 09, 2012 5:42 pm
Forum: Other programming languages
Topic: Java examples for John Jay's 8 LED / 8 BUTTON breakout board
Replies: 0
Views: 921

Java examples for John Jay's 8 LED / 8 BUTTON breakout board

If anyone is using John Jay's 8 LED, 8 BUTTON breakout board ( available on eBay, visit the link for details. ) and needs assembly instructions or would like some Java examples to test your completed kit, I have published a new article with detailed instructions on how to assemble this kit and have ...
by savageautomate
Sun Dec 09, 2012 5:33 pm
Forum: HATs and other add-ons
Topic: John Jay's 8 LED / 8 BUTTON breakout board
Replies: 2
Views: 2141

John Jay's 8 LED / 8 BUTTON breakout board

Having a little GPIO development board is extremely handy when building I/O projects for the Raspberry Pi. In a previous article on my blog, I demonstrated how to build your own testing/development board from scratch: http://www.savagehomeautomation.com/projects/raspberry-pi-build-a-gpio-testing-boa...
by savageautomate
Sat Dec 08, 2012 9:39 am
Forum: Other programming languages
Topic: pi4j simple for loop
Replies: 5
Views: 2579

Re: pi4j simple for loop

I will also have a look the blink() method you linked me to Robert as it seems to be ideal, am I right in saying pi4j is your creation? Thanks for sharing it, it's nice to be working with code (very) vaguely familiar to access the gpio. I started the project, but there have been other contributors ...
by savageautomate
Fri Dec 07, 2012 4:18 pm
Forum: Other programming languages
Topic: pi4j simple for loop
Replies: 5
Views: 2579

Re: pi4j simple for loop

Rather than using pulse triggers, you maybe better off to just create a simple listener on the button or use a callback trigger instead. Then in the listener or callback method just add the code to pulse the LED 4 times. Using the 4 pulse triggers, I don't think they will work sequentially. The puls...
by savageautomate
Wed Dec 05, 2012 7:27 pm
Forum: Other programming languages
Topic: Pi4J - A Java library to interface with the Raspberry Pi
Replies: 57
Views: 48491

Re: Pi4J - A Java library to interface with the Raspberry Pi

Thanks for the fast answer. I have done this steps already. And so i get the minicom example from http://www.irrational.net/2012/04/19/using-the-raspberry-pis-serial-port/ at the end of page to work. I think if the disable console settings should not work, the minicom example should not work, too. ...
by savageautomate
Wed Dec 05, 2012 6:59 pm
Forum: Other programming languages
Topic: Pi4J - A Java library to interface with the Raspberry Pi
Replies: 57
Views: 48491

Re: Pi4J - A Java library to interface with the Raspberry Pi

It was definitely working the last time I used it in 0.0.3 :-) Please take a look at the bottom of this article, it outlines the steps I used to configure the Raspberry Pi for software usage of the serial port. http://www.savagehomeautomation.com/projects/raspberry-pi-rs232-serial-interface-options-...
by savageautomate
Wed Dec 05, 2012 3:33 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - Sunrise/Sunset Timer for Christmas Lights
Replies: 29
Views: 29270

Re: Raspberry Pi - Sunrise/Sunset Timer for Christmas Light

I have a home automation/alarm system running now on the Pi. It uses the serial port on the GPIO pins. I have had a lot of problems with USB to Serial adapters on normal Linux systems, so I didn't want to go that route on the Pi. I haven't written up my blog post on the X10 interface yet, but you c...
by savageautomate
Wed Dec 05, 2012 7:00 am
Forum: Other programming languages
Topic: Java & Pi4J powered Christmas Lights Timer project
Replies: 0
Views: 1174

Java & Pi4J powered Christmas Lights Timer project

I posted this project in the Automation, sensing and robotics Project section of the forum: Raspberry Pi - Sunrise/Sunset Timer for Christmas Lights The software used in this project is Java based and open source. ( available on Github ) I am using the Pi4J project to control the GPIO hardware on th...
by savageautomate
Wed Dec 05, 2012 6:52 am
Forum: Other programming languages
Topic: Pi4J - A Java library to interface with the Raspberry Pi
Replies: 57
Views: 48491

Re: Pi4J - A Java library to interface with the Raspberry Pi

Hi, I'm a Java developer and I'm currently using your library and I have to say that it's awesome, I'm so happy that I can develop applications for my raspberry Pi in my favorite programming language. But now I'm trying to attach and LCD display into my raspberry Pi, I'm currently receiving informa...
by savageautomate
Wed Dec 05, 2012 6:42 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - Sunrise/Sunset Timer for Christmas Lights
Replies: 29
Views: 29270

Raspberry Pi - Sunrise/Sunset Timer for Christmas Lights

Just in time for the holidays .. A very simple Raspberry Pi project to control your (exterior) Christmas lights based on the calculated sunrise/sunset times for your location. http://www.savagehomeautomation.com/projects/raspberry-pi-sunrise-sunset-timer-for-christmas-lights.html http://www.savageh...
by savageautomate
Tue Dec 04, 2012 10:01 pm
Forum: Other programming languages
Topic: Harfloat JVM from Oracle ahoy!
Replies: 4
Views: 1237

Re: Harfloat JVM from Oracle ahoy!

Ah-Ha .. found the tweet:
https://twitter.com/java/status/276048273305915393

Thanks, Robert
by savageautomate
Tue Dec 04, 2012 9:21 pm
Forum: Other programming languages
Topic: Harfloat JVM from Oracle ahoy!
Replies: 4
Views: 1237

Re: Harfloat JVM from Oracle ahoy!

Any links with more details or how to get early access?
by savageautomate
Tue Dec 04, 2012 12:14 am
Forum: General discussion
Topic: Pi compatible WIfi adaptor
Replies: 27
Views: 37119

Re: Pi compatible WIfi adaptor

The Edimax EW-7811Un 150 Mbps Wireless 11n Nano prices have also been reduced to $9.99 USD on Amazon and includes free shipping if you are a Prime member.
by savageautomate
Sun Dec 02, 2012 1:53 am
Forum: Other programming languages
Topic: Pi4J - A Java library to interface with the Raspberry Pi
Replies: 57
Views: 48491

Re: Pi4J - A Java library to interface with the Raspberry Pi

Robert, does it mean that one can easyli create TcpGpioProvider and work via ethernet (talking to real GpioProvider located on RaspberryPi)?? Not exactly ... although that would be a pretty simple implementation of Java code consuming the Pi4J library. A GpioProvider is intended to provide general ...
by savageautomate
Sat Dec 01, 2012 2:39 pm
Forum: Other programming languages
Topic: Pi4J - A Java library to interface with the Raspberry Pi
Replies: 57
Views: 48491

Re: Pi4J - A Java library to interface with the Raspberry Pi

... I got everything rocking and compiling no issue but when I run the com.pi4j.example.ControlGpioExample, it locks up at the end. I have to ctrl+c after the light comes on for 1 second. is pin.pulse getting stuck in a loop? ... I think that was fixed in 0.0.4-SNAPSHOT ( https://github.com/Pi4J/pi...
by savageautomate
Fri Nov 30, 2012 2:55 am
Forum: Other programming languages
Topic: Pi4J - A Java library to interface with the Raspberry Pi
Replies: 57
Views: 48491

Re: Pi4J - A Java library to interface with the Raspberry Pi

Hi Robert - as a Java developer I'm very interested in using your library as my gateway to get started with the Pi. I'm curious how people typically develop/deploy/test with the Pi (or other embedded devices) - do developers always deploy to the actual hardware to test? I'm curious what benefit the...
by savageautomate
Thu Nov 29, 2012 12:52 pm
Forum: Other programming languages
Topic: Pi4J - A Java library to interface with the Raspberry Pi
Replies: 57
Views: 48491

Re: Pi4J - A Java library to interface with the Raspberry Pi

Hello, I want to send many thaks for creator(s) of Pi4J!! Thank you! :) Browsing thru API I found com.pi4j.wiringpi.Spi. I wanted to ask how things go with SPI support? Is is possible to speak with SPI devices? Thanks, Arthur. Hi Arthur, Basic SPI communication support is provided via the wiringPi ...
by savageautomate
Tue Nov 27, 2012 3:28 am
Forum: Other programming languages
Topic: pi4j momentary switch?
Replies: 5
Views: 4322

Re: pi4j momentary switch?

In the Pi4J example, it uses the +3.3V pin connected to any momentary switch and then also connects to one of the GPIO pins. The software uses the internal pull-down resistor supported on the hardware to prevent "floating" So it looks to me like you could use your push button switch just connected w...
by savageautomate
Thu Nov 22, 2012 2:53 am
Forum: Other programming languages
Topic: pi4j and $CLASSPATH
Replies: 3
Views: 9102

Re: pi4j and $CLASSPATH

Also make sure to use the "sudo" command in front of the "java" command to start your java program with super user rights. Pi4J will need root permissions to performs some of its tasks. Here is a complete example including the command lines to compile and execute the example code. http://pi4j.com/ex...
by savageautomate
Tue Nov 20, 2012 5:01 pm
Forum: General programming discussion
Topic: Using 17 GPIO output pins with Pi4J
Replies: 37
Views: 10644

Re: Using 17 GPIO output pins with Pi4J

By the way, your website is just like Gordon's: the more I explore it, the more useful info I find on it :) Thanks! That is definitely a compliment! FWIW .. I try to keep all Raspberry Pi related articles indexed/listed on this page: http://pislices.com/ This may serve as a good page to bookmark to...
by savageautomate
Tue Nov 20, 2012 4:46 pm
Forum: General programming discussion
Topic: Using 17 GPIO output pins with Pi4J
Replies: 37
Views: 10644

Re: Using 17 GPIO output pins with Pi4J

Yepp, that was it! I needed to edit the file /etc/default/tomcat7 and change the JAVA_HOME variable in it. Until now this line was commented, but I guess it did not matter because I only had one version of Java installed on the Pi (1.6.0_24). But now, that I've installed 1.7.0_07 too, I needed to e...

Go to advanced search