Show Posts
Pages: 1 ... 18 19 [20] 21 22 ... 119
286  Using Arduino / Microcontrollers / Re: Standalone arduino acting weird on: June 26, 2014, 05:59:19 pm
I see you have capacitors next to your 78x05 regulator.
But i seem to miss the smaller capacitors like 100 nF.
Add one close to the output of that regulator.

Measure the voltage level at the reset pin (the lower pin of the 10K pull up resistor):
Does it go to a level that is HIGH ?
Does it drop to LOW when you press the switch ?
If not, does your setup reset when touching that lower pin of the 10 K resistor to the cooling tab of the regulator (which is supposed to be GND) ?
287  Using Arduino / Displays / Re: LCD keypad shield (dfrobot) doesn't work on: June 24, 2014, 05:06:46 pm
I can confirm that this SKU 118059 shield has the problem (haven't had trouble because of that, but that beside) that is addressed here.

The constructor that fits it is:
Code:
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
So that is correct in your code.

The USB connector doesn't touch those pins, it's about 3 mm (0.12 ") inwards from those pins on the shield.

I have written a review (along with 76 others) about this product, part of what is in it:
Quote from: me
Cons:
Unit was DOA, with a non working display. After ordering and receiving a new display, fixing it was easy. There's no data available (haven't foud one yet) so had to follow the traces to find out how to set it up, which is an easy job. Display updates a bit slow compared to some other one i tried.

Other:
So here's the setup for the display part: LiquidCrystal lcd(8, 9, 4, 5, 6, 7); Reading the keys on analog(0) returns (usb powered): Select : 723 Left :482 Up : 133 Down : 308 Right : 0 The value "Down" will probably always be 0 but the other ones can vary because of external influences like load of the power supply and temperature. so you would have to test for a range covering mentioned values.

Indeed, check for bad contacts, if you have any soldering skills, just redo the pins from display to shield, and shield to Arduino headers.
288  Using Arduino / Displays / Re: LCD keypad shield (dfrobot) doesn't work on: June 23, 2014, 06:05:44 pm
Hi.

Could you mention the DX SKU (article number) of this device ?
Also, show the example sketch you used.
And please put that in [code] [/code] tags.
This might shed some light on the problem, but we need both SKU and sketch.

I did receive a defective display in a similar DX offer, but that didn't show anything (no first row boxes like yours), confirming floresta's answers.
In the unlikely case this would be a defective display, my experiences with DX in such cases are positive.
But you have to be absolutely sure that there is some defect instead of a software failure.
289  Community / Website and Forum / Re: Karma? on: June 20, 2014, 04:35:44 pm
You have a post count of 3 at this moment.
I don't know, but it is likely that you have to have a minimum number of posts before you can add karma.
 
290  Using Arduino / General Electronics / Re: MEGA + ENC28J60 (Comunication issues) on: June 19, 2014, 05:52:04 pm
Thanks.
Good to see you posting your progress.
People tend to forget that once their problem has been solved.
291  Using Arduino / Displays / Re: Dead LCD Display? on: June 19, 2014, 05:47:20 pm
Glad to see you solved it.
Saves you a buck or two and some time because you don't need to go and get yourself a new one.

Few lessons to learn from this:

Don't give up too fast (ask for help instead).

There's a whole lot of crappy tutorials.
"Make" sites are notorious for screwing enthusiasts that are eager to learn with tutorials that are just plain wrong and will never work, complete with replies of people telling how well it works for them.
If a tutorial tells you how to do something (because that's the way the author did it), but not why and how it works, it has a bad smell.
If there is an explanation that doesn't seem to make sense, some checking would be a good idea.

But now: on with your Display Discoveries.
292  Using Arduino / Displays / Re: Dead LCD Display? on: June 18, 2014, 04:34:12 pm
Hi and welcome.

First things first, let's get the backlight lit.
You have a 220 Ohms resistor, i'm guessing because you want to reduce LED current and know a 220 will do in most cases.
But that's for a standard LED, and this isn't one of those.
The datasheet tells this about the LED backlight:

Supply current: Min 104 mA, Typical 130 mA, Max 150 mA
Supply Voltage: Min 4.0 V, Typical 4.2 V , Max 4.4 V

These are the numbers you should use to calculate the resistor for your LED.
You are powering it from 5 volts

You can use help available from internet to calculate the correct resistor.
Google for "LED calculator", and you;ll be offered a bunch of tools to use.
You'll find out that that 220 Ohms resistor might be a bit too much.

After you have the backlight going, we'll have an other look at getting that display to show some characters that can actually be seen.
293  Using Arduino / General Electronics / Re: MEGA + ENC28J60 (Comunication issues) on: June 15, 2014, 05:24:26 pm
I meant to measure on the module, not on the Arduino.
That also means to look for 3.3 volts.

The regulator i was speaking of, would also be some regulator on board the module, not the Arduino.
I have no idea if there is such a regulator on that board at all.

If there is almost no difference in time before failure after a reset, then it will be less likely that some heating problem in a regulator is causing your trouble.
But that also depends on the design.
294  Using Arduino / Displays / Re: Display LCD compatible with LiquidCrystal library on: June 15, 2014, 06:03:56 am
Hi.

Doing a quick search and following some of the information in the results, tells the DEM16216 has a chip that is HD44780 pin compatible.
That chip is ST7066U.
The display datasheet and/or the ST7066U datasheet only mention pin compatibility, nothing about driver compatibility.
You'd have to study the commands that both chips support.

I'm pretty sure thee are compatible though, and if i were in your shoes i would go for it.
295  Community / Website and Forum / Re: What is the "ghost"? on: June 15, 2014, 05:39:16 am
By right-clicking on the icon next to my name, copy/paste the link to it in a new tab and study it for a bit.
This is the link (made unclickable): http://forum.arduino.cc/Themes/arduinoWide/images/icons/male.png
Guessing the two other links wasn't very hard, replaced male by female and ghost.

I'm using Firefox, don't know about other browsers.
296  Using Arduino / General Electronics / Re: MEGA + ENC28J60 (Comunication issues) on: June 14, 2014, 06:53:32 pm
Hi and welcome.

I don't know that module.
But the way you told your story might point to a power issue on the module.
Maybe some regulator gets too hot after a while of working.
Do you have a multimeter available and are you able to do some measurements on the module ?
Can you find out if the power is available on different parts of that module at all times ?
If you do a reset, will the time to failure be shorter or is it about the same ?
297  Community / Website and Forum / Re: What is the "ghost"? on: June 14, 2014, 06:31:18 pm
I just tried, and found these:

Unknown:

Female:

Male:


So you are right.
298  Using Arduino / Motors, Mechanics, and Power / Re: Servos keep damaging on: June 14, 2014, 06:27:17 pm
Do you allow some time to pass before you are sending a new position (in the other than the most recent travel direction) ?
I can imagine some damage could be done if you are moving the servo back and forth, while it is still moving, and under load.
299  Community / Website and Forum / Re: What is the "phantom"? on: June 14, 2014, 06:09:21 pm
That ghost icon indicates that you didn't enter your gender.
So it's unknown whether you're a girl or a boy.

As you can see, i did enter that information in my profile once.
300  International / Nederlands / Re: Communicatieprobleem tussen Arduino en Processing on: June 14, 2014, 05:41:13 pm
Dan moet je probleem in processing zitten.
Ik ken processing verder niet dus zeker ook de kneepjes niet.

Maar hier zie ik wel een aandachtspuntje:

Code:
void ON_OFF(boolean btnEnabled) {
  if (btnEnabled==true) {
    sendMove(6, 180);
    servosEnabled = true;
    println("Servos enabled");
  }
  else if (btnEnabled==false) {
    sendMove(7, 0);
    servosEnabled = false;
    println("Servos not enabled");
  }
}

Want je kijkt hier of btnEnabled waar is (waar betekent anders als 0).
In dat geval doe je iets, en omdat je daar niet over klaagt, neem ik aan dat dat werkt.
Als bij die controle is gebleken dat btnEnabled niet anders als nul was (dit is het woordje "else"), kijk je of ie dan misschien wel nul was (in "if (btnEnabled==false) ).
Das dubbelop en daarom onnodig.
Dus die tweede if kun je gewoon eruit slopen en daarmee je code wat optimaliseren.

Sterker nog, je kunt ook de ==true eruit slopen, zodat je alleen dit krijgt in die regel:
Code:
  if (btnEnabled) {
Dat moet net zo goed werken, maar of dat de schoonheidsprijs zal winnen is dan maar de vraag.

Verder raad ik je aan om in je println, ook de waarde van die btnEnabled te verzenden (bij wijze van debugging).
Dat kan je verraden waarom je die 7 nooit verzendt.
Pages: 1 ... 18 19 [20] 21 22 ... 119