User Tools

Site Tools


robvrs:g-semaphore-en

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
robvrs:g-semaphore-en [2022/09/26 14:06]
rjversluis [Brass Tube]
— (current)
Line 1: Line 1:
-[[:​english|{{ :​rocrail-logo-35.png}}]] 
-======WIO G-Semaphore====== 
-[[:​userpages|User pages]] -> [[:​userpages#​rob_versluis|Rob Versluis]] 
-  * **[[:​robvrs:​g-semaphore-en|WIO G-Semaphore]]** 
- 
-{{ :​robvrs:​semaphore-outdoor-1.jpg?​300}} 
- \\ 
-//Just a fun semaphore not related to the real semaphores found along railroad tracks.//\\ 
- \\ 
-=====Description===== 
-A WIOesp based stand alone semaphore.\\ 
-The Lolin D32 is selected because it has an onboard battery management for charging and discharging.\\ 
- 
-The WIO type should be set to Servo and NeoPixel will be activated on demand for the WS2811 color LED.\\ 
- 
- \\ 
-=====OpenSCAD===== 
-{{ :​robvrs:​semaphore-g.png?​360}} 
-The 3D files for the semaphore: 
-  * https://​gitlab.com/​rocrail/​rocrail3d/​-/​blob/​master/​lib/​shapes.scad 
-  * https://​gitlab.com/​rocrail/​rocrail3d/​-/​blob/​master/​G/​Semaphore/​semaphore-G.scad 
-**Note 1:** Print all components separately.\\ 
-**Note 2:** Rotate the pole in Cura by 45° to fit on the print bed, and disable support structures.\\ 
- 
- \\ 
-=====Filament===== 
-PETG is selected for outdoor usage.\\ 
- 
-^ Part ^ Color ^ 
-| Bottom | Grey | 
-| Top | Grey | 
-| Pole | Military green | 
-| Arm | White | 
-| Warn board | White | 
-| Arm Red | Red | 
-| Warn Red | Red | 
- 
- \\ 
-=====Wiring===== 
-{{:​robvrs:​g-semaphore-wiring.jpg?​400}} 
-^ Component ^ Lolin D32 pin ^ Remark ^ 
-| Servo PWM | 12 | A 270 Ohm resistor should be inserted between servo and Lolin D32 | 
-| Servo(+) | BAT | 
-| Servo(-) | GND | 
-| [[:​wio:​neopixel-en|WS2811]] Data | 0 | 
-| WS2811(+) | BAT | 
-| WS2811(-) | GND | 
-| 3V7 Battery(+) | - | Connect to the flip switch | 
-| 3V7 Battery(-) | GND | 
-| Flip switch | BAT | Other switch connection goes to the Battery(+) | 
-| Electrolytic capacitor 100µF (+) | BAT | Optional for stabilise servo movements. | 
-| Electrolytic capacitor 100µF (-) | GND | 
-^ //The Hall is optional and will trigger IOScript 99// ||| 
-| Hall(+) | BAT | 
-| Hall(-) | GND | 
-| Hall(S) | 36 | A 10k pull up resistor should placed over Hall(+) and Hall(S) | 
- 
-====Battery==== 
-Li-Ion 3V7 example common use for wireless telephones:​\\ 
-{{:​robvrs:​61-hzaa6_rl._ac_sl1500_.jpg?​300}}\\ 
- 
- \\ 
-=====IOScript===== 
-IOScript ON: 
-<​code>​ 
-00 1 S 000 000 0 02 
-00 1 P 000 100 0 01 255 000 000 
-</​code>​ 
-Dateiname: ''​sg1_000_00_001.io''​\\ 
- 
-IOScript OFF: 
-<​code>​ 
-00 1 S 000 060 0 02 
-00 1 P 000 100 0 01 000 255 000 
-</​code>​ 
-Dateiname: ''​sg1_000_00_000.io''​\\ 
- 
-====Hall==== 
-The Hall will flip between ''​sg1_000_99_000.io''​ and ''​sg1_000_99_001.io''​. It are Just copies of the IOScripts for port zero.\\ 
- 
- \\ 
-=====Signal Setup===== 
-====Interface==== 
-|< >| 
-^ Fiels ^ Value ^ Remark ^ 
-| Interface ID | WIO | 
-| Node ID | 41 | WIO setup dependent. | 
-| RED Address:​Port | 1:0 | All other addresses and ports should be remain zero. | 
-| Control | Default | 
-| Type | Macro | To trigger IOScript on the WIO. | 
- 
- 
-====Details==== 
-|< >| 
-^ Fiels ^ Value ^ Remark ^ 
-| Signal type | Main Semaphore or Light | SVG Theme dependent. | 
-| Aspects | 2 | 
- 
- \\ 
-=====Notes===== 
-  * __Switch the D32 on before connecting the USB for charging the battery!__ 
-  * Not all photos and images represent the latest developments of the semaphore. 
-  * Use 0,05mm² decoder wire for the WS2811. 
-  * The standard servo arm must be cut to fit. 
-  * Print the pole without support to be able to push wires for the WS2811 through it. \\ //Just do not watch it when the top layers are printed. :)// 
- 
- \\ 
-=====Tips===== 
-====LED Wiring==== 
-Use decoder wires for the RGB LED. \\ 
-  - Push the wires through the pole from top to bottom. 
-  - Fiddle the wires through the pole foot on the bottom plate. 
-  - Push the pole in the foot, and make sure the wires can still be moved. 
-{{:​robvrs:​semaphore-poleledwires.jpg?​800}}\\ 
-{{:​robvrs:​semaphore-poleledwires-foot.jpg?​600}}\\ 
- 
- \\ 
-====Brass Tube==== 
-If the PETG pole is not 100% straight, a brass tube of ø4mm can be inserted to straighten it.\\ 
-The tube is wide enough for the wiring.\\ 
-{{:​robvrs:​pole-brass-tube.jpg}}{{:​robvrs:​pole-brass-tube-bottom.jpg}} 
-=====Links===== 
-  * [[:​arduino:​wio-overview-en|WIOesp]] 
-  * [[:​wio:​wio-ioscript-en|IOScript]] 
-  * [[https://​youtube.com/​shorts/​3vd42vypo9c|Video of Semaphore]] 
-  * [[https://​youtu.be/​l6BariE7PqE|Outdoor test]] 
- 
-