Hi Folks,
My name is Peter, I'm a magician living in the UK. 30 years ago I was an embedded s/w engineer working for Motorola in East Kilbride, Scotland but I remember very little from those days!
I'm trying to create a new magic effect but running into some problems I'm hoping someone could help me with.
Overall Effect (note some info about the trick has been redacted as the magic fraternity frown about revealing effects on public forums)
1) Spectator picks up 1 of 4 objects out of sight of the magician and uses that object, again out of sight of the magician
2) Spectator repeats this for the other 3 objects, again only one object in use at a time, all out of sight of magician.
3) Magician reveals prediction that matches the spectator's interactions with the objects.
This has been done many times in the past with a stooge in the audience and some sort of communication/telecoms but but I'd like to do an automated version using electronics. I've split the project up into 3 logical parts, these are...
The system has to be portable and run of batteries. The detection and transmission unit has to be thin and make no noise. The base will probably be around 80mm * 80mm but it would be good to keep the height under5mm if possible. The receiving unit must fit in a pocket. The communication method must be easily concealable from nearby spectators. A light buzzing is fine but a loud melody for different objects is out. A visible display, such as LEDs would have ot be able to be removed from the pocket and read without being seen by spectators.
I'm not worried about battery life, each performance would only be about 10 minutes and I can take the batteries out in between performances. While it is in no way safety critical it has to be robust as there I don't have a good out if the kit fails to work, I'd have to abandon that trick. There are no great time constraints on operation but the magician needs to get the info within 5 seconds of the spectator lifting the object. Finally it needs to be cheap, under £20 and can not take up a lot of development time. I could see how it could be done with an MCU but I'm not going to make a board, get an emulator/debug system etc for the MCU. Need to keep it simple.
That's the problem, any of you electronic wizards got some great ideas? This is how think I could do it but I've not tested any of it yet. Would welcome feedback or comments.
1) Detection Circuit
Each object will have a magnet in the bottom. The objects will all sit on a stand which will have placeholders for each object. Directly underneath there will be a reed switch (NO) which will close when the object (with magnet) is in the holder.
I'd like to do something with an RFID tag embedded in the object and a proximity reader near where the spectator will use the object but I know nothing about RFID.
2) Transmission Method
Was planning to use a simple rf module but the learning curve for this looked way too steep. In reading up about it I heard about the PT2262 remote control encoding chip and found a product that makes use of it. The remote control has 4 buttons that I will use for the 4 objects. I plan to take out the buttons and replace them with the reed switches. There is a picture of the insides of the remote. I'll remove the buttons and wire up the 4 reed switches in place of the buttons. The default operation is that when a button is pressed on the transmitter, the corresponding pin on the receiver will go high. It will stay high until the button is released. In my situation the receiving pin will go high when the object is removed from the stand, stay high while the spectator used the object and go low when the object is placed back on its stand.
3) Communication Method
This is the weakest part of the plan. It revolves round the magician having to bring something out of their pocket and look at it each time the spectator takes up an object. This involves the risk of a spectator noticing my actions, even if they don't spot the device itself. Current plan is to have a RGB LED wired up to the receiving unit on a long wire. This would allow me to take leave the receiving unit in my pocket and just take out the led itself, thsu reducing the risk of flashing anything to the audience. I would wire the switches, transmitter, receiver and LED as follows.
Object 1 --> S0 --> D0 --> red
Object 2 --> S1 --> D1 --> green
Object 3 --> S2 --> D2 --> blue
Object 4 --> S3 --> D3 --> white (red, blue, green all on) [I think that makes white] This will require a little bit of logic to ensure all LEDs go on when D3 is high.
As mentioned, I don't like this, there is a real risk of discovery with having to look at something. It would be much better to have a vibrate mechanism (not too loud) in my pocket. Then the table would be as follows.
Object 1 --> S0 --> D0 --> 1 buzz
Object 2 --> S1 --> D1 --> 2 buzzes
Object 3 --> S2 --> D2 --> 3 buzzes
Object 4 --> S3 --> D3 --> 4 buzzes
Unfortunately I don't know how to implement that. I could do it an MCU but don't want that level of complexity. I know how to use a 555 to generate a pulse or a continuous stream of pulses. I had thought about trying to use a 4017 to count the pulses and stop the 555 when the correct number had been sent but that was beyond my capabilities for design. Hopefully someone out there knows of a chip that you can set to a value then it can drive a 555.
My questions to the community
Best regards,
Peter
My name is Peter, I'm a magician living in the UK. 30 years ago I was an embedded s/w engineer working for Motorola in East Kilbride, Scotland but I remember very little from those days!
I'm trying to create a new magic effect but running into some problems I'm hoping someone could help me with.
Overall Effect (note some info about the trick has been redacted as the magic fraternity frown about revealing effects on public forums)
1) Spectator picks up 1 of 4 objects out of sight of the magician and uses that object, again out of sight of the magician
2) Spectator repeats this for the other 3 objects, again only one object in use at a time, all out of sight of magician.
3) Magician reveals prediction that matches the spectator's interactions with the objects.
This has been done many times in the past with a stooge in the audience and some sort of communication/telecoms but but I'd like to do an automated version using electronics. I've split the project up into 3 logical parts, these are...
- Detecting which object the spectator is using
- Transmitting that information physically to the magician
- Communicating the information to the magician
The system has to be portable and run of batteries. The detection and transmission unit has to be thin and make no noise. The base will probably be around 80mm * 80mm but it would be good to keep the height under5mm if possible. The receiving unit must fit in a pocket. The communication method must be easily concealable from nearby spectators. A light buzzing is fine but a loud melody for different objects is out. A visible display, such as LEDs would have ot be able to be removed from the pocket and read without being seen by spectators.
I'm not worried about battery life, each performance would only be about 10 minutes and I can take the batteries out in between performances. While it is in no way safety critical it has to be robust as there I don't have a good out if the kit fails to work, I'd have to abandon that trick. There are no great time constraints on operation but the magician needs to get the info within 5 seconds of the spectator lifting the object. Finally it needs to be cheap, under £20 and can not take up a lot of development time. I could see how it could be done with an MCU but I'm not going to make a board, get an emulator/debug system etc for the MCU. Need to keep it simple.
That's the problem, any of you electronic wizards got some great ideas? This is how think I could do it but I've not tested any of it yet. Would welcome feedback or comments.
1) Detection Circuit
Each object will have a magnet in the bottom. The objects will all sit on a stand which will have placeholders for each object. Directly underneath there will be a reed switch (NO) which will close when the object (with magnet) is in the holder.
I'd like to do something with an RFID tag embedded in the object and a proximity reader near where the spectator will use the object but I know nothing about RFID.
2) Transmission Method
Was planning to use a simple rf module but the learning curve for this looked way too steep. In reading up about it I heard about the PT2262 remote control encoding chip and found a product that makes use of it. The remote control has 4 buttons that I will use for the 4 objects. I plan to take out the buttons and replace them with the reed switches. There is a picture of the insides of the remote. I'll remove the buttons and wire up the 4 reed switches in place of the buttons. The default operation is that when a button is pressed on the transmitter, the corresponding pin on the receiver will go high. It will stay high until the button is released. In my situation the receiving pin will go high when the object is removed from the stand, stay high while the spectator used the object and go low when the object is placed back on its stand.
3) Communication Method
This is the weakest part of the plan. It revolves round the magician having to bring something out of their pocket and look at it each time the spectator takes up an object. This involves the risk of a spectator noticing my actions, even if they don't spot the device itself. Current plan is to have a RGB LED wired up to the receiving unit on a long wire. This would allow me to take leave the receiving unit in my pocket and just take out the led itself, thsu reducing the risk of flashing anything to the audience. I would wire the switches, transmitter, receiver and LED as follows.
Object 1 --> S0 --> D0 --> red
Object 2 --> S1 --> D1 --> green
Object 3 --> S2 --> D2 --> blue
Object 4 --> S3 --> D3 --> white (red, blue, green all on) [I think that makes white] This will require a little bit of logic to ensure all LEDs go on when D3 is high.
As mentioned, I don't like this, there is a real risk of discovery with having to look at something. It would be much better to have a vibrate mechanism (not too loud) in my pocket. Then the table would be as follows.
Object 1 --> S0 --> D0 --> 1 buzz
Object 2 --> S1 --> D1 --> 2 buzzes
Object 3 --> S2 --> D2 --> 3 buzzes
Object 4 --> S3 --> D3 --> 4 buzzes
Unfortunately I don't know how to implement that. I could do it an MCU but don't want that level of complexity. I know how to use a 555 to generate a pulse or a continuous stream of pulses. I had thought about trying to use a 4017 to count the pulses and stop the 555 when the correct number had been sent but that was beyond my capabilities for design. Hopefully someone out there knows of a chip that you can set to a value then it can drive a 555.
My questions to the community
- Is this feasible within the constraints mentioned at the start?
- Are there better ways of doing any or all of it?
- Is there a simple way of generating pulses from pins D0 to D4. eg if D1 is high, generate 2 pulses, if D3 is high, generate 4 pulses etc.
Best regards,
Peter