Previous in Forum: Asimov's Prediction for 2019   Next in Forum: DIY Solar Swamp Cooler
Close
Close
Close
13 comments
Rate Comments: Nested
Power-User

Join Date: Mar 2012
Location: Hot Humid Houston
Posts: 229
Good Answers: 29

Wireless IoT with Arduino or Raspberry Pi Brains?

01/01/2019 6:00 AM

Hello CR4 Friends... It is so good to be back in touch and reading the forums, and even better to have a question (maybe 30?) for everyone!

My new challenging project is animation and motorization of flying scenery for an upcoming performance of Mary Poppins. In the show, the director wants to fly umbrellas on 12 different cross-stage lines so that the umbrellas can move up and down and left and right, with multiple umbrellas on each of the 12 lines. The resulting look will be very interesting with dozens of umbrellas dancing all about the stage.

Usually, and certainly up until about 2000-2004, this "gag" would be done with small ropes or trick lines (Line Sets) and a whole bunch of stage hands pulling ropes and dropping sandbags. It makes for a real backstage circus and is very expensive and almost impossible to make closely repeatable night after night.

So now - what I'd like to do is automate this gag and pre-program the effects to make the look consistent from show to show.

There is a lot more to this than just the Arduino vs Raspberry Pi vs (Other?) question, but I thought maybe it would be a place to start.

Presume - the Raspberry Pi or Arduino or Other device will be a part of the control system for each Line Set, and for now that control system is known as the Line Set Box (LSB). A main computer stores cues (Cue Recording Box).

Presume - the line set exists so that all the LSB has to do is receive a cue command from CRB and then rotate the line set motor in the proper direction until the cue set point is reached.

Presume - The motor/line set will have some type of encoder sending position data to the LSB.

Presume - bluetooth is not reliable because of distances between CRB and LSB so WiFi or other wireless protocol needs to be selected

Presume - best interface is a joystick for moving line sets into place, with some kind of keyboard or button surface to enter set points and record cues in CRB. Could be a single joystick with 12 selectable channels for each line set.

Presume - the LSB eventually should be battery powered - self contained. I need to choose a working voltage 12, 24, 48 DC, all very possible. 120V AC is possible from battery/inverter but less efficient than keeping all devices in the LSB using DC.

Questions -

1) Raspberry Pi or Arduino or (Other?) seem to be best to make the LSBs for the project?

2) The project could have a Line Set Box for each line set, and the CRB sending signals out and recording cue set points. What communication methodology would be best for this wireless communication between the line sets and the brain? TCP/IP over WiFi?

3) After we get the CRB brain communicating with the line set LSBs, we will need to get the RaspPi/Arduino device to translate those cue point instructions into something, perhaps PWM, to drive the motor controller. And, rather than create PWM in the LSB and sending that to a motor controller that reads the PWM and operates a jumble of big heavy transistors to make a motor turn... could the RaspPi/Arduino itself be the motor controller?

That's enough to get more than started. I sure hope we can have fun with this. I know it will be a blast to get to talk with some old friends.

Thanks,

Vincent

__________________
txmedic3338
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#1

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/01/2019 12:33 PM

Maybe this will give you some ideas:

https://en.wikipedia.org/wiki/Fly_system

Register to Reply
Power-User

Join Date: Mar 2012
Location: Hot Humid Houston
Posts: 229
Good Answers: 29
#10
In reply to #1

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/03/2019 5:57 AM

Hello Rixter - Guess I should update my bio information, or explain with an even longer intro to my questions...

I've been in the theater/entertainment business since 1976. These days I perform safety inspections for theaters all across the country, and we fly performers, and we build and install special theatrical rigging systems.

The wiki article is a good piece, nice intro to backstage at the theater. That's all old hat to us.

Our challenge in this project is not the rigging, and perhaps not the mechanization either - it's becoming apparent that the largest part of the work lies in building the control interface, software, and wireless TxRx.

__________________
txmedic3338
Register to Reply
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#2

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/01/2019 1:37 PM

What about a video wall?

I'm afraid your mechanical setup will be rather jerky and appear clunky, and the umbrellas will be swinging and twisting all over the place...very hard to choreograph with any precision ...

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#3
In reply to #2

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/01/2019 2:19 PM

