loading
6Instructables22,687Views18CommentsFalkland, ScotlandJoined October 5th, 2015

Tell us about yourself!

Complete Your Profile

Achievements

10K+ Views Earned a bronze medal
  • BillC35 commented on BillC35's instructable Arduino - Points/turnout Control2 weeks ago
    Arduino - Points/turnout Control

    Hi jay,First thing to check is the Arduino serial monitor for the decoded values.You should get burst of code printed on the monitor ending with:tun = turnout numberIf you want to send me an email directly, please use bill.c@btinternet.comYou can send me more detail if required e.g. circuit diagram, code etc

    View Instructable »
  • BillC35 commented on BillC35's instructable Arduino - Points/turnout Control3 weeks ago
    Arduino - Points/turnout Control

    Hi jayThanks for your interest in this project. You could use the 16 relay boards in this circuit. I think you would need 2 relays per railway point giving 8 points served from one board. If you have the space to use these then fine. Remember to add diodes across all solenoid contacts to protect against induction spikes.Yes, D2 has the DCC signal input from the packet receiver circuit.Good luck and enjoy the project.

    View Instructable »
  • Model Railway DCC Arduino Wireless Commands on a Dead Rail System

    Gary,You should find this cap herehttps://uk.rs-online.com/mobile/p/aluminium-capacitors/4759289/If not any 3.3 uf 25 volt (or greater) capacitor will do.Please note, the sn754410 h-bridge I use is suitable for train motors less than 2 Amps. If you have larger motors > 2Amps, you should use a more powerful H-Bridge.Also, I found the 12v supply to be too low and now use 14.4v batteries (12 x AA re-chargeable NiMh (1.2v each)). These are mounted under the floor of the home made diesel (DMU) or can be placed within a truck or carriage of the train with connecting cables.

    Hi GaryAnother h-bridge that supplies up to 3 Amps is this one on eBay (from Hong Kong). I have used this on my DCC Command Station project.http://www.ebay.co.uk/itm/3A-75W-PWM-DC-Motor-Driv...Happy to help.

    View Instructable »
  • Model Railway DCC Arduino Wireless Commands on a Dead Rail System

    Buy the Arduino pro mini on eBayhttp://www.ebay.co.uk/itm/Arduino-Pro-Mini-Atmega3...You will need a CH340 driver alsohttp://www.ebay.co.uk/itm/CH340-CH340G-USB-TTL-Ser...RS stock numbers for other parts:nrf24l01 885-57485 v reg. 298-85083.3v reg 686-9552sn754410 h-bridge. 527-7040.1uf cap. 108-2700220uf cap. 526-148010k ohm resistor. 150-9284.7k ohm resistor. 151-0001n4001 diode. 628-89313.3uf cap. 475-928922uf cap 449-1012

    View Instructable »
  • BillC35 commented on BillC35's instructable Arduino - Points/turnout Control3 months ago
    Arduino - Points/turnout Control

    Hi Simo, glad you like this Instructable. I used Hornby R8014 points motors (not surface mount) but should operate with same voltage and current. Please check the Vcc2 power supply which must be about 15 volts and capable of supplying peak current of at least 1 amp. Do your point motors operate of the track ok i.e. in free air movement? Please check alignment and freedom of movement of lever to points. You may have to adjust the timing in the Arduino sketch. I have 150 to 250 milliseconds on time delay (250);

    View Instructable »
  • BillC35 commented on BillC35's instructable Garden Train - Arduino / Wireless DCC3 months ago
    Garden Train - Arduino / Wireless DCC

    Yes any other wireless comm would work as the DCC part is generated onboard the train. All you need to transmit is the instructions.You would probably have to make your own app on a phone - I do not know how Engine Driver transmits data.

    View Instructable »
  • BillC35 commented on BillC35's instructable Garden Train - Arduino / Wireless DCC4 months ago
    Garden Train - Arduino / Wireless DCC

    Please refer to my instructable 'Model Railway DCC Arduino wireless commands on a dead rail system' for details of the nRF24 replacement for the obsolete RF28.

    View Instructable »
  • BillC35's instructable Arduino - adjustable & smart battery charger 's weekly stats: 5 months ago
    • Arduino - adjustable & smart battery charger
      119 views
      10 favorites
      0 comments
  • Model Railway - DCC Command Station using Arduino:

    Yes you can control your layout by having 12v battery power in each train along with Arduino programmed to provide DCC command address bytes. The Arduino is connected to a H bridge to convert DCC signal into +- 12v supply for the installed decoder. The on-board Arduino also has a wireless receiver to accept the command address from the base station which consists of an Arduino and wireless transmitter.

    View Instructable »
  • Model Railway DCC Arduino wireless commands on a dead rail system

    I have upgraded 2 of my garden trains with the wireless DCC system. So yes I do think it was a great idea from you Martin. The old LGB loco needed a more powerful battery. I am currently using a small lead-acid 12v battery from an alarm system. It sits in a modified truck along with the Arduino circuit. This is much easier in these large scale trains of course. I agree, the Li-Po batteries are a bit scary for some. I use the Li-Ion type in my diesel engine which has space under the floor to house them.

    View Instructable »
  • Model Railway DCC wireless commands on a dead rail system

    Hi MartinYou should use the Maniacbug library driver for the nRF24Arduino driver for nRF24L01RF24: Driver for nRF24L01(+) 2.4GHz Wireless TransceiverRF24: Driver for nRF24L01(+) 2.4GHz Wireless Transceiver I shall add this detail to the InstructableTo decrease processing time, the Arduino now only accepts one loco address in line 36 (int locoAdr = 3). The use of preamble + 3 bytes or preamble + 4 bytes (depending on DCC Command station in use) must be entered into line 53 { { locoAdr, 0, 0, 0, 0, 0, 0}, 3} // enter 3 for 3 byte and 4 for 4 byteI have not been able to complete this automatically in the Arduino code as yet.Also, I have removed the printf functions and other radio functions not required and the speed is a lot better. Regards Bill

    View Instructable »
  • Model Railway DCC wireless commands on a dead rail system

    Hi Martin, I do not get this error. Have you got all the library files included for the nRF24.h and nRF24L01.h? There area few entries in the Arduino forum that cover this error code. Have you the latest Arduino IDE 1.6.12 ?The radio will not work if this line is commented out (//)By the way, what Command Station are you using ? Does it supply a 3 byte address or 4 byte ? My code is for 4 byte. I will develop code for 3 byte (or both soon). The nRF24 radio is quite slow and adds a noticeable delay to transmitted commands which might be a problem. Need to look into this further.RegardsBill

    View Instructable »
  • Model Railway DCC wireless commands on a dead rail system

    It should work:- pin 6 Arduino to 2 on mobile decoder. To get the speed packets, your code in the mobile decoder should be similar to mine as Geoffs filters out all non-function packets.I have found variations on the output of different DCC Command stations on both packet contents and voltage levels. e.g. Bachmann EZ operates from a 16 volt supply (dangerously high for some decoders!), whereas my own runs from 12volts. This will make a difference to the resistor chain (10k / 4k7) on the input to the Arduino.Good Luck and thanks again for the ideas.Bill

    View Instructable »
  • BillC35 commented on BillC35's instructable Garden Train - Arduino / Wireless DCC9 months ago
    Garden Train - Arduino / Wireless DCC

    Hi MartinI have found a way of using Arduino Mini Pro and nRF24 to transmit and receive DCC command station data. The on-board Arduino must run the basic clock sequence and only the packet data needs to be transmitted. I shall create another instructable soon with details.Regards

    View Instructable »
  • Model Railway - DCC Command Station using Arduino:

    I have not included a programming feature on this command station. This must be done elsewhere, for example I use 'Decoder Pro' software on my Mac along with a Sprog II USB programmer.

    View Instructable »
  • BillC35 commented on BillC35's instructable Garden Train - Arduino / Wireless DCC11 months ago
    Garden Train - Arduino / Wireless DCC

    Hi Martin, With limited space in HO/OO locos it will be difficult to achieve a DCC wireless solution. You will need at least 2 x 1.5v batteries plus step up voltage circuit to supply 12 volts to the H-bridge. It should be possible to transmit the DCC signal by wireless to one of the bridge inputs and reversing the signal via a transistor to the other input to provide a 20+ volt peak to peak output that follows the received data. I will purchase a nRF24 module and check it out. Will let you know how I get on.Thanks for you idea.

    View Instructable »