Show Posts
Pages: [1]
1  Topics / Product Design / Re: PCB fabrication sites on: March 28, 2013, 04:00:32 pm
I thought I had answered this as well. For example, here is an SMD board that I offer that will do the basics:

These are interesting. So basically with these I'm getting an Arduino nano without the reset button, USB programming interface, and TX, RX, PWR, Pin13LED LED indicators.

How much?
2  Topics / Product Design / Re: PCB fabrication sites on: March 26, 2013, 03:07:10 pm
I'm trying to find a custom PCB service as well. Do any of these services provide design service? I have a set of basic requirements (with an SMD Arduino chip) that I need designed.
3  Using Arduino / Installation & Troubleshooting / Is there a tip jar for the expert helpers here? on: March 09, 2013, 04:15:09 pm
I'm a new member here and I was hesitant to post my newb questions because I was afraid they wouldn't be worth answering from the expert programmers/electrical engineers here. But I got my answers!

I just want to say that I'm impressed with the friendliness of this community and especially those who helped me. So thank you! I wish there was an easy way to tip someone in forums (without having to login to paypal, etc). Someone smart out there should design a forum that integrates a tipping system! All I ask is 49% of the company. ;-)

Anyways, thanks again people.

4  Using Arduino / Installation & Troubleshooting / Re: Arduino Nano V3.0 is not responding and is acting weird.... possibly fried. on: March 09, 2013, 04:03:53 pm
That would imply that you have a defective on-board +5vdc voltage regulator in addition to the bad diode.

So at this point, I have to buy a replacement regulator and diode. With the cost of the new parts and shipping and time/work to fix the board, I might as well get a new board...

Well unless you want to buy minimum quantity of 3,000 I would suggest you just buy one of the second listed one.
5  Using Arduino / Installation & Troubleshooting / Re: Arduino Nano V3.0 is not responding and is acting weird.... possibly fried. on: March 08, 2013, 12:56:19 pm
1. Applying 5 volts to Vin is too low a voltage for the on-board +5 vdc voltage regulator to operate correctly, it should be in the range of 7 to 12 vdc or so. Applying +5vdc to the 5V pin will work as you are then bypassing the on-board voltage regulator to power all the stuff on the module directly from your external regulated +5vdc power supply.

2. Yes it is safe, it's not about being smart it's the fact that the Vin voltage only goes one place, to the input of the on-board +5vdc voltage regulator which will then power all the stuff on the module.

3. If the board will not work on USB only power and you have tried more then one USB connector on your PC then you most likely have a bad (open) diode (D1) on your module and replacing it should correct the situation.


Thanks Lefty,

1. What you say makes sense but when I connect the board to the 12V(1A) source Windows XP never recognizes the device. When I go back to the 5V(3A) connection, wXP  then recognizes it.

2. Ahhh okay. I learned something new today!

3. Yes, I tried more than one USB port. And actually, it makes sense that I killed the diode because before the blue power LED was very weak when only connected to USB. Now, it doesn't light up at all! So looking at the schematic here:
I think I have to replace part MBR0520. Digi-key has so many versions of this part:
How do I know which one to choose?

Is this(see attachment) the part,D1,  on the bottom of the board(highlighted in RED) that I have to replace?
6  Using Arduino / Installation & Troubleshooting / Re: Arduino Nano V3.0 is not responding and is acting weird.... possibly fried. on: March 08, 2013, 11:39:15 am
ooopss! Wow you nailed it! That solved my problem. Weird. So the 5v passthrough in the USB chip is dead then.
So connecting up 5v to the VIN terminal is where I'm connecting the power at but device recognition is not consistent every time I disconnect and reconnect. I suppose I can just leave it connected all the time.

I have a couple questions now.
1) Does it matter if I connect the power to VIN or 5V? I'm using a +5V power supply rated at 3A. When I connect to either VIN or 5V, the blue power LED lights up.
2) Is it safe to use a 12V source or 9V source (ie typical 9V battery) for VIN? I was using a 9V battery to demo my circuits when I had to transport my breadboard away from my power supply. My understanding is that the Nano is smart enough to detect the incoming voltage (up to 12V) and compensate for that.
3) So what could have fried the 5V passthrough?

Thanks for the help!
7  Using Arduino / Installation & Troubleshooting / Re: Arduino Nano V3.0 is not responding and is acting weird.... possibly fried. on: March 07, 2013, 04:26:15 pm
Well first off, I'm not grounded so I could have zapped it.

But the change I made was I added a 50k pot to the breadboard. I wired the pot to Analog input 1 and supplied 5v power and ground. Then, after I plugged in the USB is when it started acting weird. Also, note that I have a hall sensor wired in a similar fashion and is routed to A0. Before the pot was added, the hall sensor setup was working fine. These two are sharing the 5v and now I'm wondering if that is the issue.

Thanks for the reply.
8  Using Arduino / Installation & Troubleshooting / Arduino Nano V3.0 is not responding and is acting weird.... possibly fried. on: March 07, 2013, 01:54:51 am
Please help!

I was working with my Arduino Nano V3.0 (Funduino not Gravitech...   smiley-mad) and everything was fine. I changed a few wires on my breadboard and then the next time I plugged in the PC's USB cable into the Nano, the Nano wasn't detected. No sound from Windows XP fo USB device plug in notification.

