element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Need Help with a Project (a secret box)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 12 replies
  • Subscribers 393 subscribers
  • Views 838 views
  • Users 0 members are here
  • box
  • diy
  • raspberrypi
  • what_to_buy
  • secret
  • arduino
Related

Need Help with a Project (a secret box)

Former Member
Former Member over 10 years ago

Okay so as i mentioned in the title i want some help with a Project im doing that i named "A Secret Box".

 

So the problem is that im a big noob when it comes to both the Arduino and the Raspberry Pi so i need a bit of help with everything basically.

  • I need help with what kind of motors to have Pistons/Servos/Steppers.
  • I need help with how to setup the Arduino and the motors (just link a tutorial that i can look at / read)
  • How to connect the Arduino and Raspberry Pi
  • And much more i guess with upcoming problems i will have.

 

So i have made a little picture explaining my design and purpose of this project.

It's a box cut down into a desk that im going to build for my setup. under the box i have the second box with an Arduino and two motors (maybe more).

image

 

I hope this is enough to get some good answers on what to buy because that is my biggest question for this.

I already have the Raspberry Pi and im going to start playing with that when i have time.

  • Sign in to reply
  • Cancel

Top Replies

  • bobcroft
    bobcroft over 10 years ago +1
    Arvid, your project is easy to implement using linear actuators, there are lots on Ebay. With one of these units you only need an Arduino UNO and a relay or maybe two. You could quite easily implement…
  • bobcroft
    bobcroft over 10 years ago in reply to Former Member +1
    Hi, I cannot recommend an actuator because I do not know the height and weight you want to lift. The Arduino can easily receive serial commands from any terminal program, CoolTerm is very good, but why…
  • bobcroft
    bobcroft over 10 years ago in reply to Former Member +1
    Arvid, the requirements of the linear actuator are are straight forward just pick one that is,say, 12 VDC and has a movement of 200mm and able to lift more than 1 kg. Regarding controller the unit from…
