Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 112
61  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.
62  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 !
63  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.
64  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.
65  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.
66  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.
67  Using Arduino / General Electronics / Re: What is a jack plug on: August 01, 2014, 12:33:25 pm
I guess the 2nd link leads to the project you're at right now ?
This is a barrel jack (click !), which is probably what you're looking for.
Your Arduino is likely to have one too.
68  Using Arduino / Displays / Re: Large 16x2 HD44780 LCD display. on: August 01, 2014, 12:04:24 pm
Larger - by what factor ?
69  International / Nederlands / Re: USB Host Shield voor het aansturen van GSM Terminal on: July 31, 2014, 05:07:20 pm
Nee, dat is niet wat ik bedoel.

Inverteren (niet integreren, dat kan wel vertraging betekenen) betekent dat een puls die aan de ingang van plus naar min gaat, aan de uitgang van min naar plus gaat.
De puls word dus omgekeerd (geïnverteerd).
Je kunt twee keer inverteren waardoor er uiteindelijk geen verschil meer is.
Ik raad je aan dat aan de Arduino kant te doen, omdat dat signalen zijn van nul of vijf volt.
RS232 is officieel tussen min twaalf en nul volt, en das lastiger te bewerken.

Inverteren kan met een transistor (eentje voor RX en eentje voor TX) maar je moet dan wel een beeetje weten hoe je daar mee omgaat.
70  International / Nederlands / Re: USB Host Shield voor het aansturen van GSM Terminal on: July 31, 2014, 04:39:21 pm
Quote from: Mezelf
De signalen worden dan wel geïnverteerd, en daar moet je dan ook rekening mee houden.
71  Using Arduino / Displays / Re: Upsidedown LCD on: July 31, 2014, 04:37:43 pm
Well, then your asking here might yield some tips from users that already have any of those.
To attract these users, you might want to use a very clear topic title (you can change this one).
72  Using Arduino / Microcontrollers / Re: Trouble parsing serial input from XBee on: July 31, 2014, 04:31:05 pm
Hi.

You forgot to tell what exactly you are receiving and if that can be repeated.
Two things come to mind reading what you described:
You might be connecting with an incorrect baudrate (unlikely if you are able to connect in another way), or your signals are inverted.
I have read on this forum that it would be possible to communicate using inverted data, but you'd have to dig for that.

Signals can be inverted by using a transistor per channel.
73  Using Arduino / Displays / Re: Upsidedown LCD on: July 31, 2014, 04:19:05 pm
That seems to be quite obvious to me.
He did state that
Quote from: IanJohnson
The routing would be a lot easier if the LCD's pins were along the bottom, rather than the top.
The word 'routing' means to me he might be creating a PCB, perhaps to fit some case that already exists or is ordered to use.

An answer to the question is:
It's much more likely for you to find a 1602 display that has the pins on the side you desire, than that you will find one that lets you use it in some upside down mode.
This kind of displays has the characters stored in ROM, and has some volatile memory for 8 characters.
This kind of displays has the controller and memory chips soldered to the PCB, without casing.
Those chips are protected by what looks like a blob of black glue, meaning you can't modify it or hack it to do what you like with acceptable difficulty.
74  International / Nederlands / Re: USB Host Shield voor het aansturen van GSM Terminal on: July 31, 2014, 03:58:22 pm
Wie weet, maar ik zou het zo nooit proberen.
De Arduino kan al serieel communiceren en daarom is het echt veel te veel gedoe om dat via zo'n USB adapter te proberen.

Daarom kun je beter vertellen welke andere technieken (zoals je dat zelf noemt) je al hebt gebruikt, en wat de resultaten zijn.
"Hij doet ut nie" is dan dus niet bruikbaar.

Als ik nu zou moeten gokken, dan zit het probleem in de spanningsnivo's die je Arduino op de seriële poort gebruikt.
Die zijn namelijk niet strikt conform de RS232 norm, maar 5 volt.
Als dat inderdaad het probleem is kun je dat door toepassen van een chip zoals de max232 (en wat condensatoren) oplossen.
De signalen worden dan wel geïnverteerd, en daar moet je dan ook rekening mee houden.
75  Using Arduino / General Electronics / Re: What's this peice called? on: July 31, 2014, 03:46:46 pm
Or parts close to the overheated capacitor have shifted and may be off the right pads.
Pages: 1 ... 3 4 [5] 6 7 ... 112