WoW: Unterschied zwischen den Versionen

Aus LaborWiki
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „{{ProjektInfoBox |name = WoW |status = stable |image = 10072_621793727869575_160964232_n.jpg |description = Whitcube on Wheels |author =…“)
 
Keine Bearbeitungszusammenfassung
 
(41 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{ProjektInfoBox
{{ProjektInfoBox
|name       = WoW
|name=WoW
|status     = stable
|status=stable
|image       = 10072_621793727869575_160964232_n.jpg
|image=Kandalowski WoW Doku 01-1.jpg
|description = Whitcube on Wheels
|description=Whitcube on Wheels
|author     = A.B.
|username=Bilex
|username    = Bilex
|author=A.B.
|version    =
|platform=Representation
|update      =
|update=
|platform   = Representation
|tags=Bewegung und Mechanik,
|license    =  
|download    =  
}}
}}
== Information ==


'''W'''hitecube '''o'''n '''W'''heels is a remote-controlled, battery-driven onstage stage. If you want to be mobile with people performing ''onstage'' on a stage, WoW fits to your needs. WoW is able to carry up to four people and can be controlled accurately from 0-6km/h by using a WiFi connection.  Besides going forwards and backwards it is able to perform rotations around its own axis. Wow is dismountable to make transportation less challenging.


== Information ==
<gallery>
 
Golddiggers.jpg |GOLDDIGGERS on WoW
Whitecube on Wheels is a remote-controlled, battery-driven onstage stage. If you want to be mobile with people performing onstage on a stage, WoW fits to your needs. WoW is able to carry up to four people and can be controlled accurately from 0-6km/h by using a WiFi connection.  Besides going forwards and backwards it is able to perform rotations around its own axis. Wow is dismountable to make transportation less challenging.
20140512 201629.jpg | Musicians on Wow
20140505 140254.jpg | This fits into your car
</gallery>


==Mechanics==
==Mechanics==


In principle WoW works like a wheelchair with increased wheelbase. Both motors and wheels are taken from a wheelchair. The construction itself is a mixture of wood and welded steel assemblies.  
In principle WoW works like a wheelchair with increased wheelbase. Both motors and wheels are taken from a wheelchair. The construction itself is a mixture of wood and welded steel assemblies.  
YNNOK was designed with Autodesk Inventor .
WoW was designed with Autodesk Inventor . Thanks to the local workshop at the physics department for manufacturing the well welded steel components!


<gallery>
<gallery>
Ynnokexpl1.png
20140307 175728.jpg | My new Fixie
Ynnokexpl2.png
20140206 112353.jpg | Motorunits
Cap.jpg
20140206 171439.jpg | Rearwheels
20140206 205802.jpg | Backside
Ride.jpg | Testrun
working2.jpg | First frame setup
working3.jpg |
Working.jpg | At the venue
Finished.jpg | Ready to go
</gallery>
</gallery>


Zeile 34: Zeile 42:


<gallery>
<gallery>
caseynnok.jpg| YNNOK en detail
20140321_210145.jpg| Gamepad, Computer, Wifi-Module
</gallery>
</gallery>


== WiFi access ==
===Joystick-Imitation===


YNNOK uses a TL-WR1043ND WiFi router with OpenWRT to provide wireless access. The router comes with an USB port that is used to talk to a Teensy 2.0 Board programmed with Arduino. Several LUA scripts are used to send data via the serial port to the Teensy Board and then the data is transmitted via the RS-485 databus to YNNOK. The Teensy Board is redundant so far because the data could be easily transmitted via a USB -> RS-485 converter but in the future the board can do some more useful stuff like illumination dimming and so on. YNNOK has an inner counter that counts up if the door status changes to OPEN. After door opening it sends back the new value via the bus. To read the counter ser2net is used. Just listen to the right TCP port and get the actual door count!
To make the motors radio controlled you need to get data into the system. In general there are a couple of ways to do so. The easiest way is to manipulate the joystick mechanically. (Look at this amazing solution on [https://www.youtube.com/watch?v=88oaO4ipiYk Youtube]). Another approach is to get deeper into the CAN-Bus communication between the power module and the joystick to send appropriate data with an external uC. A less complex but still satisfying solution is to fake the joystick. A quick look at the joystick itself shows that it consist of two potentiometers working as a voltage divider. To generate these two variable voltages from zero to five volt a Teensy-Board is programmed in Arduino. Two PWM channels are turned into analog signals with a low pass filter. The filter uses only a resistor and capacitor, for a very simple and low cost way to obtain an analog signal. As safety is an issue when moving +200kg the Teensy-Board is programmed to bring the virtual joystick to a neutral position if there is no data longer than 100ms.


<gallery>
==Communication==
ynnokrouter.jpg| TL-WR1043ND and Teensy Board
</gallery>


== FAQ ==
A RN-XV WiFi-Module is used to get data to the Teensy-Board via a UDP <-> UART bridge. The module is connected to a Wifi-Router and listens to a speficic port. Everything you send to this port can be used with the Teensy-Board by just reading the UART.
A MAX/MSP patch sends the data via an UDP-External. [http://cycling74.com Max] is a visual programming language for music and multimedia and mostly used by artists and musicians.


'''Is it safe?'''
==Gamepad==


No. The read-only transponders can be read while you wear them in your wallet and then it is possible to replicate them later.
The first idea was to connect an ordinary gamepad to the computer,read the data and send it via UDP to the Wifi-Module. The gamepad I got was creepy and not precise enough. As the Teensy-Board offers the option of working as a gamepad I took an old remote and replaced the inner electronic with an Teensy-Board. Next to the two channels for normal operation (forward/backward left/right) a virtual push button is pressed every 50ms. This button triggers the MAX patch to send data via UDP. If the gamepad is detached from the computer, no data will be sent. This is important to make sure that data is only sent as long the gamepad is connected to the computer.
But compared to a normal lock this is more annoying than lock-picking which is not possible with YNNOK. Using the WiFi access in combination with an ordinary social-hack might be the easiest way to skip YNNOK.


'''What happens during power blackout?'''
== Helpful Links ==
 
YNNOK will not work as there are no backup batteries so far. '''Update:''' I got two nice 25Ah PB-batteries BUT some flatmates are scared of FIRE! This is the reason why they are safely stored and not in use...
 
'''How many people are using YNNOK?'''
 
Five.
 
'''Whats the actual doorcount?'''
 
776 (14.04.2014)<br />
3796 (19.08.2014)
 
'''Is this Open Source?'''
 
YES! Download the CAD data here or contact me at ''nihilist at online dot de''.
 
'''Is there a to-do list?'''


The status LED illumination needs some improvement. A nice web GUI and an Android App/Widget would be nice.
[http://www.tinkerfailure.com/2012/02/setting-up-the-wifly-rn-xv How-To Set Up the RN-XV ]


== Video ==
[https://www.pjrc.com/teensy/td_pulse.html Filtering PWM for Analog Output]


To be done..
== Downloads==
 
== Download CAD Data ==
 
[http://das-labor.org/w/images/9/92/YNNOK.zip Here] you can download the mechanical part of the game in *STEP and *IGES data.
 
== Helpful Links ==


[http://ediy.com.my/index.php/blog/item/40-send-message-to-serial-port-or-router-using-lua Sending Message to Serial Port of Router using Lua]
- MAX/MSP patch including the sadamUDP externals to send and receive data via UDP<br />
- Arduino code  for joystick imitation and Wifi communication<br />
- Arduino code to make a Teensy-Board work  as a gamepad <br />


[http://www.cse.dmu.ac.uk/~sexton/ENGD2003/openwrt/arduino%20teensy%20openwrt.html  Teensy/Arduino WiFi with ser2net and OpenWRT]
[http://das-labor.org/wiki/Datei:wow.zip Dowload]


== Video==


See WoW in action with the Golddiggers onboard in their amazing musicvideo on [https://www.youtube.com/watch?v=y2VNn5xgBa0 Youtube] !
[[Kategorie:Mechanik]]
[[Kategorie:Mechanik]]

Aktuelle Version vom 8. April 2017, 00:12 Uhr

     
WoW

Release status: stable [box doku]

Kandalowski WoW Doku 01-1.jpg
Description Whitcube on Wheels
Author(s)  A.B. (Bilex)
Platform  Representation



Information[Bearbeiten | Quelltext bearbeiten]

Whitecube on Wheels is a remote-controlled, battery-driven onstage stage. If you want to be mobile with people performing onstage on a stage, WoW fits to your needs. WoW is able to carry up to four people and can be controlled accurately from 0-6km/h by using a WiFi connection. Besides going forwards and backwards it is able to perform rotations around its own axis. Wow is dismountable to make transportation less challenging.

Mechanics[Bearbeiten | Quelltext bearbeiten]

In principle WoW works like a wheelchair with increased wheelbase. Both motors and wheels are taken from a wheelchair. The construction itself is a mixture of wood and welded steel assemblies. WoW was designed with Autodesk Inventor . Thanks to the local workshop at the physics department for manufacturing the well welded steel components!

Electronics[Bearbeiten | Quelltext bearbeiten]

A wheelchair comes with everything you need to maneuver high loads if you rely on battery operation. WoW is equipped with two 150W DC drive units. Compared to DIY solutions, the drive system that comes with the wheelchair is a hassle-free out of the box solution. It provides a joystick, battery monitoring, several speed levels, acceleration management (ramping), automatic motor break release and offers a steering management by speeding the wheels with variable speed. Two 25Ah Pb batteries are used to provide a couple of hours driving fun.

Joystick-Imitation[Bearbeiten | Quelltext bearbeiten]

To make the motors radio controlled you need to get data into the system. In general there are a couple of ways to do so. The easiest way is to manipulate the joystick mechanically. (Look at this amazing solution on Youtube). Another approach is to get deeper into the CAN-Bus communication between the power module and the joystick to send appropriate data with an external uC. A less complex but still satisfying solution is to fake the joystick. A quick look at the joystick itself shows that it consist of two potentiometers working as a voltage divider. To generate these two variable voltages from zero to five volt a Teensy-Board is programmed in Arduino. Two PWM channels are turned into analog signals with a low pass filter. The filter uses only a resistor and capacitor, for a very simple and low cost way to obtain an analog signal. As safety is an issue when moving +200kg the Teensy-Board is programmed to bring the virtual joystick to a neutral position if there is no data longer than 100ms.

Communication[Bearbeiten | Quelltext bearbeiten]

A RN-XV WiFi-Module is used to get data to the Teensy-Board via a UDP <-> UART bridge. The module is connected to a Wifi-Router and listens to a speficic port. Everything you send to this port can be used with the Teensy-Board by just reading the UART. A MAX/MSP patch sends the data via an UDP-External. Max is a visual programming language for music and multimedia and mostly used by artists and musicians.

Gamepad[Bearbeiten | Quelltext bearbeiten]

The first idea was to connect an ordinary gamepad to the computer,read the data and send it via UDP to the Wifi-Module. The gamepad I got was creepy and not precise enough. As the Teensy-Board offers the option of working as a gamepad I took an old remote and replaced the inner electronic with an Teensy-Board. Next to the two channels for normal operation (forward/backward left/right) a virtual push button is pressed every 50ms. This button triggers the MAX patch to send data via UDP. If the gamepad is detached from the computer, no data will be sent. This is important to make sure that data is only sent as long the gamepad is connected to the computer.

Helpful Links[Bearbeiten | Quelltext bearbeiten]

How-To Set Up the RN-XV

Filtering PWM for Analog Output

Downloads[Bearbeiten | Quelltext bearbeiten]

- MAX/MSP patch including the sadamUDP externals to send and receive data via UDP
- Arduino code for joystick imitation and Wifi communication
- Arduino code to make a Teensy-Board work as a gamepad

Dowload

Video[Bearbeiten | Quelltext bearbeiten]

See WoW in action with the Golddiggers onboard in their amazing musicvideo on Youtube !