...or you could have people dress in black and have the umbrellas glow painted in a blacklight lit stage...

....or you could go with a holographic LED display....really cool...

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#4
In reply to #3

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/01/2019 2:44 PM
__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Power-User

Join Date: Mar 2012
Location: Hot Humid Houston
Posts: 229
Good Answers: 29
#11
In reply to #2

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/03/2019 5:59 AM

Great Idea SE!!! And we have 200+ tiles so we could do it, easily.

But it's not what the director wants (or will pay for). Bummer.

__________________
txmedic3338
Register to Reply
Guru

Join Date: Jul 2008
Posts: 1688
Good Answers: 145
#5

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/01/2019 3:11 PM

Unless you peacefully shut down the Raspberry Pi (typically with a keyboard and monitor) it will crash the OS on the SD card about 5% of the time. Overcoming this requires either graceful shutdowns or building a power card that will detect power loss and supply power (from battery or huge capacitor) during an interrupt driven graceful shut down.

The Raspberry Pi has an Integrated Murphy's Law Logic Coprocessor. If your procedure is to "yank power" when done then it will work properly during all testing but crash the OS and trash the SD card on the night of your most important performance.

__________________
Few things limit our potential as much as knowing answers and setting aside questions.
Register to Reply
Power-User

Join Date: Mar 2012
Location: Hot Humid Houston
Posts: 229
Good Answers: 29
#12
In reply to #5

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/03/2019 6:05 AM

This is good to know. Definitely need to have a failsafe default for what happens if controller crashes. Sounds like our goal should be to never shut down, and we are planning to have the entire system running on battery power so mains interruptions should not be an issue. But this is disturbing about the frequency of crashes. Maybe Arduino is coming up from behind in the pack and ready to take the lead...

__________________
txmedic3338
Register to Reply
Guru

Join Date: Oct 2009
Posts: 1460
Good Answers: 30
#6

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/02/2019 6:36 AM

So many questions to answer.

1. Which microcomputer? The one with which you are most familiar. I personally prefer the Arduino road, but unless you have already spent a lot of time in practical programming there is no chance of this being ready by May.

2. Which wireless system? The 2.4GHz radio control systems which are taking over the RC model world. A 12 channel transmitter will give you 2 joysticks and any number of switches and you can bind several receivers to 1 transmitter. Receivers can operate relay switches, servo positioners or motors.

3. Which operating system? If you are building from scratch you are going to have to devise your own signalling protocol between your CRBs and your LSBs, and you will have to do that before you even get to the ArduiPi.

4. Whose insurance? There is a massive safety implication here, recalling the old joke about the Irishman who responded to the traveller's question about the best way to get to Dublin with "If you want to get there I wouldn't start from here".

Register to Reply
Power-User

Join Date: Mar 2012
Location: Hot Humid Houston
Posts: 229
Good Answers: 29
#13
In reply to #6

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/03/2019 6:20 AM

The microcomputer I know best is an old 8088 PC. Or maybe my TRS80. Ha!

Considering contracting the code work. Business partner already has a coding group he works with on other projects. We will be discussing.

2.4GHz and Futaba are our good friends for little special effects gags. At Thanksgiving We built a receiver and 100 amp PWM motor controller, but it was only good for 24 volts. Liquid cooled, designed to go in an RC race boat. We did it for the experience. Those motor RPMs were much too high, so we would need speed reducers. Already planned for that and doing more research there.

That's a whole different discussion we are kicking around -- do we go DC motors (wheelchairs, treadmills) and build some larger motor controllers (liquid cooled???) or do we go AC motors with VSDs.

Operating system... MS-DOS!!! Haha... Probably Linux. Coding group will lend direction.

Insurance - we are insured out the wazoo because of our entertainment rigging and performer flying. The premiums are painful. But we love our agent and they love our checks and most of all our Zero accidents and Zero claims for 40 years.

Love the Irish joke!!!

__________________
txmedic3338
Register to Reply
Guru

Join Date: Jul 2008
Posts: 1688
Good Answers: 145
#7

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/02/2019 7:05 AM

When you think about communication you might also consider IR. Yes, it sounds like your TV remote controller but don't dismiss it too quickly.

