Electronics > Projects, Designs, and Technical Stuff
Noob question isolating homemade programmer
Fixed_Until_Broken:
Hello I have no real background designing stuff but I made a in circuit EEprom programmer for instrument clusters I work on a lot. Its currently a breadboard project but I want to take it to the next step and make a shield with easyeda.
Before I can move on to that next step I want to Isolate the Micro controller and its power supply from the EEprom that is going to be programmed while it is not reading/writing. reason for this is so that way I don't risk damaging the circuit board I am flashing while attaching the connector and so I don't have to unplug the connector every time I turn the boards I am programming to test the results. my current work around is that I just unplug the 5v/ground pin off the Arduino.
What would be the best way to do that? I feel like a relay is overkill. Use transistors as switches?
maybe y'all could look over the project and let me know if you think I overlooked anything. I want it be open for anyone else to make the same thing.
Here is a video I did on it: https://youtu.be/JH3pLX_Xkbk
Github on it: https://github.com/garnerm91/st95020
Nominal Animal:
Get yourself an Arduino Pro Micro clone off eBay, and treat it as if it was an Arduino Leonardo. Also get a cheap ADuM3160 USB isolator. All told this will cost you about ten, twelve bucks or so. The isolator has a small DIP switch; make sure it is in the position that lights up the blue led (full speed, 12 Mbit/s) and not in the other position (low speed, 1 Mbit/s).
Change the pins in your Arduino sketch to match the Arduino Pro Micro pinout. For everything other than the pinout, treat the clones as Arduino Leonardos in the Arduino environment. (This is because the Pro Micro clones do not have the SparkFun bootloader, just the standard Arduino Leonardo bootloader. So, the clones are essentially Arduino Leonardos [which has the same ATmega32u4 microcontrollers], but with the same pinout as SparkFun Pro Micros.)
The ADuM3160 isolates the USB bus from the microcontroller up to one kilovolt. The isolated DC-DC converter on them provides about 200mA, which should be plenty enough for your use case.
Fixed_Until_Broken:
What I am trying to isolate is the 5volt and ground feed going to my SOP8 clip I am using to program the eeprom. Maybe I am using the wrong word I want to turn off of power to the clip when it is not reading/writing. If that makes sense? Its mostly to protect the circuit board that is being programmed just in case someone does something stupid like clip it on the wrong IC or clip it backwards.
angrybird:
--- Quote from: Fixed_Until_Broken on March 07, 2020, 01:00:09 am ---Hello I have no real background designing stuff but I made a in circuit EEprom programmer for instrument clusters I work on a lot. Its currently a breadboard project but I want to take it to the next step and make a shield with easyeda.
Before I can move on to that next step I want to Isolate the Micro controller and its power supply from the EEprom that is going to be programmed while it is not reading/writing. reason for this is so that way I don't risk damaging the circuit board I am flashing while attaching the connector and so I don't have to unplug the connector every time I turn the boards I am programming to test the results. my current work around is that I just unplug the 5v/ground pin off the Arduino.
What would be the best way to do that? I feel like a relay is overkill. Use transistors as switches?
maybe y'all could look over the project and let me know if you think I overlooked anything. I want it be open for anyone else to make the same thing.
Here is a video I did on it: https://youtu.be/JH3pLX_Xkbk
Github on it: https://github.com/garnerm91/st95020
--- End quote ---
So, umm, you rewriting odometers there, buddy? :D
Fixed_Until_Broken:
--- Quote from: angrybird on March 07, 2020, 05:32:58 am ---So, umm, you rewriting odometers there, buddy? :D
--- End quote ---
I mean you can and I do a lot of odometer corrections if you buy a used cluster you have 2 options install it as is and now you have report in writing that the odometer is inaccurate or you are committing felony here in the US and that doesn't matter if it is high or low. Your other option is to program to the correct amount. I didn't really make the tool for odometer correction though the digiprog is a cheap ass tool that does that just fine the same way the arduino is doing and Xstar makes a cheap obd2 tools that do it better and easier you don't have take the board apart.
What I am doing with it for the most part is going in and enabling trans temp, turning km clusters into miles, fix odometer error and yes odometer correction. the tools mentioned before can't do that.
Navigation
[0] Message Index
[#] Next page
Go to full version