Raspberry Pi Zero Controlling Things

D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:
D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:

Dagnall

Registered
17 May 2016
34
15
71
HAYLING island
Best answers
0
Country flag
John, where is the code you show the picture for:(??

For those unfamiliar with the NodeMCU "Motor Controller", that John shows in the top of his picture, its particularly useful device for modellers, as the rows of pins you can see are all "V+,Ground, I/O pin", and so can take (and drive) a standard servo plug, or be used with a Hall effect transistor as a track sensor. As standard, the V+ is only 3.3V, but I found a very simple hack to make the pins 5V, so they will work normal servos.
 
D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:
D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:
D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:
  • Like
Reactions: 1 user
D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:
D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:
D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:

GAP

G Scale Trains, HO Trains, 1:1 Sugar Cane trains
14 Jun 2011
4,061
947
Bundaberg Queensland, Australia
Country
Australia
ringbalin-light-railway.blogspot.com
Best answers
0
Country flag
cmdline.txt was rootwait text added to the end of the command line?
This holds the SD Card boot process up for about six seconds, allows the HDD to spin into action.

Explanation of how one edits cmdline.txt please, if it is by using nano can I substitute 'Leafpad" as I can drive it but nano is just magician stuff to me.
 
D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:

GAP

G Scale Trains, HO Trains, 1:1 Sugar Cane trains
14 Jun 2011
4,061
947
Bundaberg Queensland, Australia
Country
Australia
ringbalin-light-railway.blogspot.com
Best answers
0
Country flag
New HDD on its way so waiting to give it a go.
I guess I'll have to learn Nano then.
What does inserting "text" before "splash' actually do?
 
Last edited:
D

Deleted member 4232

Guest
Moved
 
Last edited by a moderator:

GAP

G Scale Trains, HO Trains, 1:1 Sugar Cane trains
14 Jun 2011
4,061
947
Bundaberg Queensland, Australia
Country
Australia
ringbalin-light-railway.blogspot.com
Best answers
0
Country flag
By itself absolutely nothing, the aim of "text" is to waste time and occupy the RPi with a meaningless task during the boot process to allow the external HDD to "spin up" and be ready.

The RPi boot process is turo charged ( compare it with the lame and ever so sloooowwwww Windows 10 booting process!) as it is just too quick for an external HDD to spring into action, inserting the word "text" after rootwait slows the RPi down by around six seconds, a modern day HDD can usually spring into life after around two seconds, older models of HDD need a little extra help.


OK I have seen similar suggestion something along the lines of "wait =6" if I remember correctly which is not a good indication.

That is probably why my old HDD from the steam driven era just kept failing, hence the new HDD on its way.