User Tools

Site Tools


gca-pi05-en
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


gca-pi05-en [2019/04/18 14:26] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== GCA-Pi05 G-Loco Controller ======
 +[[:english#command_stations|{{  :interface.png}}]][[:english|{{  :rocrail-logo-35.png}}]][[:rocnet:rocnetnode-en|{{ :rocnet:rocnet-hw.png}}]]
 +[[:english|Content]] -> [[:english#command_stations|Command Stations]] ->  [[rocnet:rocnet-prot-en|RocNet]] 
 +  * [[rocnet:rocnet-prot-en|RocNet Protocol]] | [[:rocnet:rocnetnode-en|RocNetNode]]
 +    * [[:rocnet:rocnetnode-hwsetup-en|RocNetNode Setup]] | [[:rocnet:rocnetnode-setup-en|RocNetNode Configuration]] | [[:rocnet:rocnetnode-img-en|Installer package]]
 +  * [[:gca:gca-index-en#raspbery_pi_rocnet_boards|Raspberry Pi Boards]]
 +    * [[:gca1-pi01-en|GCA-Pi01]] | [[:rocnet:pi01can-en|Pi01CAN]] | [[:gca_pi02-en|GCA-Pi02]] | [[:gca-pi03-en|GCA-PI03]] | [[:gca-pi04-en|GCA-PI04]] | **[[:gca-pi05-en|GCA-Pi05]]** | [[:gca-pi06-en|GCA-Pi06]] | [[:GCA-PI07-en|GCA-PI07]] | [[:GCA-PI08-en|GCA-PI08]] | [[:gca107-en|GCA107 Relay board]] | [[:rocnet:rocdisplay-en|RocDisplay]] | [[:rocnet:fastclock-en|Fast Clock]]
 +  * [[:rocnet:rocnetnode-build-en|Build from source]] | [[:raspi:raspi-dev-en|RasPi as Rocrail server]]
  
 + \\
 +|  Discontinued, and no longer available.  |\\
 +
 +{{rocnet:rocnet-wlan.png?250}}{{:robvrs:g:gp7.jpg?300}}
 +
 + \\
 +=====Description=====
 +The RocNetNode supports Mobile commands for controlling the GCA-Pi05.\\
 +The GCA-Pi05 is designed for gauge **G** locomotives with enough room to hold a RasPi/Pi05 sandwich.\\ 
 +The Raspberry Pi communicates by WiFi.\\
 +Startup of Rasberry Pi is not like a normal DCC locdecoder, it takes approx 8-10 seconds.\\
 +Therefore, also a small 6 Volt Accubattery should be mounted inside the loc.\\
 +The power supply will also take care for charging the battery and switch it off if for a longer period no power is available from the track.\\
 +
 + \\
 +
 +=====Features=====
 +  * RFID reader for reporting scanned tags between the tracks; Sensor by ID.
 +  * 4A Motor PWM output: GPIO 22 and 7-8 for direction.
 +  * 2 Smoke generator channels: 7-8.
 +  * 6 light PWM channels direction dependent: 9-14.
 +  * 6 Servo channels: 1-6.
 +  * 2 general channels: 15-16.
 +  * Sounds from SD-Card.
 +  * Hall sensor for controlling the drive wheel speed.
 +
 + \\
 +
 +=====Loco address====
 +  * [[:loc-int-en|Loco Interface]]
 +    * Bus -> 0
 +    * Address -> RocNetID
 + \\
 +=====Motor setup====
 +{{ http://arduino.cc/en/uploads/Tutorial/pwm.gif?200}}
 +  * [[:loc-int-en|Loco Interface]]
 +The motor PWM frequency is about 100Hz.\\
 +The **maximal duty cycle** can be set as percentage in the **steps** field; 100% is maximal.\\
 +**Acceleration** can be set in the **mass** field: 1=10ms, 10=100ms, ...\\
 +The number of internal speed steps is fixed at 100 and is spread over the maximal duty cycle set in the steps field; For max. duty cycle of 50% the number of decoder steps must be set to 50.\\ 
 + 
 + \\
 +
 +=====Sensor setup=====
 +The reported RFID must mach with a __**[[:sensor-gen-en#id|Sensor-ID]]**__ in Rocrail.\\
 +This sensor should have its address set to zero.\\
 +The ID must be set in this notation: __**[[:can-gc4-en#rfid_notation|RFID Notation]]**__\\
 +The Rocrail traces can be used to copy this ID or the __**[[:sensormon-en|Sensor Monitor]]**__.\\
 + \\
 +
 +=====WiFi=====
 +{{ :rocnet:edimax-ew-7711uan.jpg}}\\
 +The RasPi needs a good WiFi USB-Stick to get a stable connection.\\
 +In the test environment  an EdiMax EW-7711UAn is used. (€10)\\
 +The EdiMax Nano can not be used.\\
 +
 +
 + \\
 + \\
 + \\
 + \\
 +
 +=====Hardware=====
 +|{{:gca:gca_pi05a_sch.pdf|Schematic of controllerboard}}  |
 +|{{:gca:gca_pi05b_sch.pdf|Schematic of addional power supply board}}  |
 +|{{:gca:gca_pi05_pcb.pdf|The prototype pc-board}}  |
 +|{{:gca:gca_pi05_parts.pdf|The bill of materials}}  |
 +|[[http://www.adafruit.com/products/815|Adafruit PCA9685]]  |
 +^ N.B. Only complete ordered kits will be supported! ^
 + \\
 +
 +=====Locomotive=====
 +For this example a **[[http://www.usatrains.com/usatrainslocogp7.html|USA Trains EMD GP7]]** has been used.\\
 +{{http://www.usatrains.com/gif/GP7parts.gif}}\\
 +  * Max. 65 MPH (104 KM/H)
 +  * Drive wheel diameter is 28mm; One rotation is 88mm.
 +
 +====RPM Control====
 +===Magnets===
 +In the gear-wheel 3 magnets of 6mm ø3mm must be mounted like this:\\
 +{{:robvrs:g:3mag.jpg?400}}\\
 +===Hall Sensor===
 +The Hall sensor can be tie-wrapped on a small piece of PCB which fits beside the gear-wheel in the gear-box of one truck.\\
 +After the sensor have been bent in the optimal position it can be fixated with some hot glue.\\
 +The Hall sensor will generate three times a pulse for every wheel rotation.\\
 +| {{:robvrs:g:rpm-hall-position1.jpg?400}} | {{:robvrs:g:rpm-hall-position2.jpg?480}} |
 +|  Position for the PCB board.  |  Mounted PCB.  |
 +| {{:gca:hallsensor_position.jpg?400}} | 
 +|  another way to mount the hallsensor   \\   on the other side of the housing  |
 +
 + \\
 +^ DC Voltage ^ Hall Freq. ^ Rotations ^ Scale speed ^
 +|  2V |  3Hz |  1 |  10 kmh |
 +|  6V |  10Hz |  3.33 |  35 kmh |
 +|  12V |  22Hz |  7.33 |  67 kmh |
 +|  18V |  33Hz |  10 |  100 kmh |
 +
 + \\
 +
 +====RFID Reader====
 +The RFID reader can be mounted in the Cylinders (19). Or alternatively in the tank. (20)\\
 +| {{:robvrs:g:rfid-reader-position-1.jpg?400}} | {{:robvrs:g:rfid-reader-position-2.jpg?480}} |
 +
 + {{:robvrs:g:id12la.jpg}}\\
 +The **ID-12LA** in combination with glass responders is fast enough for this gauge.\\
 +
 +
 + \\
 +===== Motor distortion =====
 +The motors usually are spreading a lot of distortion, which is suppressed mostly on the controller board or decoder.\\
 +But the rather long lines to the motor still spread a lot of this distortion,\\
 +and in that way making a good functioning of the RFID sensor rather impossible.\\
 +One good solution is using VDR resistor (plain 30V type) , mounted directly on the motor connections.\\
 +This actually cured my RFID problem.\\
 +Picture below shows one of the VDRs mounted.\\
 +{{:gca:vdr-mounting.jpg}}
 +
 +=====Videos=====
 +  * [[https://www.youtube.com/watch?v=qqWY_-H5RcY&feature=youtu.be|Test track at the MGV club in Venlo]] \\ The ID-12LA is fast enough. There is no digital signal on the tracks; Only a AC power supply.
gca-pi05-en.txt · Last modified: 2019/04/18 14:26 by 127.0.0.1