The board still seems to function in a weird way though. I noticed that with USB power, the blue power LED on the nano is lit but much dimmer than normal. And also, the TX and RX LEDs are flashing simultaneously and at a dim level also. Reset doesn't fix the problem.

I tried powering the Nano with a 9volt battery only and the power LED lights up at full brightness, the TX and RX LEDs are inactive, but my last loaded sketch doesn't work.

I tried searching the internet for answers but there's no clear solution since I can't figure out if I did something wrong or if the board simply failed. Any replies to this is much appreciated.

9  Using Arduino / LEDs and Multiplexing / Re: Output error with for loop using sin on: March 06, 2013, 04:41:27 pm
Thanks for the reply.
Before using the round() function and int, I had the data in the arrays setup as float. That's when I was getting the ovf returned.

Thanks! Yeah after reading the tutorials I wasn't sure if
int upArray[51];
int downArray[51];
was defining the size of the array of it it was simply pointing to the 50th entry and defining it as int.

I am not familiar with this function:
int *upArray;
int *downArray;

And I'll have to look in to what
upArray = malloc(sizeof(int)

What is sizeof(int) referencing anyways?

Thanks for the suggestions on the loop design to help with efficiency. I'm not an expert programmer so it's hard to tell what functions are taking up the most resources. I can only use the size of the binary sketch as a gauge.
10  Using Arduino / LEDs and Multiplexing / Output error with for loop using sin on: March 06, 2013, 02:17:32 am
Hi everyone. New Arduino programmer here!
I'm having a problem with the output for my sin wave calculation. I'm getting some unexpected numbers from the program.  I'm creating a program that will allow me to change the resolution of the sin wave. I'm able to monitor the serial port to get the calculated values.

Sin Fade

This code is setup to fade an LED using a Sinusoidal function.
Brightness is max at 255 and divided into 51 steps (255/5 = 51)

int led = 3;           // the pin that the LED is attached to
float brightness = 0;       
float halfPi = 1.5707963267949;
int divisions = 51;     // Divisions
int rate = 50;          // Delay date
int upArray[] = {};
int downArray[] = {};

// the setup routine runs once when you press reset:
void setup()  {
  Serial.println("Program Start");
  // declare pin 13 to be an output:
  pinMode(led, OUTPUT);
  for (int i = 0; i < (divisions + 1); i++){
    upArray[i] = round(255 * sin( (halfPi / divisions) * i));
    Serial.print(" value = ");
  Serial.println("upArray DONE");
  for (int j = (divisions - 1); j > 0; j--){
    downArray[j] = round(255 * sin( (halfPi / divisions) * j));
    Serial.print(" value = ");

// the loop routine runs over and over again forever:
void loop()

The output shows that the calculations are working except for a few points.
Program Start
i:0 value = 0
i:1 value = 8
i:2 value = 16
i:3 value = 24
i:4 value = 31
i:5 value = 39
i:6 value = 47
i:7 value = 55
i:8 value = 62
i:9 value = 70
i:10 value = 77
i:11 value = 85
i:12 value = 92
i:13 value = 99
i:14 value = 107
i:15 value = 114
i:16 value = 121
i:17 value = 128
i:18 value = 134
i:19 value = 141
i:20 value = 147
i:21 value = 154
i:22 value = 160
i:23 value = 166
i:24 value = 172
i:25 value = 178
i:26 value = 183
i:27 value = 188
i:28 value = 194
i:29 value = 199
i:30 value = 203
i:31 value = 208
i:32 value = 213
i:33 value = 217
i:34 value = 221
i:35 value = 225
i:36 value = 228
i:37 value = 232
i:38 value = 235
i:39 value = 238
i:40 value = 241
i:41 value = 243
i:42 value = 245
i:43 value = 247
i:44 value = 249
i:45 value = 251
i:46 value = 252
i:47 value = 253
i:48 value = 254
i:49 value = 255
i:50 value = 255
i:51 value = 255
upArray DONE
j:50 value = 255
j:49 value = 255
j:48 value = 30240
j:47 value = 253
j:46 value = 252
j:45 value = 27745
j:44 value = 249
j:43 value = 247
j:42 value = 25973
j:41 value = 243
j:40 value = 241
j:39 value = 15648
j:38 value = 235
j:37 value = 232
j:36 value = 228
j:35 value = 225
j:34 value = 221
j:33 value = 217
j:32 value = 213
j:31 value = 208
j:30 value = 203
j:29 value = 199
j:28 value = 194
j:27 value = 188
j:26 value = 183
j:25 value = 178
j:24 value = 172
j:23 value = 166
j:22 value = 160
j:21 value = 154
j:20 value = 147
j:19 value = 141
j:18 value = 134
j:17 value = 128
j:16 value = 121
j:15 value = 114
j:14 value = 107
j:13 value = 99
j:12 value = 92
j:11 value = 85
j:10 value = 77
j:9 value = 70
j:8 value = 62
j:7 value = 55
j:6 value = 47
j:5 value = 39
j:4 value = 31
j:3 value = 24
j:2 value = 16
j:1 value = 8

Does anyone have any idea where these big numbers are coming from? Also, note that I'm using the round() function because without it, I was getting "ovf" as the output for some of the numbers (around i = 33) and then it would actually restart the program and loop this problem.

Pages: [1]