Show Posts
Pages: [1] 2 3 ... 44
1  Using Arduino / LEDs and Multiplexing / Re: 8x32 Sure Electronics Dot Matrix Display causes the Arduino to lose power?! on: August 21, 2014, 04:26:07 am
It's hard to see how you connected boards, but it still might be a power issue.
The voltage regulator on an arduino can't handle much current. If your led-module asks too much, there will be a voltage drop, which shuts down your arduino.

You could solve that connecting grounds of both arduino and led module and using a separate 5 volt supply (1 amp or preferably more) for your Led-matrix.

There's no voltage regulator on my 16x32 sure display, so be sure not to feed it more as 5v.
2  Using Arduino / Project Guidance / Re: How to feed data to an arduino leonardo on: August 14, 2014, 02:25:33 pm
Yes, that's possible.
When you connect your arduino, it will show as a com: port on your PC.
Since your PC may have different serial ports, your PC programm needs to address the right one.
Speed settings in both PC-program and your sketch should also match.

When it comes to handling datapackets, you may want to check how it's done best.
Crunching huge amounts of data is for example best done by the PC itself. It probably operates a few hundred times faster as an arduino and may have a million times more ram available.

In your sketch you can simply use Serialbegin() serialRead() and other Serial-commands to communicate with the program on PC.
On your PC it doesn't really matter what language/IDE you use, as long as it can handle the serial port.
3  Using Arduino / LEDs and Multiplexing / Re: Klingon Proton Collector on: August 12, 2014, 06:09:10 am
It's hard to tell how much space you've got, about two 9v batteries would be nice.
Looking at the pictures it seems... enough for at least a few coincells, 6 leds, 6 resistors and a Mini, Pro Mini, Micro or Nano.

The first two boards are the smallest, but need an external USB-breakout board to program them.
Unfortunately the product pages of these boards don't specify size, each pin on a connector is placed 0.1 inch from the next though.


Next part, how would you like to control/configure your leech ?
You could for example use a power switch to start the (standard programmed) routine, which requires access to a pc when you want to change settings. Looking at the original leech, you may also be able to include some switches/potentiometers to adjust settings without the need of a PC.

Most of the functions needed are described in the first two sections of the built-in tutorial of Arduinos IDE by the way, it shouldn't be too difficult to get a working proto(n)-type ;-)
4  Using Arduino / Project Guidance / Re: Nano stops running and flashes the power LED rapidly... on: August 11, 2014, 04:22:04 am
Hi,
The powerled flashing is strange. If the nano is built like the original design, the led (+resistor) should be connected to +5v and GND only. Even if you would use too much RAM  it shouldn't effect the powerled.

Blinking rapidly could indicate a problem with your power-supply. It would also explain the blanked display, since not only the led, but the controller of your Nano is turned off/on every time the led blinks.