Parents
  • bobcroft
    bobcroft over 10 years ago

    Arvid,     your project is easy to implement using linear actuators, there are lots on Ebay.  With one of these units you only need an Arduino UNO and a relay or maybe two.  You could quite easily implement a wireless, Bluetooth or IR control.  no need for Raspi at all!.

     

    Good luck

     

    Bob

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to bobcroft

    Okey thanks a linear actuator seems like a nice thing to build this out of. Maybe you could link me to a model you think is good / recommend for this build.

    But im not thinking of giving the raspberry any big purpose in the build i will just use it to execute the up and down commands. Because i don't want any button or sensor that those it. Or is there a easy way to do this directly from your own PC with something like a VB.net program?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 10 years ago in reply to Former Member

    The Arduino connected to USB port gets power AND can communicate to Arduino through Putty(a serial monitor program on PC). You could type "up" or "down". Or it can take a secret code only you know! Oh and you could use the Pi instead of PC in same configuration!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to clem57

    Okay great didn't think that the Arduino would respond through putty. I know how to use that because i had many VPS and Servers so that's nice to hear.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bobcroft
    bobcroft over 10 years ago in reply to Former Member

    Hi,  I cannot recommend an actuator because I do not know the height and weight you want to lift.  The Arduino can easily receive serial commands from any terminal program, CoolTerm is very good, but why would you want to tie up a PC just to control this mechanism?  You could control the thing with just an up and down switch.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • bobcroft
    bobcroft over 10 years ago in reply to Former Member

    Hi,  I cannot recommend an actuator because I do not know the height and weight you want to lift.  The Arduino can easily receive serial commands from any terminal program, CoolTerm is very good, but why would you want to tie up a PC just to control this mechanism?  You could control the thing with just an up and down switch.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Former Member
    Former Member over 10 years ago in reply to bobcroft

    The high will maybe be something around 10 - 20 cm and weight will be around 1kg.

     

    Also i want to control it from the PC because i think its easier and i dont want a switch that others can click on.

     

    Skickat från min iPhone

     

    26 feb 2015 kl. 21:24 skrev "bobcroft" <messages@element14.com>:

     

     

     

    Need Help with a Project (a secret box)

    created by bobcroft in Arduino - View the full discussion

    Hi,  I cannot recommend an actuator because I do not know the height and weight you want to lift.  The Arduino can easily receive serial commands from any terminal program, CoolTerm is very good, but why would you want to tie up a PC just to control this mechanism?  You could control the thing with just an up and down switch.

     

    Reply to this message by replying to this email -or- go to the message on element14

    Start a new discussion in Arduino at element14

    To unsubscribe from ALL email notifications from element14 Community, Click Here

    To learn how to modify your email preferences, Click Here

    Feedback & Support | Terms of Use | FAQ | About element14

     

    **************************Disclaimer**************************

     

    The contents of this e-mail and any file transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed.  The content may also contain legal, professional or other privileged information. If you received this e-mail in error, please destroy it immediately.   You should not copy or use it for any purpose nor disclose its contents to any other person. The views stated herein do not necessarily represent the view of the Company.

     

    Please ensure you have adequate virus protection before you open or detach any documents from this transmission. The Company does not accept any liability for  viruses.

     

    Premier Farnell plc

    150 Armley Road

    Leeds

    LS12 2QQ

    Telephone +44 (0) 870 129 8608

    Fax +44 (0) 870 129 8610

     

    Registered in England

    Company Number 876412

    Registered Office: Farnell House, Forge Lane, Leeds LS12 2NE

     

    ************************************************************

     

    >

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bobcroft
    bobcroft over 10 years ago in reply to Former Member

    Arvid,

                the requirements of the linear actuator are are straight forward just pick one that is,say, 12 VDC and has a movement of 200mm and able to lift more than 1 kg.

     

    Regarding controller the unit from the PC, no problem.  You could look at ‘Firmdata’ (Google ‘Firmdata’ on Arduino) or just use basic serial commands sent from your PC com port using a terminal program (CoolTerm).  When the Arduino receives the appropriate command it will raise or lower the actuator.

    You need to Google ‘receive serial strings on Arduino’ to find code to put the received characters into a string and then parse the result to find the command you sent.  Alternatively you could just use a single letter command such U for up and D for down, you would check the received character and if it was a valid command actuate the actuator.

     

    You will need a two relays to control the actuator, one to control the power On/Off and one for direction.  These relays should ideally opto coupled types so that only a small current is taken from the Arduino and the power side of the system is separated from the control side.

     

    you need a DC supply to provide 7-12 input to the Arduino and if the actuator is 12 VDC you need a 12 VDC supply with a current rating about 1.5 times higher than the  actuator rating.  So if the actuator draws 2 amp then you need a 3 amp supply.

     

    Alternatives to control the actuator are a motor drive board / shield or a H bridge design.

     

    Google is your friend and lots of information on the items I have mentioned can be easily found.

     

    Bob

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to bobcroft

    Okay thanks this will really help.

    And yes google is always my friend you just have to know what your searching for.

     

    Skickat från min iPhone

     

    27 feb 2015 kl. 09:23 skrev "bobcroft" <messages@element14.com>:

     

     

     

    Need Help with a Project (a secret box)

    created by bobcroft in Arduino - View the full discussion

    Arvid,

     

                the requirements of the linear actuator are are straight forward just pick one that is,say, 12 VDC and has a movement of 200mm and able to lift more than 1 kg.

     

     

     

    Regarding controller the unit from the PC, no problem.  You could look at ‘Firmdata’ (Google ‘Firmdata’ on Arduino) or just use basic serial commands sent from your PC com port using a terminal program (CoolTerm).  When the Arduino receives the appropriate command it will raise or lower the actuator.

     

    You need to Google ‘receive serial strings on Arduino’ to find code to put the received characters into a string and then parse the result to find the command you sent.  Alternatively you could just use a single letter command such U for up and D for down, you would check the received character and if it was a valid command actuate the actuator.

     

     

     

    You will need a two relays to control the actuator, one to control the power On/Off and one for direction.  These relays should ideally opto coupled types so that only a small current is taken from the Arduino and the power side of the system is separated from the control side.

     

     

     

    you need a DC supply to provide 7-12 input to the Arduino and if the actuator is 12 VDC you need a 12 VDC supply with a current rating about 1.5 times higher than the  actuator rating.  So if the actuator draws 2 amp then you need a 3 amp supply.

     

     

     

    Alternatives to control the actuator are a motor drive board / shield or a H bridge design.

     

     

     

    Google is your friend and lots of information on the items I have mentioned can be easily found.

     

     

     

    Bob

     

    Reply to this message by replying to this email -or- go to the message on element14

    Start a new discussion in Arduino at element14

    To unsubscribe from ALL email notifications from element14 Community, Click Here

    To learn how to modify your email preferences, Click Here

    Feedback & Support | Terms of Use | FAQ | About element14

     

    **************************Disclaimer**************************

     

    The contents of this e-mail and any file transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed.  The content may also contain legal, professional or other privileged information. If you received this e-mail in error, please destroy it immediately.   You should not copy or use it for any purpose nor disclose its contents to any other person. The views stated herein do not necessarily represent the view of the Company.

     

    Please ensure you have adequate virus protection before you open or detach any documents from this transmission. The Company does not accept any liability for  viruses.

     

    Premier Farnell plc

    150 Armley Road

    Leeds

    LS12 2QQ

    Telephone +44 (0) 870 129 8608

    Fax +44 (0) 870 129 8610

     

    Registered in England

    Company Number 876412

    Registered Office: Farnell House, Forge Lane, Leeds LS12 2NE

     

    ************************************************************

     

    >

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bobcroft
    bobcroft over 10 years ago in reply to Former Member

    Arvid,

                That is very true about Google searches and I often find that by using different search text I can get more information.  with your project you can develop and prove your code by using a couple of LED’s till you sort out the actuator.  If you can turn the LED’s connected to your Arduino on /off from your computer by serial command then the problem is solved.

     

    good luck with your project.

     

    Bob

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 10 years ago in reply to Former Member

    Arvid Gullqvist wrote:


    Also i want to control it from the PC because i think its easier and i dont want a switch that others can click on.

     

    You could also look into using one of these: http://www.seeedstudio.com/depot/125Khz-RFID-module-UART-p-171.html

    Placed underneath the top surface of the secret compartment, it could read the code from a key fob on your keyring (as long as the material isn't too thick), and lift the box.

     

    image

    When you take your keys off the desk it could automatically close.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube