Show Posts
Pages: [1] 2 3
1  Using Arduino / Project Guidance / Re: PCB design: Final step project on: March 24, 2012, 04:55:48 am
Anyone has any comments, or is it ready for the PCB housing?  smiley-roll-blue
2  Using Arduino / Project Guidance / Re: PCB design: Final step project on: March 22, 2012, 06:51:28 pm
Ok, here I am again guys  smiley-fat I really know I have more 'space' to use but I try to keep everything as compact as possible. I also downloaded the Eagle DRC rule from the PCB housing and it returned with no errors.

Did I used the ground planes right? I starred to my design for 2 hours now and I think everything is grounded now..
@Chagrin, did I placed the capacitors properly??
@all, any another mistakes?? or comments??  smiley-cool

- Schematic.

- New front PCB
- New back PCB
3  Using Arduino / Project Guidance / Re: PCB design: Final step project on: March 21, 2012, 10:57:50 am
You might contact DimensionEngineering and ask if the regulator is suitable for use on a motorcycle. Aside from crossing your fingers and hoping it works it'd be the best way to find out. Also, since you seem to have enough space on the board, it wouldn't hurt to add a couple places for caps on both sides of that regulator as if you were using a typical linear regulator. You've got a fall back position then.
Yes, you're so right, crossing your fingers and hoping is something I really don't want to do! And there is nothing to learn from it except trail and error. I contacted DimensionEngineering and I got a very quick response (within 2 hours):

"No problem!  We have lot of those in use in cars/motorcycles.  What's nice about the units in that application is they already have capacitors on the input and output... No need for further filtering."

I guess this solves this issue now. Thanks for the help on this smiley

Yes. Try to keep those caps as close to the IC as possible. Again after testing your board you might not find them necessary ... but you've got that fallback position.
Once again thanks, no thank you a thousand time smiley I will put the capacitors as close as possible. When I did my redesign I will post the new PCB files here. I hope you have some time by then to watch it.
4  Using Arduino / Project Guidance / Re: PCB design: Final step project on: March 20, 2012, 06:19:22 pm
Thanks for the help there VccDood and Chagrin! I'm going to do a redesign, including a ground plane and more spacing. I watched a youtube video on it and I was quiet embarrassed how easy it is! smiley

I don't think any of the component sites allow searching for automotive-rated components, but you can just google for "linear regulator automotive" and get tons of hits on manufacturer sites.

The DE-SW050 is a switching regulator; while it'd be much more efficient than a linear regulator it's pretty pricy and really not warranted here with the low currents you'll be seeing.

Add a decoupling capacitor to your multiplexer IC.

To create a ground plane in Eagle use the polygon tool; draw a rectangle along the edge of the board. Right-click on the line and set the name to "GND". It won't look like it's filled in but you can click "ratsnest" to make it visible or of course you can look at the resulting files with a Gerber viewer after running the CAM processor.

Did you verify the amperage requirements of the coil of your relays that they are under 40ma? If not you'll need a transistor.


I already have the DE-SW050 laying around, catching dust. Al through its not really warranted, it handles the job right? it also saves me from soldering more components to my breakout board smiley-cool

I quickly made a new schematic for the breakout board. Did I placed the capacitors correctly like you meant to?

Once again thanks for the explanation! As you can see it the schematic; I already named everything with GND. This is going to make it a bit easier smiley-grin

Yes the relay's are safe to use, thanks for verifying that.
5  Using Arduino / Project Guidance / Re: PCB design: Final step project on: March 19, 2012, 06:06:09 pm
@MushfiqSarker,
Thanks, all lines was indeed made with 12mil. I changed all the lines that have 12v running through it to an 32mil width. I hope that's better now.

Front PCB image.
Back PCB image.

@dbvanhorn
Ouch, that sounds like a serious flaw, I'm a noob to circuits (glad I got sofar smiley) and I tried searching for the components on digikey but I couldn't find what you mentioned, any help for me there?
6  Using Arduino / Project Guidance / PCB design: Final step project on: March 18, 2012, 01:43:43 pm
Hello all,

I'm making my first PCB and I was hoping someone could help me with looking for any possible (noob) mistakes.

I'm trying to make my phone communicate with an ArduinoBT module on my motorcycle with bluetooth. Sofar I have made my schematic, applications and already tested the components with a breadboard. However to make everything small I wanted to make a breakout board. So I downloaded the Eagle files from the Arduino site and modified it to my own.

In a nutshell the functions I want:
1) Read with 8 opto-coupler if a motorcycle circuit is on (i.e. blinkers, fuel, alarm, warnings)
2) Send GPS speed to arduino and control 5 RGB led's.
3) Control the alarm/key's and engine with relay's. (i.e. turning engine on, or turning alarm on/off)

Components:
- 1x DE-SW050: 5v regulator (convert v12 into v5 for ArduinoBT)
- 1x CD4051: 8-ch. multiplex
- 8x PC817: Opto-coupler (note: actual its 2x PC847)
- 1x D-sub connector
- 8x 1k resistors
- 5x 68ohm resistors
- 1x 33ohm resistor
- 1x 12ohm resistor

