Show Posts
Pages: 1 [2] 3
16  Forum 2005-2010 (read only) / Français / Re: bus SPI 1 maître et 2 esclaves, comment fait on ? on: June 01, 2009, 10:41:31 am
ok, compris. Mais comment puis-je separer les deux esclaves si'ils sont sur le même ARDUINO PIN 10 (SS)? La separation doit être fait dans le code, correct? Et comment? Esc-que il y a une example quelques parts?
Merci pour l'aide,
Hans.
17  Forum 2005-2010 (read only) / Français / Re: bus SPI 1 maître et 2 esclaves, comment fait on ? on: May 31, 2009, 07:46:02 pm
Salu 'harima2',

est-ce que tu as trouvé une solution pour cette probleme (2 slave devices on one ARDUINO)?.

J'ai exactement le même probleme et j'aimerai the connaitre la solution.

Merice, Hans.
18  Forum 2005-2010 (read only) / Interfacing / Re: Nokia 6100 LCD Display - Arduino Playground on: May 05, 2009, 08:57:29 am
Hi,
I've got the Nokia 6610 LCD Display from http://www.nuelectronics.com and it works pretty well for me.
Same as http://www.sparkfun.com/commerce/product_info.php?products_id=8683

Even though my application uses a slightly different LCD Module, nevertheless I thought I give you this hint - it might get you a step further.
The Nokia 6610 (from nuelectronics.com) works only with the ARDUINO IDE 0011.
More details about this project here at:http://www.halo-photographs.com/remote-shutter-release-timer/.

For my part, when going through the menu-pages ARDUINO resets itself. Probably an issue with variables - don't know yet. Hints are highly appreciated.

Please let me know if this helped you to get a step further.

Rgds, Hans.
19  Forum 2005-2010 (read only) / Interfacing / Nokia LCD shield on Arduino Mega on: September 01, 2009, 10:51:52 am
Hi all,
habe been using the Nkoia LCD shield from 'Nuelectronics' quite a while.
Tried to get the same shield up and running on Arduino Mega - all I get is a blue screen.
Does anybody got this working allright and what would the solution be like?

Thanks, Hans.

20  Forum 2005-2010 (read only) / Interfacing / SPI issues with Nokia-LCD using PCF8833 on: August 13, 2009, 09:17:00 pm
Hi all,
I am using an ARDUINO 2009 with the Nokia LCD that has the Philips PCF8833 controller and it's working allright, by itself.
Once I use it with another shield, that also works fine by itslef, the LCD stops responding.
I am most certain that there is an issue with SPI or with the timers as the Pins in use do not get into each others way.

So I am wondering if anyone has got this LCD running properly on an ARDUINO 2009 in conjuction with another shield that is also using SPI (like an Ethernet shield)?

I am seeking information about a fully functional library for this LCD that is able to make use of SPI.

The LCD-shield I've got is from 'nuelectronics'. I think this is a great shield, especially with its 5-way joystick driving for example the menu-sketch that is also very usefull. Thanks to the inventor.
BUT the command 'SendLcd' in PCF8833.c is not establishing a proper SPI communication (in order to obtain data from another shield using SPI as well).

I'd be glad to find some working code and library from anyone who has a similar SPI project completed successfully.

Thanks, Hans.
21  Forum 2005-2010 (read only) / Interfacing / Re: seeking LCD, HD44780 comp., 20x4, 3.3V on: July 24, 2009, 06:21:51 pm
hd44780helper,

well, that's good news, thanks.
I think that I'll try the New Haven Display NHD-0420DZ-FL-YBW-3V3 and post back.
22  Forum 2005-2010 (read only) / Interfacing / Re: seeking LCD, HD44780 comp., 20x4, 3.3V on: July 24, 2009, 05:43:45 pm
EmilyJane,
hm, very interesting LCD you're suggesting and using, thank you.
What about ARDUINO compatible code for the controller SPLC780D that LCD is using?
Is it really compatible with a HD44780 controller?

