!!

Not Registered?

Welcome!  Please register to view all of the new posts and forum boards - some of which are hidden to guests.  After registering and gaining 10 posts you will be able to sell and buy items on our N'porium.

If you have any problems registering, then please check your spam filter before emailing us.  Hotmail users seem to find their emails in the Junk folder.


Thanks for reading,
The NGF Staff.

Author Topic: Anyone know the Arduino Nano?  (Read 1160 times)

0 Members and 1 Guest are viewing this topic.

Offline MalcolmInN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Posts: 2291
  • Country: gb
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #15 on: October 25, 2018, 10:05:32 PM »
I genuinely have no idea what you’re taking about  ???
No worries Paul, it was just a load of chat round the subject in case it triggered any thoughts from anyone.
We got your original question sorted in the first few posts so that is ok !  :) (and no one has jumped in to say we are wrong so fingers xxed ! )

Good luck.





Offline Pjlons83

  • Trade Count: (0)
  • Full Member
  • ***
  • Posts: 218
  • Country: gb
  • Gender: Male
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #16 on: October 30, 2018, 09:38:18 PM »
If there was an emoticon for pulling your hair out this is where I'd use it! I've got the NANO working perfectly with just the voltmeter on the track. But when a loco is on the track my voltage plummets.

Strange goings on that I just cannot understand;

The loco runs perfectly with a 9v battery connected directly to the track;
With the track empty the voltmeter reads 0-9v through the Arduino controlled through the POT;
With the loco on the track to voltage reads 0-3v and the loco doesn't run!



Anyone know why the Arduino circuit would not like the loco?

Thanks
Paul





« Last Edit: October 30, 2018, 09:40:08 PM by Pjlons83 »
Gold Hill - my rule 1, “just for fun” micro layout;

Clouds Hill - My first layout currently on hold;

Offline themadhippy

  • Trade Count: (0)
  • Full Member
  • ***
  • Posts: 648
  • Country: gb
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #17 on: October 30, 2018, 09:52:35 PM »
sounds like theirs not enough current ,try reducing the value of the base resistor a bit or try a transistor with a higher  gain.

Offline MalcolmInN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Posts: 2291
  • Country: gb
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #18 on: October 30, 2018, 10:52:38 PM »
Are the resistor and tranny the same as you used in the previous one, in the video?

Offline MalcolmInN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Posts: 2291
  • Country: gb
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #19 on: October 30, 2018, 11:05:21 PM »
 :'( no hair here either !

How about we try without the Nano, just guesing off top of head but 5k prob ok for the substitute pd.

That should establish if your tranny combo is up to snuff !

PS have you got a spare dc motor of similar type, I dont like experimenting on treasured locos !


Offline themadhippy

  • Trade Count: (0)
  • Full Member
  • ***
  • Posts: 648
  • Country: gb
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #20 on: October 30, 2018, 11:11:29 PM »
whats the dc resistance of the loco and what transistor  are you using?

Offline MalcolmInN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Posts: 2291
  • Country: gb
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #21 on: October 30, 2018, 11:25:14 PM »
 and if you switch the meter to Amps (start at 200m) and put it between the 9v battery and the loco/track what is the loco drawing ?

Offline Pjlons83

  • Trade Count: (0)
  • Full Member
  • ***
  • Posts: 218
  • Country: gb
  • Gender: Male
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #22 on: October 31, 2018, 06:46:47 AM »
Thanks. I’ll check the resistance of the loco tonight.

Here’s the data sheet for the transistor I’m using;



And yes; it’s the same setup as before. It makes me question my soldering skills on the PCB butbuts fine without the loco on the track.
Gold Hill - my rule 1, “just for fun” micro layout;

Clouds Hill - My first layout currently on hold;

Offline MalcolmInN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Posts: 2291
  • Country: gb
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #23 on: October 31, 2018, 09:46:30 AM »
Oh ! I just woke up so pinch of salt but : --

 well the 2N2222 is a small signal general purpose npn. I would not have used that ! But if it worked before what do I know ? ! **

What we want is more of a power handling npn with a good Hfe (high gain, as someone said earlier). Else we need ti put the 2222 with something in a Darlington pair  - my head hertz , , ,
more after breakfast :-)

** >goes back to view the vid, what loco was that? maybe a new variety that works on low current (10 - 20 mA) whereas theisun needs more ( 100s ? ) just a thought.

« Last Edit: October 31, 2018, 09:51:23 AM by MalcolmInN »

Online Bealman

  • Moderator
  • Trade Count: (0)
  • Full Member
  • ****
  • N Gauge Society Number: 23151
  • Posts: 15592
  • Country: au
  • Gender: Male
  • Wembley here come.... again!
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #24 on: October 31, 2018, 09:56:04 AM »
Heck, I'm just going to bed here....

What do you folk have for breakfast?  ;)
Vision over visibility. Bono, U2.

Offline MalcolmInN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Posts: 2291
  • Country: gb
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #25 on: October 31, 2018, 09:59:03 AM »
From Wiki :-  The 2N2222 is a common NPN bipolar junction transistor (BJT) used for general purpose low-power amplifying or switching applications. It is designed for low to medium current, low power, medium voltage, and can operate at moderately high speeds. It was originally made in the TO-18

Is it a metal can or plastic, is it getting hot ?

I think you need to measure the current with this loco or try the one in the vid.

Offline MalcolmInN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Posts: 2291
  • Country: gb
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #26 on: October 31, 2018, 10:00:45 AM »
folk have for breakfast?  ;)
Positrons :)

Not had time for breakfast yet
more laters , whoooshh >>>

Online Bealman

  • Moderator
  • Trade Count: (0)
  • Full Member
  • ****
  • N Gauge Society Number: 23151
  • Posts: 15592
  • Country: au
  • Gender: Male
  • Wembley here come.... again!
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #27 on: October 31, 2018, 10:17:57 AM »
 ;D

Most model railway controller electronics that I have experience with involved the large metal power transistors with plenty of heat sinking compound and a heat sink.

Make time for breakfast... I'm about to retire for better or worse with episode 4 of the Great Model Railway Challenge!  :beers:
« Last Edit: October 31, 2018, 10:19:49 AM by Bealman »
Vision over visibility. Bono, U2.

Offline AlexanderJesse

  • Trade Count: (0)
  • Full Member
  • ***
  • Posts: 306
  • Country: ch
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #28 on: October 31, 2018, 10:49:32 AM »
Wouldn't it be better to use a dedicated motor shield for the Nano? Possibly one with MosFets instead of the normal L293 or L298 chips.
=================
have a disney day
vapour is just water and therefor clean

Online Bealman

  • Moderator
  • Trade Count: (0)
  • Full Member
  • ****
  • N Gauge Society Number: 23151
  • Posts: 15592
  • Country: au
  • Gender: Male
  • Wembley here come.... again!
    • Awards
Re: Anyone know the Arduino Nano?
« Reply #29 on: October 31, 2018, 11:08:38 AM »
Now that's an idea!

Like the robot fans use?
Vision over visibility. Bono, U2.

 

Please Support Us!
May Goal: £55.00
Due Date: May 31
Total Receipts: £55.00
Below Goal: £0.00
Site Currency: GBP
100% 
May Donations


Advertise Here