View Single Post
  #18   Spotlight this post!  
Unread 17-01-2013, 16:04
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 535
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: CIM->Victor 884->Arduino not working

Quote:
Originally Posted by jamie_1930 View Post
Could you show me how you set up this up electrically? In the victor manual it says to use a pwm signal driver if you are not using an ifi controller and I can't really find one on the internet. So I assumed I could boost up the amount of current by using a mosfet. I got that working and then I measured the current over time with an oscilliscope and it's pretty noisy. The voltage is a perfect square wave, but the current starts of at 0A and curves up to around 500mA and does a 10-20mA bounce as it goes up.
I will have to check, but I do not remember doing anything with the circuit. From 50 year old memory, I think I have the white PWM wire going to the arduino output, red to the +5v and black to 0V, and it worked. It isn't pretty but has worked for a couple of years.

I powered it with a Usb cable, we have a utility tote that has an old battery, power cut off, and a plate with 4 auto cigarette lighter sockets for powering cell phone charges at events, and a built in usb charger.
__________________
The sooner we get behind schedule, the more time we have to catch up.