EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   Motorcycles / Scooters (https://ecomodder.com/forum/motorcycles-scooters.html)
-   -   Precharging and Closing solenoid using RFID ignition system (https://ecomodder.com/forum/showthread.php/precharging-closing-solenoid-using-rfid-ignition-system-16616.html)

majorpayne 03-27-2011 02:22 AM

Precharging and Closing solenoid using RFID ignition system
 
So I'm almost finished converting my motorcycle to all electric. I am using a DC solenoid in between the controller (an Alltrax AXE 4844) and the battery ground. I already have written up an RFID recognition program for the Arduino. So when i swipe the correct card across the antenna the Arduino attempts to recognize whether or not the it is the correct card, and then it blinks a green or red LED accordingly. Once the correct card is swiped I have a digital I/O pin write high to switch on an N type mosfet, similar to the TIP220. When the mosfet closes it completes the 12v circuit across the coil of the solenoid causing the solenoid to close and the full 48v to run across the main contacts and straight into the controller.

Now, across these main contacts i have a precharge resistor. its purpose is to precharge the large capacitors in the controller and prevent them from being damaged by the large influx of current and voltage when the solenoid closes. But this resistor is always allowing (a relatively small) voltage across it, therefore draining the battery. In order to prolong battery life I want to be able to turn off this resistor when the bike is parked. I have tried doing it by running it through another transistor. And changed the code to turn that precharge transistor on first, wait a certain amount of time, and then power up the other main transistor. But when the precharge resistor should be on, nothing happens. Is it because the precharge resistor has no specific polarity and therefore isn't ever in contact with the positive wire? Or am i going to have the transistor turn on another, smaller, relay? Help would be greatly appreciated.



Check out the rest of the build at: payneev.com

Air-Hybrid 03-28-2011 04:20 AM

I've found

Forum for Electronics

a useful site for electronics.


All times are GMT -4. The time now is 04:49 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com