G+_James Hughes Posted July 9, 2015 Share Posted July 9, 2015 Bryan Burnett? Fr. Robert Ballecer, SJ? I'm a newb to programming and I'm trying to upload a sketch to the arduino for the filament cassette resetter. I keep getting errors after the sketch has been compiled and is being uploaded. I'm pretty sure that it's the connections. I've done some research online and now have the led lighting up. Is anyone familiar with the usb to serial adapter pictured below? Help with connecting to the arduino (also pictured below)would be greatly appreciated. Link to comment Share on other sites More sharing options...
G+_Dave Kodama Posted July 9, 2015 Share Posted July 9, 2015 Well, there are a lot of possibilities, but more information is needed. What brand (Amazon link?) of serial interface board are you using? And that's an Arduino Pro Mini clone below right? 5V or 3.3V version? Is the serial board set to the right voltage? Did it ever function together (e.g. does the Blink example work)? Did you set the IDE board type to Pro Mini? What exactly is the error message? I've used both Adafruit and Inland (Microcenter's house brand) serial interfaces with various clones of the Pro Mini with no problems, all operating at 5V. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 9, 2015 Author Share Posted July 9, 2015 I'm on a Mac. I've updated the FTDI drivers. Link to comment Share on other sites More sharing options...
G+_Aye Mossum Posted July 9, 2015 Share Posted July 9, 2015 I've got a very similar looking FTDI board to that any it talks to my pro minis just fine. You've got it oriented the right way, yes? GND->GND VCC->VCC TX->RX RX->TX it's also possible the software reset isn't working. Try holding the reset button down and release it just after the IDE starts trying to upload. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 9, 2015 Author Share Posted July 9, 2015 Aye Mossum I have GND to GND, VCC to VCC, but was connecting TX to TX and RX to RX. Should I connect TX on one to RX on the other and vise versa? I also saw on a youtube video something about connecting the DTR pin on the FTDI board to the GRN pin on the Mini for reset. Dave Kodama It's a five volt Mini. I have the 3.3 too, but the instructable called for a 5v. Here is the link to the one I bought. http://www.banggood.com/FT232RL-FTDI-USB-To-TTL-Serial-Converter-Adapter-Module-For-Arduino-p-917226.html?currency=USD&createTmp=1&utm_source=google&utm_medium=shopping&utm_content=saul&utm_campaign=Electronic-xie-us&gclid=CjwKEAjwt_isBRDuisOm1dTQqGISJAAfRrEAKdp0tzHlxAnq-gJFCQXiouf-fk_rtrTwiGfL-TCqexoChHfw_wcB Link to comment Share on other sites More sharing options...
G+_Alex Goris Posted July 9, 2015 Share Posted July 9, 2015 yes james rx goes to tx and vice versa. Link to comment Share on other sites More sharing options...
G+_Aye Mossum Posted July 10, 2015 Share Posted July 10, 2015 Yes, what Alex Goris? said Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 10, 2015 Author Share Posted July 10, 2015 Aye Mossum Alex Goris Still not getting any love with this thing. Bought another FTDI board at Frye's to give it a try. Used different usb cables. Still the same result. I noticed that both FTDI boards have a jumper on them. What would happen if I switched the jumper, or removed it completely? I do notice a flicker on one of the LEDs on the FTDI board every time it fails. Oh, I also tried it with a 3.3v Mini and another 5v mini with the same results. I even switched USB ports. Running out of ideas here, may just have to break down and buy one preporgrammed (I'm running out of filament in the two cartridges that I have). Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 11, 2015 Author Share Posted July 11, 2015 Going to try uploading from my PC. I will let you know how it goes. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 12, 2015 Author Share Posted July 12, 2015 Okay, I'm stumped. I downloaded the Arduino IDE and got everything running and I'm still getting the same error. I think I'm going to have to admit defeat and order the board with the sketch preloaded. :( Any Arduino experts in OC area? Link to comment Share on other sites More sharing options...
G+_Dave Kodama Posted July 12, 2015 Share Posted July 12, 2015 Have you got the setup running with the example Blink program? If not, were you sure to select the correct board type (under Tools menu)? Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 13, 2015 Author Share Posted July 13, 2015 Dave Kodama? I've not been able to get the blink program running. I have the correct board type, the correct port, and I've tried two different FTDI adapters and three different usb cables. I've done this on two different computers. Link to comment Share on other sites More sharing options...
G+_Dave Kodama Posted July 13, 2015 Share Posted July 13, 2015 James Hughes I guess that just leaves the Pro Mini board. If you go over to OC, Microcenter has clone boards for $3.99. They work fine for me. You can email me directly at dakodama@gmail.com Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 13, 2015 Author Share Posted July 13, 2015 Thanks Dave Kodama I'll stop by tomorrow. I have two 5v and one 3.3v but I guess at $3.99 I can add to my collection. Is it possible that the jumper is incorrect? I'm using a 5v because that's what they recommended for the resetter that I'm trying to build. Link to comment Share on other sites More sharing options...
G+_Dave Kodama Posted July 13, 2015 Share Posted July 13, 2015 James Hughes Definitely if you have a 5V Pro Mini, your serial interface board should be set to 5V. If you've tried multiple boards already and still have not had success, then maybe it's not the board. Email me directly. I live in LA county but on Wednesdays I am at Urban Workshop near the OC airport. Link to comment Share on other sites More sharing options...
G+_Dave Kodama Posted July 13, 2015 Share Posted July 13, 2015 P.S. Make sure you have also set "Processor" setting correctly for the appropriate voltage and clock (e.g. 5V, 16MHz) Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 14, 2015 Author Share Posted July 14, 2015 Hey Dave Kodama? I figured it out last night but today when I used it to reprogram the filament cartridge something went wrong. I'm not sure if it was because I forgot to remove the resetter (it fit really snugly so it stuck) and it might have pushed the contacts. I have an email in to XYZ but they say it could be 3 days. Link to comment Share on other sites More sharing options...
G+_Dave Kodama Posted July 14, 2015 Share Posted July 14, 2015 James Hughes Glad to hear you are making progress. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted July 14, 2015 Author Share Posted July 14, 2015 Dave Kodama Three steps forward, two steps back, but yes I am making process. Thanks for the help. Link to comment Share on other sites More sharing options...
Recommended Posts