I have a relative who was a star in a major Broadway production for many years. I was able to get backstage a few times. The remote controlled items in their play used IR LEDs. There was the risk of the receiver being briefly blocked but overall that was considered to be their best choice. It was essentially 100% immune to accidental interference. If someone knew their communication method it would be very difficult to covertly overpower the backstage unit during a performance. And, since you would assume RF communication the IR was effectively 100% immune to covert interference.

For both timeline and safety I would suggest tight and simple goals. If possible the communication should be just "on" and 'off". If your goal isn't to be "done" two months before your first performance then I would give strong consideration to the sand bags.

When it comes to safety you and your team are on your own. We are just anonymous postings on an anonymous internet. For all you know we could be malicious Russian bots that are bored between elections.

__________________
Few things limit our potential as much as knowing answers and setting aside questions.
Register to Reply
2
Guru

Join Date: Dec 2010
Location: North West England
Posts: 1170
Good Answers: 153
#8

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/02/2019 12:06 PM

I originally wrote this with a sketch attached but the sketch failed to paste to CR4 so bare with my description.

If you create a continuous wire loop in the form of an H all the motors can be mounted on the ground in the wings. There is one fixed pulley above each motor and three pulleys mounted in a frame comprising two triangular plates at the joint of the H cross wires so that, while fixed in relation to each other, the three pulleys are free to move up and down on their frame. It helps if you draw it while reading the description. Proceed by installing the loop wire center stage to outwards below the powered motor 1 pulley, vertically up to motor 1 top pulley passing straight through inside pulley A on the first frame, over the top pulley, down to the first frame where it passes inside and under pulley B and horizontally across the stage to pass under and inside pulley Pulley B on the second frame then vertically up and over motor 2 top pulley, down passing straight through inside pulley A on frame 2, and under (outside to center stage) motor 2 drive pulley, back up to the second frame where it passes inside and over pulley C, across the stage again to the first frame, over and inside pulley C and back down to the motor 1 where start and finish of the wire is connected to form the loop.The umbrellas are suspended from the lower of the pair of wires that pass horizontally across the stage. 3mm steel wire in tension would be suitable.

It would be harder to construct but safer from actors tripping over the wiring if the motors were at the top behind the proscenium arch. The motors are always operated in pairs as shown on the truth table below (Motor 1 is stage left motor 2 is stage right using convention viewed from back of stage)

Motor 1...............Motor 2...................Umbrella motion

Clockwise........... Anticlock ..................Down

Anticlock.............Clockwise .................Up

Clockwise............Clockwise .................Left

Anticlock.............Anticlock...................Right

Repeat for 12 individual loops with all the top pulleys rotating on two common shafts aligned up to down stage and 12 motors each side also aligned up to down stage. If you invert the thing to keep the wiring out of the way don't use common shafts for the top (now bottom) pulleys as that would create a more hazardous tripping point.

No batteries, no Wifi or radio signals, one controller with 48 digital outputs (24 connecting the motors pos., neg. to drive froward, 24 connecting the motors neg., pos. to dive reverse. With 24 analogue outputs that will span a + voltage you can also vary the speed of the umbrellas but variable speed will entail a massive increase in programming time so work out if you can/want to do this before offering your umbrella choreographer this option.

I have done this flying a fairy around stage for a puppet show. Much smaller scale, used fishing line for the wire loop, only one fairy, why would I need two when the one I used had a magic wand.

Register to Reply Good Answer (Score 2)
Guru
United States - Member - New Member Popular Science - Cosmology - New Member Technical Fields - Education - New Member

Join Date: Jan 2014
Location: Albany, NY
Posts: 1187
Good Answers: 24
#9
In reply to #8

Re: Wireless IoT with Arduino or Raspberry Pi Brains?

01/02/2019 3:25 PM

In re sharing images in CR4: the only reliable way is to import them as pictures using the camera icon. Passing this along in case you want to try again.

Register to Reply
Register to Reply 13 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

BestInShow (1); BruceFlorida (2); jhhassociates (1); phph001 (1); Rixter (1); SolarEagle (3); txmedic3338 (4)

Previous in Forum: Asimov's Prediction for 2019   Next in Forum: DIY Solar Swamp Cooler

Advertisement