Show Posts
Pages: [1] 2
1  Forum 2005-2010 (read only) / Troubleshooting / Re: serial buffer overflow in Serial monitor? on: January 23, 2008, 10:51:25 am
Thanks,  I'll be more careful in my debugging from now on!

As an aside, I've read on the forums the arduino gets reset when the serial monitor is activated/deactivated.  Is this true?
2  Forum 2005-2010 (read only) / Troubleshooting / serial buffer overflow in Serial monitor? on: January 23, 2008, 09:27:58 am
I'm using Arduino 0010 on Windows XP  and I've noticed a problem with the serial monitor grinding to a halt (buttons unresponsive, application hangs) when I use Serial.print(myIntValue) in the main loop function if I don't use a delay();

I'm guessing it's caused by overflowing a buffer somewhere (don't know which end of the connection). Unplugging the arduino then caused all sorts of java error messages to appear.
        
I know common sense  :smiley says not to flood the serial output like this, (I was just trying to debug a problem) but I didn't expect the software on the PC side to lock up.  Is this expected behaviour?

As an aside, I've read on the forums the arduino gets reset when the serial monitor is activated/deactivated.

Should I be using a higher baud rate?  What's the maximum I can attain via USB to the serial monitor in windows?


Code:
void setup()                    
{
  Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Hello world!");  // prints hello with ending line break
}
        
void loop(){
  val = digitalRead(inputPin);  // read input value
  Serial.print(val);
  if (val == HIGH) {            // check if the input is HIGH
    digitalWrite(ledPin, LOW);  // turn LED OFF
  } else {
    digitalWrite(ledPin, HIGH); // turn LED ON
  }
}
3  Forum 2005-2010 (read only) / Français / Re: Fournisseurs de composants en France ? on: January 23, 2008, 03:38:38 am
Voici des liens sur des autre sites de composants avec des frais de port raisonnable :

(Les liens sont direct aux pages de livraison/frais de port)

http://www.gotronic.fr/reframe.php?page_cible=comment_cder.htm

http://www.alscomposants.com/boutique/infos_livraison.cfm?code_lg=lg_fr

http://www.selectronic.fr/cgv.asp#03

Maintenant il faut les demandées à stocker l'Arduino sa famille des accessoires  !
4  Forum 2005-2010 (read only) / Français / Re: Fournisseurs de composants en France ? on: January 23, 2008, 02:08:25 am
Quote
http://pcb-europe.net/catalog/product_info.php?cPath=29&products_id=51
En fait, j'ai acheté ce kit de pcb-europe, et je trouve le prix de livraison gonflé.  
15 Euros pour un petit colis très léger, et 10 jours d'attente.  

Ok, d'être juste, j'ai reçu le kit hier, et je trouve c'est très bon pour le prix.  Pas mal de composants à jouer avec :
KIT with all the parts to partecipate to an Arduino Workshop - Base Level

It is made of:
1 Arduino Diecimila Board + 1 USB cable
1 Straight single line pinhead connectors 2,54 40x1
1 Breadboard, 840 tie points
1 Set of 70 breadboard jumper wires
5 10K Ohm Resistors 1/4W
5 2.2K Ohm Resistor 1/4 W
10 220 Ohm Resistors 1/4W
5 330K Ohm Resistors 1/4W
5 100nF capacitor polyester
5 10nF capacitor polyester
3 100uF electrolytic capacitor 25Vdc
1 4,7K Ohm Thermistor
1 70..100K Ohm LDR VT90N2
3 5mm RED LED
1 5mm GREEN LED
1 5mm YELLOW LED
1 10Kohm linear potentiometer, pcb terminals
2 BC547 Transistor in TO92 Package
1 Piezo buzzer
5 PCB Pushbutton, 12x12mm size
4 4N35 Optocoupler DIL-6 package
2 Tilt sensor
1 Diode 1n4007
1 MOS Irf540

Maintenant il faut que je trouve des tutoriels pour utiliser tout ça !

Et oui, je n'ai toujours pas trouvé des autres fournisseurs en france.  Il n'a pas un équivalent de Radio Shack (USA) ou Maplin (Royaume-uni) en france ?
5  Forum 2005-2010 (read only) / Français / Re: Fournisseurs de composants en France ? on: January 22, 2008, 09:04:20 am
Quote
je cherche des kits electroniques de ce genre:
http://pcb-europe.net/catalog/product_info.php?cPath=29&products_id=51

En fait, j'ai acheté ce kit de pcb-europe, et je trouve le prix de livraison gonflé.
15 Euros pour un petit colis très léger, et 10 jours d'attente.  :-/

6  Forum 2005-2010 (read only) / Français / Fournisseurs de composants en France ? on: January 22, 2008, 02:13:15 am
Bonjour,

Je suis anglais et j'habite en France, près de Versailles.  Je cherche un fournisseur de composants électroniques en ligne ou un vrai magasin.  J'ai déjà utilisé le site Conrad, mais je trouve que ils sont cher.  En plus la livraison coût 8 euro minimum.

Je connais aussi le magasin VART avenue St Cloud à Versailles, et un autre à Palaiseau, mais leurs chois de stock sont limités.

Quelqu'un connais des bons sites ou magasins ?

Merci d'avance,

Phil

7  Forum 2005-2010 (read only) / Interfacing / Re: 16x2 VFD display on: February 04, 2008, 04:46:10 am
It's actually the 17th character that's addressed at position 0x24.
I'm thinking the gap in the memory is to enable a quick "shift" of off-screen characters in to the visible part of the display.

Quote
I wonder if your LCD is different from the 16x1 info here: http://www.myke.com/lcd.htm
It's a VFD that is "LCD compatible", but I don't know if that means the form factor or the interface communication.

I tried to get the VFD brightness to change, but that didn't work.  
I'm not sure how to hide the cursor either.

I've yet to get the detailed data sheet.

I'm very happy that it cost 1 euro (ok the shipping was 3 euros), but for something that's priced online at 60 euros I think I got a bargain.

Phil
8  Forum 2005-2010 (read only) / Interfacing / Re: 16x2 VFD display on: February 04, 2008, 02:59:56 am
Well I got it working this weekend (in 8 bit parallel mode).  Works great with the LCD library, although I had to comment out some of the declarations that conflict with some of the wiring declarations which come with arduino 0010.  The details of that problem are discussed here : http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1200450329/0

What I did find though was that in order to write to the second line in the display, I had to enter 24 dummy characters after the first line of 16 to get to position 40 (decimal) in the devices memory, as that's where the second row's memory starts.  Not sure if I can actually make the cursor hop to position 40 before writing, so I just filled positions 17 to 39 with dummy characters.  Is there a tidier way of doing this?

Next mission, 4 bit mode with the 74H595.....

9  Forum 2005-2010 (read only) / Interfacing / Re: 16x2 VFD display on: January 25, 2008, 07:58:23 am
According to the simple datasheet it has a :
Quote
Selectable 4/8 bit M68/i80 Interface

The high speed 8 bit parallel interface is 5V CMOS
compatible suitable for connection to a host CPU bus
which can be set to M68 or i80 series interface by a solder
link on the module.

You're right, I really need to get hold of the detailed datasheet.

Phil
10  Forum 2005-2010 (read only) / Interfacing / Re: 16x2 VFD display on: January 25, 2008, 07:18:34 am
I just took a look at the LCD library.  Looks good.

It look like it'll use up 10 of my data lines  :o .  I was hoping serial communication would be possible.  Anyone know?

I'll try out the example given in the LCD library and take it from there.

Thanks,

Phil
11  Forum 2005-2010 (read only) / Interfacing / 16x2 VFD display on: January 25, 2008, 04:04:14 am
Hi,
I just bought one of these from ebay :



And I've found a basic datasheet : http://dkc3.digikey.com/Media/PDF/Data%20Sheets/Noritake%20PDFs/CU16025ECPB-W6J.pdf

Has anyone had experience in wiring up and writing to one of these devices?
Judging by what I've read on the datasheet, it looks like it needs 8 bits of parallel input.   :-/  

I'm hoping they're fairly generic and use the same or similar methods to write to them.

I'll try to get a more detailed datasheet if necessary.
12  Forum 2005-2010 (read only) / Interfacing / Re: Lessons based on the KIT Workshop - Base level on: January 24, 2008, 03:16:48 am
I've completed all of ladyada's lessons (they're very clear and concise), I'm a programmer by day, so it didn't take long to complete all the lessons. It's more the electronics side of things I need to get up to speed on.  I'll continue with the examples from todbot.

Thanks again,

Phil
13  Forum 2005-2010 (read only) / Interfacing / Lessons based on the KIT Workshop - Base level on: January 24, 2008, 02:50:36 am
Hi,

I've already asked this question in the workshops forum, but I didn't get any replies, so I'm trying here.  (Sorry to double-post my question).
 
Does anyone know where I can find some lessons online, based on the KIT Workshop - Base level?
 
The kit is available in the PCB Europe website, http://pcb-europe.net/catalog/product_info.php?cPath=29&products_id=51
Quote
KIT with all the parts to partecipate to an Arduino Workshop - Base Level

It is made of:
1 Arduino Diecimila Board + 1 USB cable
1 Straight single line pinhead connectors 2,54 40x1
1 Breadboard, 840 tie points
1 Set of 70 breadboard jumper wires
5 10K Ohm Resistors 1/4W
5 2.2K Ohm Resistor 1/4 W
10 220 Ohm Resistors 1/4W
5 330K Ohm Resistors 1/4W
5 100nF capacitor polyester
5 10nF capacitor polyester
3 100uF electrolytic capacitor 25Vdc
1 4,7K Ohm Thermistor
1 70..100K Ohm LDR VT90N2
3 5mm RED LED
1 5mm GREEN LED
1 5mm YELLOW LED
1 10Kohm linear potentiometer, pcb terminals
2 BC547 Transistor in TO92 Package
1 Piezo buzzer
5 PCB Pushbutton, 12x12mm size
4 4N35 Optocoupler DIL-6 package
2 Tilt sensor
1 Diode 1n4007
1 MOS Irf540

and is intended (I presume) for the basic workshops.  I'm interested to know if anyone has put together any lessons online  based on this kit, or if I can download course content for a workshop.

I sort of  :smiley know what most of these components can do individually, but without knowing what the intention was for the workshop with using these components together it's a bit tricky to know.

I'm ok with the resistors the variable resistance components, the LEDs the buzzer and the switches, I'm guessing the MOS Irf540 could be used for driving a motor or other differing voltage or current device (with the 1n4007 diode stopping it acting like a dynamo).  The opto coupler to act as a switch for another circuit So I guess that leaves just the capacitors and the BC547 Transistor.  If anyone can point me in the right direction (and correct what I've already assumed!  smiley )
I'd appreciate it.

For the moment I've read all lessons pages from LadyAda and I'm going to look at TodBots stuff, so it's not like I'm completely stuck or anything.
 
Thanks in advance,
 
Phil
14  Forum 2005-2010 (read only) / Interfacing / Re: connecting to Washing machine LCD on: January 18, 2008, 04:42:57 am
Ok I didn't manage to desolder it as I don't yet have a solder sucker.  But I did manage to get it to light up all the elements of the display.  
I think it is backlit, but I didn't get that to light up.

What I did find by touching combinations of pins with 5V is that it's a combination of a digit display 8888 followed by washing machine specific icons.
Although it seemed that most pin combinations  showed all value "onon" in the numeric part activated all the icons.  Other combinations caused it to flicker very quickly.

Once I've got my desoldering tool I'll maybe find the serial number and maybe find a datasheet!

Phil
15  Forum 2005-2010 (read only) / Interfacing / Re: connecting to Washing machine LCD on: January 17, 2008, 04:45:20 am
Thanks for the quick reply.  

I'm thinking the board is the main brain of the washing machine.  I've looked all over the board and the LCD and not found an ID number.  I'll desolder it when I get home tonight.  It's bound to have something written on the back of it (I hope!)

So far I know about the shift registers and the microcontroller http://www.ortodoxism.ro/datasheets/FujitsuMicroelectronics/mXtwxrx.pdf

this site http://www.datasheetcatalog.com  looks like it'll come in handy!

Cheers,

Phil
Pages: [1] 2