Go to advanced search

by fulburncams
Fri Jul 05, 2013 12:11 pm
Forum: Java
Topic: Java friendly relay board
Replies: 2
Views: 1744

Re: Java friendly relay board

I did this by use of the GPIO and one of the boards on the expansion board page PiFace Gertboard etc. I then used the WiringPi (wiringpi.com) package with JNI between the Java and low level c code.
by fulburncams
Sun Dec 23, 2012 12:36 pm
Forum: HATs and other add-ons
Topic: GPIO Board development
Replies: 11
Views: 4023

Re: GPIO Board development

Have done something similar with RS232, I2C ic's ( A2D/D2a and PIO PCF8591 and 8574), RTC (DS1307)and motor controller L298. I used the wiringPi code in conjunction with JNI to get Java working. . http://www.fulburncams.gb.net/

Good Luck Cheers
Steve
by fulburncams
Sat Dec 22, 2012 6:11 am
Forum: Automation, sensing and robotics
Topic: Connecting 1-wire temperature sensors to RPi ?
Replies: 11
Views: 16533

Re: Connecting 1-wire temperature sensors to RPi ?

Hi there is a Dallas i2c 2482 device that converts from the raspi i2cbus to 1-wire. You will need to write some software but I seem to remember there is a one wire library on the forum somewhere.
by fulburncams
Tue Jul 24, 2012 10:33 pm
Forum: Advanced users
Topic: Yeird, has anyone tried saving power
Replies: 2
Views: 1461

Yeird, has anyone tried saving power

Hi

I am building an embedded product and for the prototype/initial production phases want to use the Raspi. Has anyone here got any advice on how to reduce power consumption, e.g. slowing clocks , reducing voltages whatever ?

Many thanks
Steve
by fulburncams
Mon Jul 23, 2012 10:17 pm
Forum: HATs and other add-ons
Topic: Are the Gertboards here?
Replies: 84
Views: 19106

Re: Are the Gertboards here?

JBeale
Great stuff, like you i have designed my own. The Gertboard /Pi Face did not meet my requirements, hence i designed my own for small production for my own purposes, happy to pass on designs etc.
Regards
Steve
by fulburncams
Sun Jul 22, 2012 6:34 pm
Forum: HATs and other add-ons
Topic: Are the Gertboards here?
Replies: 84
Views: 19106

Re: Are the Gertboards here?

I do not believe the only model for an add on board is one that is produced at the rate of 1000 per week ?
I think experimentation should be encouraged and as far as I can see you do not have to spend ten's of thousands of pounds to wire up the Raspi to the real world.
Cheers
Steve
by fulburncams
Sun Jul 22, 2012 2:46 pm
Forum: HATs and other add-ons
Topic: Are the Gertboards here?
Replies: 84
Views: 19106

Re: Are the Gertboards here?

Looking at the low level peripherals on the wiki there are now 30 entries for proto-boards , some already in production , some available as kits or bare boards. They range from basic breakout , through RS232 adapters upto full featured expansion boards with A2D/IO/DC Motor drives etc. I am not sure ...
by fulburncams
Fri Jul 06, 2012 6:36 pm
Forum: HATs and other add-ons
Topic: gertboard accessibility
Replies: 16
Views: 6158

Re: gertboard accessibility

Hi Yes sure, I used my own board see www.fulburncams.gb.net. In outline steps were - download the wiringPi code - created JNI files etc using netbeans and the javah tools - created some modified version of wiringPi functions with the JNI naming conventions in C - compiled and loaded the as libraries...
by fulburncams
Fri Jul 06, 2012 11:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C Device (DS1307 RTC) not detected
Replies: 11
Views: 13985

Re: I2C Device (DS1307 RTC) not detected

Hi, I too have successfully setup DS1307 electrically and can see it with i2cdetect etc, my query is can the DS1307 be setup as the source of date and time within linux and if so how is that achieved. I am new(ish) to Linux and wondered if there are standard drivers that would provide the connection...
by fulburncams
Tue Jun 26, 2012 5:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: kernel patch for Dallas 1-wire interface
Replies: 227
Views: 154444

Re: kernel patch for Dallas 1-wire interface

Hi Am i right in thinking that the solution being discussed uses a GPIO pin direct, what is wrong with using the DS2482 I2C-to-1 wire or equivalent . Is it not possible to use the DS 2482 chip to guarantee the 1-wire timing and interface electricla standards are complied with, sorry if I have misund...
by fulburncams
Sat Jun 16, 2012 1:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CLOCK REG INFO PLEASE HELP
Replies: 21
Views: 5908

Re: CLOCK REG INFO PLEASE HELP

Gert

Tried changing the PWMCLK_DIV value but it still made no difference, so instead I have changed range value instead and that seems to have worked.

Thanks
Steve
by fulburncams
Sat Jun 16, 2012 11:47 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CLOCK REG INFO PLEASE HELP
Replies: 21
Views: 5908

Re: CLOCK REG INFO PLEASE HELP

Gert Thanks for the input, I am trying to drive an L298 motor drive chip which has slow rise and fall times ( of the order of 1-2 uS) and as such having a clock frequency of 600Khz means that the chip is spending a lot of time transitioning between high and low, hence I am hoping to slow the clock f...
by fulburncams
Fri Jun 15, 2012 4:13 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CLOCK REG INFO PLEASE HELP
Replies: 21
Views: 5908

Re: CLOCK REG INFO PLEASE HELP

Dear Gert

Many thanks, I tried changing it to 512<<12 but this had no effect,so tried 32<<12 and 64<<12, always the same. I guess I am doing something wrong. Is there another register I need to write to to have some effect ?