Could you post your complete code (using the #-button) and a schematic of your project ?
5  Using Arduino / LEDs and Multiplexing / Re: Novice Question re shift registers on: August 08, 2014, 04:27:23 am
A far as I understand the most significant bit, bit 7, is set to zero in your example. It wouldn't blink a light if a led was attached to outputpin 7 when using MSBFIRST-mode.
Personally I would simply connect 8 leds to experiment / see what happens though.

A dice could be treated as a 4 segment object btw. With the 8 outputpins of a shiftregister it is possible to throw 2 dices if you use 6 pins to each light 2 leds and 2 pins to each drive 1 led..

2*3
414
3*2

6*7
858
7*6
(*= no led used)

6  Using Arduino / Project Guidance / Re: What´s the best Arduino for my project? on: August 07, 2014, 04:26:47 am
Must say I haven't tested this technique yet, maybe Capacative sensing could be a solution to check whether the bench is occupied or not.

Using just 1 resistor and a piece of metal plate/foil/wire mesh you can detect the presence of a person with it  from a small distance. You can connect several of these sensors to one arduino to check each seat.

You'll probably do need to experiment with the value of the resistors and size of the metal plate.

7  Using Arduino / Project Guidance / Re: Wrong box detector on: July 27, 2014, 06:38:52 am
I don't know whether the 5-liter containers are new and have a barcode printed on them. If you're able to find some PS2-barcode scanners, you can read 'm as PS2-keyboards with your arduino.
8  Using Arduino / Project Guidance / Re: Wrong box detector on: July 26, 2014, 05:37:17 am
I must say I haven't build one, but there are several simple projects using an RGB-led + photoresistor to detect the color of an object.

http://www.georgegardner.info/arduino/photoresistor-color-sensing-with-the-arduino.html




9  Community / Gigs and Collaborations / Re: Collaborator required for re-working a HX-RFL6A controller for performance on: July 23, 2014, 04:59:47 am
Hi,

So, what you need are small switches connected with longer wires. It does sound like a simple job for a lot of people on this forum. I wouldn't mind helping you, but sending your equipment to the Netherlands and back probably is expensive and will take quite some time.
(P.S. where do you live ?)

You wouldn't specifically need someone with Arduino skills btw, someone with decent solder- and some electronics-skills will probably be able to help you.

If I were you, I'd check for local HAM/amateur-radio clubs. Chance that you'll find a HAM in your neighbourhood, willing/able to help you is quite high. Seeing the circus in action would be a nice/well paid fee.
10  Using Arduino / Project Guidance / Re: wich one? on: July 21, 2014, 10:37:19 am

Buying one with  the larger rectangular DIP-IC is probably better as one with small square SMD IC.
When you should accidentally fry your arduino, you can replace  a DIP-IC easily.
Replacing  a SMD-chip is possible as well, but requires solder skills, the chance of ruining copper traces is also quite high.
11  Community / Bar Sport / Re: The Cracked Pot on: July 10, 2014, 04:07:58 am
Reminds me of the 'glass half full/empty' definition:

Optimist, the glass is half full
Pessimist, the glass is half empty


Heard from a neighbour who hasn't been lucky lately...
 did you know a pessimist is an optimist with experience ?  smiley-grin
12  Using Arduino / Project Guidance / Re: Hhelp for miniature house automation!! on: July 03, 2014, 05:53:57 am
Starterkits can be nice, but usually they're quite expensive, include parts that you may not need and miss parts you do need. IMO they're nice to introduce people with electronics, but often lack components if you already have a project in mind.

The sunfounder-kit for example doesn't seem to include the arduino itself. With only 2 white and a lot of red leds it may also be difficult build a doll house without turning it into a brothel...

I'd think about how... you want to automate the house first, make a list parts that could be automated, what you would need for that and finally buy the stuff you need.


Some ideas to integrate :
Automated blinds,
burglar alarm with detection + random lights
Doorbell
Automated streetlights

You could of course make this list longer, an 1.8" screen + mp3-player could resemble TV and sound system. With an ethernet shield you could control your house remotely. You could make it as easy/difficult as you want although a lot of things may be overkill and take a lot of time to integrate. Who would need a thermostat, heating system and fire detection in a doll house for example ?

If it does need to resemble a real house btw, it may also be nice to include a bluetooth module, in order to demonstrate its functions, using a phone, as realistic as possible.
13  Community / Bar Sport / Re: Is it just me, or.... on: July 02, 2014, 05:08:00 pm
..... are there a lot of Voice Recognition questions today. All in the same class at the same school?
Sorry. What did you say?  smiley-mr-green

WILL       IT      HELP      IF        I        SPEAK       SLOWLY     AND     E        NUN      CI     ATE        MY      WORDS?
WHAT?? THE NUNS ATE YOUR WORMS!?!?

IF THE BUNS... ATE THEIR WORK... AGAIN, THAT WOULD EXPLAIN WHY WE'VE SEEN SO MANY VR-QUESTIONS LATELY smiley-wink
14  Using Arduino / Project Guidance / Re: Built own computer on: June 22, 2014, 04:47:18 am
I guess arduino won't be the best platform to use yet.

It's possible to connect keyboard, display and storage, but it will be very hard to squeeze any OS in the small amount of memory most arduinos  have.

If you really want to use an arduino, an Arduino YUN probably is the best choice. You could also wait for the Arduino Tre, but it isn't on the market yet. Since both are quite new it may be hard to find the support you need.

Looking at your requirements  a Raspberry Pi may be nice as well.
15  Using Arduino / Project Guidance / Re: One servo works. other 3 dont.. (but they do with servo tester). on: June 15, 2014, 06:30:01 am
I've used pins 7,8,9 and 10 in the example below, it should do the same as your example, but for all 4 servos.

Code:
#include <Servo.h>
 
Servo myservo1;  // create servo object to control a servo
                // a maximum of eight servo objects can be created
Servo myservo2;
Servo myservo3;
Servo myservo4;
 
int pos = 0;    // variable to store the servo position
 
void setup()
{
  myservo1.attach(7);  // attaches the servo on pin 7 to the servo object
  myservo2.attach(8);  // attaches the servo on pin 8 to the servo object
  myservo3.attach(9);  // attaches the servo on pin 9 to the servo object
  myservo4.attach(10);  // attaches the servo on pin 10 to the servo object
}
 
 
void loop()
{
  // move servo 1 on pin 7
  for(pos = 0; pos < 180; pos += 1)  // goes from 0 degrees to 180 degrees
  {                                  // in steps of 1 degree
    myservo1.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
  for(pos = 180; pos>=1; pos-=1)     // goes from 180 degrees to 0 degrees
  {                               
    myservo1.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
  // servo 2
  for(pos = 0; pos < 180; pos += 1)  // goes from 0 degrees to 180 degrees
  {                                  // in steps of 1 degree
    myservo2.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
  for(pos = 180; pos>=1; pos-=1)     // goes from 180 degrees to 0 degrees
  {                               
    myservo2.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
  // servo 3
  for(pos = 0; pos < 180; pos += 1)  // goes from 0 degrees to 180 degrees
  {                                  // in steps of 1 degree
    myservo3.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
  for(pos = 180; pos>=1; pos-=1)     // goes from 180 degrees to 0 degrees
  {                               
    myservo3.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
  // servo 4
  for(pos = 0; pos < 180; pos += 1)  // goes from 0 degrees to 180 degrees
  {                                  // in steps of 1 degree
    myservo4.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
  for(pos = 180; pos>=1; pos-=1)     // goes from 180 degrees to 0 degrees
  {                               
    myservo4.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
}
Pages: [1] 2 3 ... 44