I am intending to use an LCD on the Seeeduino v2.12 that must be running on 3.3V as there is another device (MAX3421E) that requires the operating voltage to be 3.3V.

The reason I am looking for an LCD with a HD44780 compatible controller is that there is plenty of working code around. But as 'hd44780helper' pointed out, that IC wants 5V and not 3.3V.


23  Forum 2005-2010 (read only) / Interfacing / Re: seeking LCD, HD44780 comp., 20x4, 3.3V on: July 24, 2009, 02:12:03 pm
Thank you Zageek,

Specifics is what I need, purchasing area is least important.

Which LCD('s) including controller would you suggest?

Same for the level translator.

Thanks, Hans.
24  Forum 2005-2010 (read only) / Interfacing / seeking LCD, HD44780 comp., 20x4, 3.3V on: July 24, 2009, 12:45:58 pm
Hi,
I am searching for an LCD that is HD44780 compatible,  min. 4x20 in size  and that runs on 3.3V.
Suggestions are most welcome.
Thanks, Hans.
25  Forum 2005-2010 (read only) / Interfacing / Re: Humidity and pressure over SPI on: June 13, 2009, 10:25:06 am
Did you get the code to work for you?

I've got a similar problem where I want a NOKIA LCD shield and a USB port talk over SPI described at this post:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1244417398/0#0
Would be nice to find the solution for 2 slaves on one ARDUINO.
It's certainly possible but I don't know how it' done exactly.

26  Forum 2005-2010 (read only) / Interfacing / Moving PIN10 (SS/CS) to PIN4 on: June 07, 2009, 06:29:58 pm
Hello,

I've got a Nokia LCD shield that is working perfectly fine as long as it is the only device sitting on an ARDUINO.
I am now trying to make the Nokia LCD shield (A) work together with another board in development (B).
Both boards (A & B) use the SPI bus where SCLK, MOSI and MISO PINs are shareable. Also both boards use PIN 10 - but I need to keep PIN 10 reserved for the board in development(B).
Therefore I am trying to relocate PIN 10 for the NOKIA LCD shield (A) to some other PIN available.

At the moment I can make out 2 options (other suggestions are most welcome):
a) Move PIN 10 to digital PIN 4
or
b) with the aid of GPIO, move PIN 10 to analogue PIN 4.

Let's look at option a) first.
The NOKIA LCD shield uses the library 'PCF8833.h' where PIN definitions currently occur like in the code below:
Code:
/* Pin definition for Arduino boards */
#define CS 10
#define CLK 13
#define DATA 11
#define RESET 9
#define BL_ON  8

#define LCD_CS(x)           PORTB= (x)? (PORTB|(1<<PB2)) : (PORTB&~(1<<PB2))
#define LCD_CLK(x)          PORTB= (x)? (PORTB|(1<<PB5)) : (PORTB&~(1<<PB5))
#define LCD_DATA(x)         PORTB= (x)? (PORTB|(1<<PB3)) : (PORTB&~(1<<PB3))
#define LCD_RESET(x)        PORTB= (x)? (PORTB|(1<<PB1)) : (PORTB&~(1<<PB1))
#define LCD_BACKLIGHT(x)    PORTB= (x)? (PORTB|(1<<PB0)) : (PORTB&~(1<<PB0))
What would be the code for LCD_CS(x) to move from PB2 (PIN 10) to PD3 (PIN 4)?

I have tried to change the code for LCD_CS like below, but this did not work.
Code:
#define LCD_CS(x)           PORTD= (x)? (PORTD|(1<<PD3)) : (PORTD&~(1<<PD3))
What would be the proper syntax to move PIN 10 to PIN 4?

