Show Posts
Pages: 1 2 [3] 4 5 ... 490
31  Using Arduino / Storage / Re: SD card create new file on: April 09, 2014, 11:27:31 am
I want create many files in SD card after some interval for the same code. now i can create only one file which function i have to add in this program.

You should ask the original poster to share updated code. As you can see, the original code DOES NOT work, which is why it was posted here for help.
32  Development / Other Hardware Development / List of tools for surface mount work on: April 09, 2014, 10:44:24 am
I am putting together a list for prototyping designs with surface mount parts, mainly for myself. But it will help anyone else with the same question.

I've never done surface mount before and only got one design on PCB with surface mount parts so far. I've not soldered parts on the board yet. I am trying to figure out what tools I need to do the job. I received some grant and the work is open source and for teaching. So I can afford some nicer tools. Here is my very short list of tools:

1. [EDIT] This German iron just crapped out on me. Got to get hold of repair service (seems only one person for whole USA). "Nice" solder iron with micro/mini tips. I got that. Weller WD1001 and a micro tip. The set already includes a small tip. http://www.digikey.com/product-detail/en/WD1001/WD1001-ND/935879
2. Fume extraction from OK electronics http://www.digikey.com/product-detail/en/SA-91-E/K499-ND/610376
3. Vacuum pickup pen for MCU http://www.digikey.com/product-detail/en/V8910/V8910-ND/1974025
4. Tweezers ESD Adafruit and sparkfun both sell them. I might get the angled nose one and a pair of straight one
5. 0.022" diameter solder (lead-free) RadioShack has them for $8 3oz, or search the web to find cheaper ones. I just hang a few spools of different sizes with hook-loop straps on my fume extractor. Grab the end and solder away!
6. Some magnifiers (for me?!)
7. I found a couple of multimeters for surface components around $25 at sparkfun and adafruit. Would be nice to know what you're soldering before doing the job.
8. Maybe I will get a rework station instead of oven. I don't know how that will work out with the business office. When I was in school I bought a pair of noise cancelling head sets, so I can hear people talk while working in super noisy environment (we tend to yell and get in bad temper in that noisy lab). But school paper pusher decided this thing can play music, so no reimbursement.
9. Solder paste
10. Squeegee? What is that, precious? If I don't have stencil, say for prototyping, what tool is best for spreading?
11.  What else do you use specifically for surface mount?

FYI, I will only have may be up to 3 IC (including ATMEGA328P-AU) that are surface mount and one SD card slot, and 0603 chip resistors and caps.

So what do you think I am missing? I am interested in very small production runs say 20 units etc. I don't think I'll get reflow oven etc.

Thanks for your input!
33  Using Arduino / Project Guidance / Re: Count 18 lines and pause. on: April 09, 2014, 10:24:01 am
OK, set the button press requirement aside, and try just taking a character from the serial port for simplicity so you can understand how to get the counter to work.

The way you set it up, the variable counter is not doing anything. If you always print 18 lines of 6 numbers, you should use a for loop.

http://arduino.cc/en/Reference/For

The above example code shows how to do something 256 times. You can use this as a template. Then at the end of your loop() function, before you close the "}", add while(1){} to stop the execution. You will see 18 lines and then stop. This is your step one, get 18 lines and stop.

Your next step is to replace the while(1){} with something that can make the code run again for 18 lines.
Replace it with

Code:
while(1)
{
  if(Serial.available())
  {
    Serial.read();
    break;
  }
}
34  Using Arduino / Project Guidance / Re: ideas for using exterior light fixture to power Arduino, fishing for ideas. on: April 09, 2014, 12:18:56 am
Your idea seems pretty sound to me. I don't see why you can't just do it  smiley-surprise
35  Using Arduino / Project Guidance / Re: Count 18 lines and pause. on: April 09, 2014, 12:14:00 am
I don't know for certain what you want. Right now you print 6 random numbers and repeat. Does this mean a line and you want 18 lines of 6 numbers each line, then pause for serial input?

What is your counter doing?
36  Community / Exhibition / Gallery / Re: SMBus Laptop Battery "Hacker" with phi_prompt LCD user interface on: April 07, 2014, 11:16:46 pm
How did you install the library? Where are the library files?
37  Using Arduino / Project Guidance / Re: Please give some advise, which arduino is better for me. on: April 07, 2014, 11:15:37 pm
MEGA 2560 sounds great. Does it support WIFI shield and can I use the old code directly?
Thanks a lot

