Why not use a pic16f84 with Led sensors for position, two DPDT relays for motor direction and a switch to change up position to down position.
p.s. love the diagram
Hello everyone. I am in the process of trying to design a circuit for controlling a motor and needed some help. What I am hoping to do is creat a board that can control a motor and allow the position of the memory to be stored for the next power up. It will be used to control a motorized screen I am working on. So what I need to know is what components I will need and if this is feasible/already exists. The problem I am running into is I have no idea what it would be called.
I have included a very basic diagram of what the circuit will do. Your help is greatly appreciated.
![]()
Why not use a pic16f84 with Led sensors for position, two DPDT relays for motor direction and a switch to change up position to down position.
p.s. love the diagram
Um, I guess this is where you put something witty.WITTY
My Web site, in the design stage. http://home.comcast.net/~cstrachn
Modified RRSkinEditor http://www.mp3car.com/vbulletin/rr-skins/65723-rrskineditor-bugs-fixes-comments-current-progress-outdated.html
Look into phidgets.
Originally Posted by pRoFiT
Okay so the PIC would allow me to store code for the whole unit and would be able to tell the motor to reset to the previous position using input from the LED sensors? Also would you happen to know of a good place to get these items (maybe as samples) or model numbers? Thanks for the reply.
p.s. I thought people might like it. Not everyday do you see such awesome paint skills.
I have been looking at the phidgets lineup and actually am working on ordering one of the USB servo controllers tommorow. I didn't know if they could control motors or not or if it would be the right part for what i hope to do. Also another problem with this option is that I would have to wait for the PC to boot before the motor settings would load.Originally Posted by 0l33l
I guess that would be a good way to see that my computer is ready though....
http://www.glitchbuster.com/
Randy is fast, has good shipping rates and extremely helpful. You can store data to the EEPROM on a PIC pretty easily. you can also use a PIC to control a stepper motor which would probably be the best way to control a motorized screen. Do a search on PICs and robots/robotics for ideas.
Carputer installed!!!
Nlited XP+Minlogon, EpiaM10k, 512mb, Seagate 40 gig 2.5" HD, FM Dlink usb radio, DWL122 USB Wifi, XMD1000 tuner, PT5071 6 amp regulator, Xenarc 700TSV, and 1 ikea key box.
Well if you know that the input voltage will be the same, then just build a simple timer circuit with a small pot or something so you can adjust it once and never mess with again, until motor starts to wear out, and you need to up the time. Something like a counter circuit that runs off some 555 or something, and maybe an analog to digital from the pot to the value you want to count up to.
Well for your idea with the memory, most easily available memory is volatile, so there has to be some voltage through it. I can try to look up some compatable chips, but I'm sure you know about all that. You could just use some CMOS shift registers as long as there will always be power.
Or just place some conductive contacts. Stationary at the beginning, and at the end of the track, and then an adjustable one to stop the position. Would make it an even simpler circuit. Start sliding motor until contact 2, then rotate motor until contact 3.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
Just to clarify I was hoping to be able to get the servo to, upon power move back to the last position it was at (before being turned off) and on power down reset to an "off" position. Also I want to be able to have multiple angles for the screen so I can choose whatever angle will work best.Originally Posted by 2k1Toaster
Well it will never truley be "off", just in standby, constantly powering the memory and wating for a signal (pushbutton?) to activate. Then toggle some flip flop from 0 (off) to 1 (on). Then have some logic saying: when "TFF is 1" AND "Screen is not out" (Contact 2 shorted), power push out motor. Then when it shorts it stops. Then have when "Contact 2 is pushed" AND "TFF is 1" AND "Screen is not open", give an enable signal. Then that enable signal feeds into something that has a pot connected to an A2D so the more resistance the pot is giving, the higher the digital value, meaning the longer the signal is allowed to carry, so the screen flips up longer. Or have it go until a predetermined contact is shorted and then plus or minus the adjustments.
Your design not mine, but that uses very simple logic and should be easy to implement.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
How much do you know about electronics btw?
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
Bookmarks