Model Boat Mayhem - Forum

Please login or register.

Login with username, password and session length.
Pages: [1]   Go Down

Author Topic: Home Made PCB Board  (Read 671 times)

timgarrod

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 239
  • Location: derby
    • Alvaston Pirates Model Boat Club
Home Made PCB Board
« on: February 03, 2018, 10:23:10 PM »

Always wanted to try this as my veroboard always looks messy.
Took a couple off goes (plus printing on off in reverse in error  :} ), but finally cracked it one released one of the terminals was to near a capacitor so had to twist it abit.

was funny designing the board as kept hitting dead end with the tracks (it reminded me of playing pipedreams years ago).

Logged

Stavros

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 5,432
  • North wales
  • Location: Bethesda, NorthWales
Re: Home Made PCB Board
« Reply #1 on: February 03, 2018, 10:31:18 PM »

That to my eye and I know naff all about what you have built looks Darned good  O0 O0 O0 O0


Pipe dreams YUP that was a good frustrating game



Dave
Logged
No Motor is to Big for me.....Catch it if you can Phil

timgarrod

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 239
  • Location: derby
    • Alvaston Pirates Model Boat Club
Re: Home Made PCB Board
« Reply #2 on: February 03, 2018, 11:07:51 PM »

Thanks Dave,

its to replace the board for my tug boat. really pleased with it.
it controls the Leds, power to the smoking unit and controls the fan speed to match the motor.

lost to many hours to the game too lol

Logged

Stavros

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 5,432
  • North wales
  • Location: Bethesda, NorthWales
Re: Home Made PCB Board
« Reply #3 on: February 03, 2018, 11:11:56 PM »

Is this one of the Arduno(if thats how you spell it)boards that you have been developing and if so how do you control it form your transmitter.....OH PLEASE when you answer this do it in simple terms....you are dealing with a Welshman ...careful


Dave
Logged
No Motor is to Big for me.....Catch it if you can Phil

timgarrod

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 239
  • Location: derby
    • Alvaston Pirates Model Boat Club
Re: Home Made PCB Board
« Reply #4 on: February 03, 2018, 11:18:18 PM »

Yep thats it. once you got the basics they are really handly and come into there own in a model.

even if it just for turning on leds. 

this is part of what its controlling https://www.youtube.com/watch?v=EsbWWbqPQPI

the best thing about the Arduino is there so many people willing to help out if stuck or needing help.



Logged

warspite

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 1,363
Re: Home Made PCB Board
« Reply #5 on: February 04, 2018, 10:16:59 AM »

Pity you don't have a letraset - 1 or 2mm high to identify on the underside what's on the topside in case you need to retrace a fault in the future, lol
Logged
Operational vessels - 1/72 LCMIII, 1/180 Royal Soveriegn
Non Operational - 1/72 Corvette, 1/72 E-Boat, 1/72 vosper mtb
incomplete, tug, cardboard castle class, got the new job

timgarrod

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 239
  • Location: derby
    • Alvaston Pirates Model Boat Club
Re: Home Made PCB Board
« Reply #6 on: February 04, 2018, 10:46:12 AM »

did think about it, might do it on another one i make.

just realised, i should of but another two fet on it to control the two water pumps instead of esc.  doh!.

Logged

Brian60

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 3,044
  • Location: Hull,UK-but currently residing in Los Martinez, Spain.
Re: Home Made PCB Board
« Reply #7 on: February 04, 2018, 05:34:00 PM »

Liking that Tim, take a look at this schematic I'm working on in Fritzing.

 Arduino nano to two shift registers, to rather a lot of mosfets %% All this to control the multitude of led's I have installed, we've discussed this on the arduino forum and I think this is my best way forward. The mosfets are because I have linked leds together and their total current draw is greater than the outputs of any of the arduino boards.

Now all I have to do is finish it off and then turn it into a pcb :}

The Old Fart

  • Great Yarmouth Model Boat Club
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 176
  • Model Boat Mayhem is Great!
  • Location: Caister-on-Sea, Norfolk, UK
    • Great Yarmouth Model Boat Club
Re: Home Made PCB Board
« Reply #8 on: February 04, 2018, 08:09:06 PM »

have you thought of addressable leds?

3 wires for as many leds as your'll ever need

timgarrod

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 239
  • Location: derby
    • Alvaston Pirates Model Boat Club