Regards
Steve
by fulburncams
Fri Jun 15, 2012 1:52 pm
Forum: General programming discussion
Topic: Java or Mono for basic GUI rPi apps?
Replies: 23
Views: 10470

Re: Java or Mono for basic GUI rPi apps?

Hi I use Java with Netbeans (very nice IDE) running on Win 7 , download (using WinSCP) either JAR's direct or recompile the .java files into .class files using OpenJDK on RPi. Any low level stuff I am using JNI with hacked C shared library. Although I have run small GUI / Swing apps I intend to use ...
by fulburncams
Fri Jun 15, 2012 12:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CLOCK REG INFO PLEASE HELP
Replies: 21
Views: 5908

CLOCK REG INFO PLEASE HELP

Hi, I am trying to set a low clock frequency for the PWM can anyone tell me where the register definitions are for the PWM0 clock, I have looked in the BCM2835 manual but cannot find anything, and from others code I have gleaned that there are some registers as follows #define CLOCK_BASE(BCM2708_PER...
by fulburncams
Mon Jun 11, 2012 1:05 pm
Forum: HATs and other add-ons
Topic: gertboard accessibility
Replies: 16
Views: 6158

Re: gertboard accessibility

Hi I have used the wiringPi code from [email protected].net (see earlier posts) and hacked it to enable me to use Java and JNI ( if I can do it anyone can ). I now have boards working with Leds blinking and i2c chips talking. I have built two boards, first was stripboard and second is a PCB as the Gertb...
by fulburncams
Sun Jun 10, 2012 4:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Example I2C Code
Replies: 4
Views: 33408

Example I2C Code

Hi Has anyone an example of actual working 'C' code to write to the I2C port on the Raspi. I have built my hardware and can set/clear GPIO bits , pwm etc but could do with some help in sending and receiving data to/from I2C devices. I am new to 'C' (and cant do Python yet). As I am portng an exiting...
by fulburncams
Tue May 29, 2012 9:12 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: kernel patch for Dallas 1-wire interface
Replies: 227
Views: 154444

Re: kernel patch for Dallas 1-wire interface

Frank I tried your script and it seems to have stopped my RASPI. I had a clean build, and was running from serial port using sudo. After the last line the RASPI rebooted and never came back, just the single red led came on. Tried powering the RASPI off but no luck. I had not changed the elf file fro...
by fulburncams
Mon May 21, 2012 5:25 pm
Forum: General discussion
Topic: Can it run java 1.6?
Replies: 14
Views: 9555

Re: Can it run java 1.6?

Hi I am running OpenJDK and it seems to work fine but only tried small graphics and text based apps so far. My goal is to run it as a small server so no graphics on the Raspi, just serving applets to clients. Currently struggling with JNI to get access to GPIO via C examples on the Wiki. I use Netbe...
by fulburncams
Fri May 18, 2012 9:34 am
Forum: Troubleshooting
Topic: usb WiFi woes
Replies: 9
Views: 2951

Re: usb WiFi woes

Hi I made my own cable. I broke the 5v from the Raspi and fed external 5v direct to the adapter. I kept the 0v intact and attached my supply 0V to it for a refernece. The other two wires ( normally green and white are the data+ and data - which I connected straight through. All this was done as tidi...
by fulburncams
Thu May 17, 2012 9:32 pm
Forum: Troubleshooting
Topic: usb WiFi woes
Replies: 9
Views: 2951

Re: usb WiFi woes

Hi This all sounds familiar, there are issues with using USB Hubs which you can search the forum for. Try searching for 'wifi' and 'wireless'. I finally got my TP722n working after removing my hub and then powering the adapter directly from an external supply, but you will see from the Forum there h...
by fulburncams
Thu May 17, 2012 8:32 am
Forum: Troubleshooting
Topic: New PSU... but "repeated keypresses" problem persists
Replies: 8
Views: 3447

Re: New PSU... but "repeated keypresses" problem persists

Hi I use the same Nokia charger and mine works fine, delivers 1.2A max. I used a Belkin 5 port hub when trying to get a WiFi adapter working and the hub caused the repeated key problem, I understand there is an issue with supporting hubs and mixed low/high speed USB devices and I think there is a pa...
by fulburncams
Wed May 16, 2012 4:29 pm
Forum: Troubleshooting
Topic: GPIO: Register Addressing
Replies: 20
Views: 7684

Re: GPIO: Register Addressing

ALL working now, thanks
by fulburncams
Wed May 16, 2012 4:18 pm
Forum: Troubleshooting
Topic: GPIO: Register Addressing
Replies: 20
Views: 7684

Re: GPIO: Register Addressing

Realised my mistake, now moved wiringPi.h to right place.. but now hit following problem

[CC] gpio.c
[link]
gcc -o gpio gpio.o -L/usr/local/lib -lwiringPi
/usr/bin/ld: cannot find -lwiringPi
collect2: ld returned 1 exit status
make: *** [gpio] Error 1


PLEASE IGNORE _ CODE NOW BUILT
by fulburncams
Wed May 16, 2012 4:05 pm
Forum: Troubleshooting
Topic: GPIO: Register Addressing
Replies: 20
Views: 7684

Re: GPIO: Register Addressing

Gordon I copied the code to my Raspi. I managed to compile the wiringPi code under a directory wiringcode and that created files called libwiringPi.a and wiringPi.o using make command. Then i tried compiling the gpio code under the gpio folder using the make command and got the following [CC] gpio.c...

Go to advanced search