Show Posts
Pages: 1 ... 9 10 [11] 12 13 ... 119
151  Using Arduino / Displays / Re: Problem connecting Arduino UNO and SaintSmart 20x4 on: August 02, 2014, 09:03:56 am
I missed that you wired it to 3 volts, but i don't think that is correct.
The unit i'm using is connected to 5 volts, but it isn't one from sainsmart.

I pointed out that you need to use the correct library.
This is what the sketch tells you:
Quote from: sketch
*  It requires using fm's LiquidCrystal library replacement:
 *  https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
 

You do not need to use this sketch if you know what adapter you have.
Because then you can find the correct settings to tell the library at which PCF8574 pins what LCD pins are connected, and that is what you need to know and tell the library.
You should be able to find this by visiting the website of the product.
If there is no website available, the above mentioned guesser comes in.

Perhaps you should wait for bperrybab to chime in (if he does see this thread), but as he's been telling about this sketch in 2013 (after introduction of IDE > 1.0), i assumed there are no issues left.
That could turn out incorrect, which does happen when assuming things.
152  Using Arduino / General Electronics / Re: What is a jack plug on: August 02, 2014, 08:08:39 am
Should i really explain this ?
153  Using Arduino / LEDs and Multiplexing / Re: Fading an RGB LED on and off on: August 02, 2014, 08:05:34 am
That means that you need to have a minimum level of one, not of zero.
The red needs to be higher than one, the sketch you showed would allow for either 2 or 3 as the lowest value for that (as you can't have the value 2.55).

There is indeed a minimum voltage for a LED to light.
But that's the beauty of PWM: the voltage is either zero or five volts (with an Arduino).
Your multimeter averages (takes about a second to do that) this, and would approach the value to some milli voltage shown.
That means your LED will be actually lit at full brightness, but for a very short time.
Your eyes do the averaging, like the multimeter does.

If the stepping isn't a problem you can ignore it.
Or ignore it for now.
You can try to improve towards a logarithmic scale later.

But first things first, let's get that LED dimmed without the color shifting noticeably.
154  Using Arduino / General Electronics / Re: What is a jack plug on: August 02, 2014, 07:38:22 am
Well, then this must be an interesting case, as both connectors seem to be of the hermaphrodite kind...
155  Using Arduino / Displays / Re: Problem connecting Arduino UNO and SaintSmart 20x4 on: August 02, 2014, 07:28:57 am
Yes you can.
A *.pde file is an Arduino sketch, made with an IDE version lower than 1.0.
You can open it by pointing to the Arduino program, or drag it to an already open IDE, i just tried that.
I can't tell how to do that if you are a non windows user, because i don't know.

By the way:
Read the requirements mentioned in the comments in top of the sketch.
156  Using Arduino / Displays / Re: Problem connecting Arduino UNO and SaintSmart 20x4 on: August 02, 2014, 07:09:06 am
Hi.

Your information is insufficient, even though you put your test sketch in code tags.
What problem do you have ?

First thing that comes to mind is to use bpedrrybab's i2cLCDguesser sketch (click !).
157  Using Arduino / Displays / Re: Need help with i2c adaptor for 16x2 lcd on: August 02, 2014, 07:01:19 am
Did you try bperrybap's i2cLCDguesser sketch yet ?
Read that thread, the link leads you to the post that has the sketch in a zip file attached, but there is some good reading in the thread.
158  General Category / General Discussion / Re: Original or clone? on: August 02, 2014, 06:46:22 am
Quote from: johnwasser
Another difference: they seem to have taken the  "Made in Italy" text off the front (but not the R2-style back).

Same picture shows "Made in Italy" in the dead center of the front, next to the reset enable jumperpads.
And it's on the back too indeed.
159  Using Arduino / Displays / Re: Chipsets compatable with Hitachi HD44780? on: August 02, 2014, 05:54:14 am
Google's 2nd result.

That seems to answer your question.
Remember that compatible chipset doesn't mean same pinout.
So you need to check the datasheet before you go out to order one of those.
160  Using Arduino / LEDs and Multiplexing / Re: Fading an RGB LED on and off on: August 01, 2014, 06:38:11 pm
In the code, you are checking each color each iteration, before you change it's value.
Are you sure you need to do that that way ?
I'd have a counter running, and use that counter and some math to get the next value.
Ask yourself whether you need to have this done in a hundred steps, or could you also have larger steps ?

But let's first get some closer to the dimming first, before you concentrate on refining it.
161  Using Arduino / LEDs and Multiplexing / Re: Fading an RGB LED on and off on: August 01, 2014, 06:02:59 pm
The color is made by the ratio between its components.
You need to keep as tight as possible to that combination.
Your ratio red to green is about 4.13 to 1.
Edit:
This is valid to the example in the first post, not to that what is in your posted code !
162  General Category / General Discussion / Re: Export and read .cad files to arduino on: August 01, 2014, 04:07:39 pm
Hi artemis001.
Today you had a "not so good start" at this forum.
Maybe tomorrow will be a better day.
To help that happening, take some time to read the manual of this forum (click !).
You'll learn how things work and what is expected from you using this forum.
After having done so and understanding that, try again in this  thread please.

If you want to build a 3D printer, maybe it would be a good idea to figure out how other 3d printers work.
I can tell you that those printers do not read a CAD file.
The CAD program will export a file in another format that tells the 3D printer what to do.
The calculations are done by the CAD program (or a separate program), not by the printer.

So study this, so you can find out what steps to take next.
You won't be 3d printing using your self built printer this year, starting from scratch.
163  Using Arduino / Microcontrollers / Re: How do I actually code this? on: August 01, 2014, 03:07:37 pm
Are you asking how to code (as the title tells), or are you really asking how to program the chip ?
That's a big difference.

If the question is about HVSP, you'd need additional hardware.
Programming that way requires putting a 12 volt level to the /reset pin, and your Arduino can't do that without a little help.
In normal use the /reset pin is at the 5 volt level.
A reset is forced by pulling it to GND level.
And in this case putting 12 volt to it will have it enter programming mode.

This is only valid for certain chips, you will do serious damage if you try this on chips that do not support it.
164  Using Arduino / General Electronics / Re: What is a jack plug on: August 01, 2014, 01:30:51 pm
Quote from: seal308
I dunno, this book bothers me. Tells me to get the parts, make he circuit but doesn't explain why these parts work why I need this particular version of the component.

Because of that remark, i downloaded the book and had a look at it.
As these books go, this one isn't bad at all.
The transistor is discussed a few pages further (page 101), but within this project.
No doubt not everything that can be told about transistors is discussed here, you can fill entire libraries and still not cover everything.

My advice:
Read the entire section before you start building or experimenting with your project.

And start reading from page 1, don't start at the first project that interests you (i'm not saying you didn't or blaming you for anything here).
The further you progress in the book, the more is assumed you read the previous content and learned from that.
Maybe tedious, but that's how the book (any book) was written.
165  Using Arduino / General Electronics / Re: What is a jack plug on: August 01, 2014, 12:45:39 pm
Seems OK to me.
See the plug on the battery holder ?
That plugs into the barrel jack i pointed to and you have in your list.
That motor is very small.
The shop does not mention any kind of current this motor requires, and that is a very important item to select the motor and the other components, especially the transistor,  on.
Pages: 1 ... 9 10 [11] 12 13 ... 119