Re: Home Made PCB Board
« Reply #9 on: February 04, 2018, 08:12:08 PM »

cheers Brian,

i've got mine wired up so the ardiuno is only powering the mosfets gates. That way they should handle alot more currents(thats my understanding but might be wrong  {-) ) .

Sorry Dave forgot to answer your question about how its controlled.

basicly there's a template file to read up to 4 rc channel inputs. Think c3p0 posted it.

then to turn leds on for example you would enter something like this into the void loop in the template.
RC_CH3  would be the input from the receiver to arduino. the number would be the signal. normally that would be 1000ms to 2000ms.


void loop(){

  if (rc_values[RC_CH3] > 1800) // leds on
    {
     digitalWrite(poww, HIGH);
   }
 
 if (rc_values[RC_CH1] < 1800) // turn leds off
   {
      digitalWrite(poww, LOW);
   }

hope that makes sense. took me a long time to figure it out from video and websites as they were only telling you how to read the receiver signal or it was for autonomous and not what to do, but with the help of people on here it some fell into place.

it gets a bit more complex when controlling the speed of a motor but now i got a working file, i just cut and paste. I think for the cost of one 3, it worth a play and if you or anyone else do get one and get stuck, we'll help out :) cheers

Tim
Logged

The Old Fart

  • Great Yarmouth Model Boat Club
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 176
  • Model Boat Mayhem is Great!
  • Location: Caister-on-Sea, Norfolk, UK
    • Great Yarmouth Model Boat Club
Re: Home Made PCB Board
« Reply #10 on: February 04, 2018, 08:18:14 PM »

if (rcvalue>1500) digital.write(leds,HIGH);
else digital.write(leds,LOW);

somit like that.

The Old Fart

  • Great Yarmouth Model Boat Club
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 176
  • Model Boat Mayhem is Great!
  • Location: Caister-on-Sea, Norfolk, UK
    • Great Yarmouth Model Boat Club
Re: Home Made PCB Board
« Reply #11 on: February 04, 2018, 08:26:53 PM »

Liking that Tim, take a look at this schematic I'm working on in Fritzing.

 Arduino nano to two shift registers, to rather a lot of mosfets %% All this to control the multitude of led's I have installed, we've discussed this on the arduino forum and I think this is my best way forward. The mosfets are because I have linked leds together and their total current draw is greater than the outputs of any of the arduino boards.

Now all I have to do is finish it off and then turn it into a pcb :}

Think you need resistors in each gate leg. just in case mosfet voltage backfeed to control chip.
A resistor is also needed to pull the gate voltage below threshold switch on.
Your switching the positive side on mosfet, so you need a negative voltage to make mosfet conduct.
I have made boards with uln2803a to interface between arduino and mosfet.
the 2803 will take 500ma per leg, 4Amps per chip. use without mosfet to switch negative side.

hope that makes sense, ...

Brian60

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 3,044
  • Location: Hull,UK-but currently residing in Los Martinez, Spain.
Re: Home Made PCB Board
« Reply #12 on: February 05, 2018, 08:52:28 AM »

The first part made sense - I have not yet put in the resistors to stop voltage backfeed ( I did say I was still working on it) The circuit is to give me a rough layout and to see what quantity of parts I need.

I didn't understand the part about needing a negative voltage to make the mosfet conduct? So far I have followed online descriptions of similar circuits -  could you explain a little more?

This is the diagram I am working off of, as you see it shows a resistor in the gate line. Are you saying I also need the one shown in the diagram between drain and the VDD, could you explain this part to me if so.

The Old Fart

  • Great Yarmouth Model Boat Club
  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 176
  • Model Boat Mayhem is Great!
  • Location: Caister-on-Sea, Norfolk, UK
    • Great Yarmouth Model Boat Club
Re: Home Made PCB Board
« Reply #13 on: February 05, 2018, 10:22:24 AM »

that mosfet is switching the negative rail. Your drawing shows switching the positive rail.

timgarrod

  • Full Mayhemer
  • *****
  • Offline Offline
  • Posts: 239
  • Location: derby
    • Alvaston Pirates Model Boat Club
Re: Home Made PCB Board
« Reply #14 on: February 07, 2018, 09:20:01 PM »

really please,

just had it running for about 30 min. All running leds, smoker (24 inverter ) and fan and all stone cold and no majic black smoke :)
Logged
Pages: [1]   Go Up