The files:
- Schematic.
- Reference PCB image.
- Top layer PCB image.
- Bottom layer PCB image.
- Eagle file.

Thanks in advance any help !  smiley-sweat
7  Using Arduino / General Electronics / [ArduinoBT] Anti-Hijack function and PIN13 on: January 15, 2012, 10:15:19 am
Hi all,

I already got my ArduinoBT communicating with my phone and the phone sends the GPS speed over to Arduino to control a dozen LEDs. I also control some relays to turn on my engine of my motorcycle. I was thinking about making an anti-hijack function, if my phone disconnects from the BT module then I want to switch off the engine. (I can ofcourse overwrite this with a key switch in case my phone runs out of battery or something)

  • I saw some extensions of the libary serial, including the function list(). What is the best practice to get feature done? Using that extended libary, or send a command over to my arduino every 3 seconds to see if their connected? (like trains do?)
     
  • I also made a PCB but totally forgot that PIN13 is used for the LED, is it harmful to use this PIN to control a relay? like if the LED dies, can I still use that PIN?

Thanks!
8  Using Arduino / Networking, Protocols, and Devices / [ArduinoBT] print byte to other device on: December 11, 2011, 05:04:08 pm
Hey everyone, (nooby alert smiley-roll-blue)

I am trying to read and write data to my Nokia N9 through BT, sofar I am able to receive data from mobile, I got an application running where I can already turn on a LED by sending the letter 'H'. However sending data from Arduino to my N9 does'nt work yet, I am able to trigger an event but I will not receive any byte. If I turn on the serial monitor I do recieve a byte after filling in the letter 'H'

I was thinking about it not working, and could it be because:
- My N9 runs a RFCOMM on BUAD 9600 and my ArduinoBT is running on 115200??
- Does it not work because I need to connect my N9 to Arduino but also Arduino to N9??? (using call?)

My codes sofar:
Code:
int ledPin = 3;
char val;

void setup() {
Serial.begin(115200);  // initialize the serial communications - 115200

Serial.println("SET BT NAME IM_NOT_FEELING_BLUE"); // No spaces allowed in the name; names can be up to 256 charcters.
Serial.println("SET BT AUTH * 12345"); // 12345 == 0 to 16 digit Bluetooth passkey/PIN code

Serial.println("SET CONTROL BAUD 115200,8n1");
Serial.println("SET BT PAGEMODE 3 2000 1");
Serial.println("SET BT ROLE 0 f 7d00");
Serial.println("SET CONTROL ECHO 0");
Serial.println("SET CONTROL ESCAPE - 00 1");

pinMode(ledPin, OUTPUT);
}
void loop() {
        if(Serial.available() > 0) { // if data is available to read
            val = Serial.read(); // read it and store it in 'val'
           
            if(val != 'B') {
              if(val == 'H') {
                  digitalWrite(ledPin, HIGH);
              } else {
                  digitalWrite(ledPin, LOW);
              }
 
              Serial.flush();
              Serial.println('B');
            }
        }
}

Any help would be highly welcome smiley-red
9  Using Arduino / General Electronics / Re: Combining analog input on: March 21, 2011, 04:00:35 pm
Sweet  smiley-cool Thanks for the info! Time to get this working now smiley-grin
10  Using Arduino / General Electronics / Re: Combining analog input on: March 21, 2011, 03:47:24 pm
Alright! Thank you very much again for your help! smiley

I will also put the 4K7 resistor between it. Also I was reading that only the digital pins has pull-up resistors? So its wise not to connect it on pin #19 but on #13 and below?
11  Using Arduino / General Electronics / Re: Combining analog input on: March 19, 2011, 02:34:51 pm
Sorry I been away for a while. Thanks for the replies!
If I understand you correct Grumpy_Mike I will get the follow result (in a nutshell)?



Code:
void setup() {
  Serial.begin(9600);
  pinMode(19, INPUT);
  digitalWrite(19, HIGH);
}
12  Using Arduino / General Electronics / Re: Combining analog input on: March 07, 2011, 04:59:53 pm
Thanks alot for pointing out that noob mistake smiley-sweat
What is the best practice for a nooby?

Also let me remind you that the indicators are no sensor, just plain v12 battery going to a lamp.
13  Using Arduino / General Electronics / Re: Combining analog input on: March 07, 2011, 04:53:48 pm
You're absolute right Mike, I should work out the v12 to v5.
This is my schematics of a single v12 input:

(hell yeah! I love Eagle already)

Quick question: are there any parts around that combine the voltage regulator and capacitors?
14  Using Arduino / General Electronics / Re: Combining analog input on: March 06, 2011, 12:17:42 pm
Ahh, I think I get it now.
Thank you CrossRoads!
15  Using Arduino / General Electronics / Re: Combining analog input on: March 06, 2011, 10:59:04 am
I heard there are no stupid questions compared with not asking at all so is the COM pin on the ULN2803A the same as the Emitter?

Or is this schematics correct?
(sorry the upload directory was full)
Pages: [1] 2 3