Yes it does support wifi shield and if you mean using UNO's code directly, almost. Only few things may be in the way, such as where the I2C bus is, if you use real time clocks or other I2C devices. Nothing major. Also, there should be no issue using the wifh shield and old code on bobuino either.

CrossRoads,

Is there a help page on how to add the bobuino to the list of boards in Arduino IDE? That would be helpful.
38  Community / Bar Sport / Re: Are microcontrollers considered to be kiddies toys in real world? on: April 07, 2014, 11:11:27 pm
If your friend is an expert with programmable logic controls or field programmable gate arrays, and uses them a lot, he may think microcontrollers are for those that don't do serious work. PLCs are for industrial controls. If I understand correctly, they resist interference better than microprocessor-based solutions. I don't know enough about FPGA though. In space industry, maybe they value microcontrollers less than other solutions since radiation can easily flip bits and render a microprocessor useless. Any type of shielding is insufficient or too heavy I suppose. Plain logic circuits on the other hand can do a lot better in this situation. There should also be some electrical engineers that don't use microcontrollers or PLC or FPGA but design "real circuits". I just don't know them. I'm not in the EE field.
39  Community / Bar Sport / Re: Lighting up my fume extractor on: April 07, 2014, 09:15:01 pm
Thanks Tom! Looks nice!

wizdum, can you post pictures of your work space and pictures taken from your webcam? BTW, I have an annoying MS webcam. It autofocuses now and then, and its autofocusing noise gets recorded in the video. I wanted to find a way to mount my digital camera as an overhead camera but I'm renting. Can't put stuff on the ceiling and expect a full deposit back smiley
40  Using Arduino / Project Guidance / Re: Please give some advise, which arduino is better for me. on: April 07, 2014, 12:17:34 pm
I think you can use Arduino MEGA 2560 with some memory expansion such as quadram from rugged circuits. Unfortunately they seem to be moving their websites so I can't find the usual link to the product. MEGA 2560 has 8KB ram

41  Using Arduino / Project Guidance / Re: Webcam Motion Detection System with LED indicator on: April 07, 2014, 09:44:44 am
I haven't looked at openCV for like 4 years. Back then the problem was what webcams were supported (in Processing), which was few IIRC.
42  Community / Bar Sport / Re: OSH Park Teensy 3.1 for $17! on: April 07, 2014, 12:12:55 am
Interesting. I should probably get one just to try it out. How about their support?

Question: What do you use DMA for on this device? What high speed devices?
43  Community / Bar Sport / Lighting up my fume extractor on: April 06, 2014, 11:56:12 pm
I have a fume extractor for soldering, from OK electronics. It only works when it get vertical and close enough to my board. So it's blocking a lot of light. I'm thinking of putting some LED strips on it to help me solder. I found this on ebay:

http://www.ebay.com/itm/Super-Bright-5M-SMD-3528-Waterproof-600-White-LED-Light-Strip-US-Store-DC-12V-/360888111369?pt=US_Car_Lighting&hash=item54069b9109

If I understand correctly, I just have to cut it to length at the "cut" marks and supply 12V to the strip at + and -. What's limiting the current? Is it the 150 resistor? I guess the three LEDs are in series and then in series with the resistor, right? Just don't want to get the wrong stuff smiley

Thanks.
44  Using Arduino / Project Guidance / Re: Should I be Worried about Random Noise Triggering Outputs on: April 06, 2014, 11:46:34 pm
If you are concerned with noise from trains etc running around the cable, get a shielded cable and connect the shield to ground.
45  Using Arduino / Project Guidance / Re: create audio file from arduino sensor data on: April 06, 2014, 11:41:58 pm
If that library is still actively maintained, yes. I used it maybe around 2009-2010. At the moment I didn't use Arduino but a PC to record from mic. It turns out my PC had a problem with sound card timing. An hour long lecture is more than enough to make audio and video out of sync enough to be unusable smiley

Another way is to use arduino and some minimal hardware to generate a waveform for a PC to record on its stereo jack. What's preventing you from doing just that?
Pages: 1 2 [3] 4 5 ... 490