Option b) make use of GPIO:
I was told that:
Quote
The SS pin for SPI port, is the slave select pin. It is used when the ATMEGA168 is used as a SPI slave. In your case, the ATMEGA168 is used as a SPI master, so you can choose any GPIO pin as a SPI select pin. Just pull the GPIO pin low, before you do SPI transmission; and pull it high, when SPI finish transmission.
Meanwhile by searching and reading the I/O tutorials I understand both options in principle, but I have not much idea how to write the code so that it functions properly, especially since PIN 10 is defined in the library for the NOKIA LCD shield.

The solution envisioned is nicely published in Wikipedia describing the SPI bus.
http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus#Daisy_chain_SPI_configuration

Suggestions for either solution a) or b) are most welcome.

Further Information:
Thanks for questions and feedback, Hans.
27  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: LCD Ethernet SD with Arduino on: July 28, 2009, 08:18:14 pm
check out this one - it's all there
and functions well with an Ethernet-shield

http://www.watterott.net/projects/arduino-s65

Site is in german, but the schema and the demos are for all.
28  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: ...ARDUINO clock / speed ? on: March 21, 2009, 09:24:48 pm
Aha, an Optocoupler - great. This seems to be the solution.

Triggering the release is equally done like in a manual shutter release. Provided the camera is in 'Bulb'-mode (meaning: while the  trigger is pushed the shutter is open) the manual shutter release simply closes a circuit which in turn keeps the shutter open. Most of the Digital Camera that provide a manual release control the shutter speed that way. Many like a NIKON D300 or SIGMA SD14 allow to move the mirror-up upon tipping the release (to minimize vibrations) and then upon a second tipping of the release open the shutter.
But many photographers are not very happy with the camera makers as we are mostly limited to a max. of 30sec exposures.
So for a bracketing-job that breaks the 30sec. limit we are out of luck to obtain exposures in a fully controlled manner.
That's why I'd like ARDUINO take care of bracketed exposures while the camera is in 'Bulb'-mode. As described at the URL in the previous post. Actually J.Geerds is using an Optocoupler as you suggest (guess I've got to do my homework more serious).
Last open question is where to put the optocoupler onto the ARDUINO?

So you might wonder why I kind of try to re-invent what's been done already. Actually I'd rahter not, but the shield as propsed in J.Geerds solution is no longer available (at least I haven't gotten an answer from the providers at 'nuelectronics.com' for the past 2+ weeks by now). Therefore I started to get involved trying to find a way to obtain the same with another LCD Keypad module (16*2 HD44780) for ARDUINO. During that process I became really exited about ARDUINO and try to understand it all. I will certainly do more projects with it once I've got my photo-shooting under control.

Now you know the whole story.
Thanks for your attention, I know to appreciate it.
29  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: ...ARDUINO clock / speed ? on: March 21, 2009, 06:29:27 pm
To 'florinc':
Thanks for the URLs I have consulted both of them.
Here is another really interesting link about the same topic:
http://newyorkpanorama.com/2009/01/21/long-exposure-night-hdr-photography-with-arduino/

I agree, the easiest would be as you suggest. But the thing is that I want to keep the devices electronically separated. This to to ensure that existing warranty agreements are not violated in any form. The cameras involved cost a few k$s.

to 'retrolefty':
ok, got it - not floating point numbers, I will use microseconds and assume the command would be micros().
Too bad Relays don't work. That's almost clear now.

Quote
Relay contacts also 'bounce' on activation/deactivation and that can give false triggering unless dealt with.....
Would there be a reasonable way to deal with?

How could I accomplish the task with transistor switching and still keep the devices electrically separated?



30  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: ...ARDUINO clock / speed ? on: March 21, 2009, 02:59:37 pm
Thanks for the kind feedback.

So an ARDUINO with 16MHz would be able to execute '0.125' milliseconds defined in the code.
0.125 = millis();
(right?)

I assumed a limiting factor would be the relay.
Actually in my design I have planned that one relay (a) closes the circuit and another relay (b) re-opens that circuit after 0.125 millis.. This in the assumption to gain speed or at least to get closer to the 0.125 millis.

Any suggestions for 'really fast' relays other than a transistor?
...or another alternative?




Pages: 1 [2] 3