Show Posts
Pages: [1] 2 3
1  Using Arduino / Programming Questions / Re: Trying create pulse generator with Arduino on: May 21, 2011, 09:24:03 pm
555 timer, anyone?
2  Using Arduino / Programming Questions / Re: Writing libraries on: May 19, 2011, 11:21:51 pm
Let's say I want to make a shield for the Arduino.  And, like many other shields, I want to give users a bit of a break in operating it by making a specific library that can be downloaded and used.  How would I do that?
3  Using Arduino / LEDs and Multiplexing / Re: multiplexing with pwm? on: May 18, 2011, 09:46:41 am
Maybe this can help:,10097.0.html
4  Using Arduino / Programming Questions / Re: Writing libraries on: May 18, 2011, 09:02:07 am
I know what a library does, and how to use the commands in a script, but I don't know the language or syntax for writing libraries.  Thanks for the link, though
5  Using Arduino / Programming Questions / Writing libraries on: May 18, 2011, 08:37:22 am
Can someone help me to understand how to write a library?  Or point me to good references on how to?

Any input is appreciated.
6  Using Arduino / General Electronics / Re: First serious project-Device to check melting points on: May 11, 2011, 11:40:21 pm
So you're saying that the first things you want are button functionality, and temp display?
as for setup of the LCD, you should probably have a driver for the LCD like a shift register or something.

In pseudo code, I'd say this is generally what you need:

initialize variables and such;
void loop() {
read state of buttons and debounce;
if (button pressed) {toggle PWM}
read thermistor, use whatever math to determine temp;
send temp value to LCD driver;

I hope I'm not just telling you what you already know.
7  Using Arduino / Programming Questions / Re: PS3, Python, and Arduino on: May 09, 2011, 02:26:22 pm
Thanks.  I had found that page but it is just going over my head.
8  Using Arduino / Programming Questions / PS3, Python, and Arduino on: May 01, 2011, 01:04:35 pm
I am trying to use Python to read data from a PS3 controller I have connected to my computer to use with controlling things with my arduino.  I don't know what a simple data dumping program would even look like.

I know how to read serial data with the arduino, but I don't know how to use Python like a middleman; I'm still learning that language.

Any help would be appreciated.
9  Using Arduino / Displays / Oscilloscope on: April 14, 2011, 08:50:11 am
I see people using oscilloscopes and I was wondering if I should get one.

What do they do exactly and how would it help me with projects?
10  Using Arduino / Programming Questions / Re: LoLShield library on: February 17, 2011, 11:29:55 am
oh, and as for "int8_t", that's basically the same as declaring an int, but saves memory because it only has to carve out 8 bytes because that's all the bigger that variable is going to be.
11  Using Arduino / Programming Questions / Re: LoLShield library on: February 17, 2011, 11:26:56 am
I got the LOLShield quite a while ago and was also lost as to how to figure out all the commands the library has.  But I found out generally what that fonttest program does, and modified it to be able to display text of any size.
#include "Charliplexing.h"
#include "Font.h"

#include "WProgram.h"

/*Insert text into quotes (must be ALL CAPS, only letters A-Z)*/
char test[] = "HELLO WORLD";
int testLength = sizeof(test); //returns the length of the test[] string
int x = 0, x2 = 0;

void setup()
  LedSign::Init(); //initializes screen

void loop()
  for (int j = 13; j > -(6 * testLength); j--)/*chars are at most 5-6 pixels wide, so I used 6*testlength because j has to do with the length of the message in pixels*/
    x = j;
    for (int i = 0; i < testLength; i++)
      x2 = Font::Draw(test[i], x, 0); //I believe this draws the char and saves the width to x2
      x += x2; //adding the new place on the x-axis to put the char
      if (x >= 13) break; /*if the length of what is on the scren is >=13, it starts over and goes to the next char*/
12  Using Arduino / General Electronics / Re: RGB LED on: February 16, 2011, 07:50:24 pm
Got it.  Thanks again for the help everyone.
13  Using Arduino / General Electronics / Re: RGB LED on: February 16, 2011, 06:53:15 pm
ok thanks everyone.  I was thinking the same thing, but I'm much stronger with the programming than the actual electrical setup process.  So would a resistor with a 3R on the common cathode do the same job as a single res. of value R on each of the 3 color leads?  And wouldn't any configuration lead to a dimming when more than one color lights up?  unless the fact that they are coming from the same LED would make the brightness sum the same at all times.  (sorry bout the long post)
14  Using Arduino / General Electronics / RGB LED on: February 16, 2011, 06:14:26 pm
So I have an RGB LED and I believe it is a common cathode, but it may be anode.  Anyway, would there be any functional difference between having a single 270 ohm resistor from the common cathode to ground and having a separate one for each color?
15  Community / Bar Sport / Re: Being one's own ISP on: February 16, 2011, 05:47:55 pm
Thanks logic, that cleared up something I was misled about.  I have never really learned about the actual structure of the internet, just the basics and how to use it.
Pages: [1] 2 3