Thanks Thanks:  4
Likes Likes:  2
Dislikes Dislikes:  0
Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    Super Moderator
    Join Date
    Nov 2016
    Posts
    1,912
    Post Thanks / Like
    Funny... or one could just read every post in this thread

    You are very correct in dealing with this from scratch. That is the very reason for this thread.
    I am a mechanical type with a little too much knowledge of the other disciplines.

    Have you tried putting the current bootloader on a 3rd party Nano?

    I watched the routine and I understand it...
    Basically, configure a NANO as an ISP and load the current Arduino bootloader onto a properly connected NANO.
    Does that not solve the CH340 issue?

    I also noted a few pads on the NANO on the USB CH340 chip side. Any idea what those selectors select?

    I'm buying NANOs from all over China to get a good idea of variation.
    I have seen people reload the bootloader to get access to the current bootloader in the Arduino IDE.
    I didn't have to do anything with regard to loading a special CH340 driver in Windows 10.

    Once I get a decent stock of Nanos, I'll see if I can do this.

    How many do I put you down for, John?

  2. #22
    Regular 3D Printer
    Join Date
    Feb 2018
    Posts
    149
    Post Thanks / Like
    How many do you have, Tom??

    "Basically, configure a NANO as an ISP and load the current Arduino bootloader onto a properly connected NANO."

    That is above my pay grade!!

    My nano's don't appear to have any pads on either side. They are "Elegoo" brand.

    --------
    What's not ok about using the "Old Bootloader"? Why bother to burn the current bootloader?
    Last edited by JohnTee; 03-13-2019 at 11:19 PM.

  3. #23
    Super Moderator
    Join Date
    Nov 2016
    Posts
    1,912
    Post Thanks / Like
    Just a side hobby.

    This guy does well in explaining the process. It was a couple of these that made this whole thing make sense.



    - - - - - - - - - -

    Nano Pads

    These are often used for selectable options by either jumper or pull-up resistor.
    I'll have to ohm out where in the circuit they reside.

    03132019_Nanopads.PNG

    - - - - - - - - - -

    I have 1 blank board, 7 stuffed boards, and a complete unit. ...save the one going to Alex.

    - - - - - - - - - -

    I've put the first ReCube up on eBay.

    https://www.ebay.com/itm/ReCube-Ligh...QAAOSwxbFciq7K

    More to follow as I start receiving more Nano's.

    Let me know what you think of the ad.

    recubeworking.PNG

  4. #24
    Regular 3D Printer
    Join Date
    Feb 2018
    Posts
    149
    Post Thanks / Like
    The ad looks very good - clear and complete description IMO. Very good deal!

    Oh, and my nano does have those pads - I just didn't know where to look...

  5. #25
    Administrator bolsoncerrado's Avatar
    Join Date
    Nov 2014
    Posts
    3,198
    Post Thanks / Like
    Perhaps words like Hack Free Filament or something like that in the title would help too? Dunno if ebay still focuses searches on keywords on the titles...

  6. #26
    Super Moderator
    Join Date
    Nov 2016
    Posts
    1,912
    Post Thanks / Like
    Once you find haxtom, I think you're there!

    - - - - - - - - - -

    This rarely happens... Today I received a second NANO from a previous order for only one Nano. Its got all the pins soldered in it making it hard to use for the ReCube.
    I'll add it to the Arduino development collection.

    - - - - - - - - - -

    The first ReCube Light Cubify Cartridge Recharge Wand sold yesterday.
    More will be coming as Nano's arrive.

    Need more eyes on the ad though. I'll see what I need some changes to make it more visible.

    - - - - - - - - - -

    Now I know where to order NANO's from. Very fast from China although later than promised.

    Got 3 more NANO's today. They're going on eBay unless someone speaks up here before I list them.

    - - - - - - - - - -

    Okay, you missed out. 3 more on the Bay.

    Couple of new images added...

    recube_wand_ebay3.PNG
    recube_wand_ebay4.PNG

    If you are the recipient of one of these devices, please introduce yourself.
    I welcome your feedback.

    - - - - - - - - - -

    ReCube Wand on CubePro Cart.jpgReCube Wand on Cube3 Cart.jpg

    - - - - - - - - - -

    Okay, and no one else caught this! Cube and Cube2 are -not- supported with ReCube! The only level of support that I am aware of is that ReCube Pro can change a Cube2 chip to a different supported chip... that's it! All that Cube2 filament harvesting did in fact yield a series of usable chips. But in general, no, the ReCube code doesn't return the right results for a new Cube2 chip.

    - - - - - - - - - -

    Interesting... got 5 more Nano's today. These have the new boot-loader. Turns out you have to increase the baud rate in the ReCube Light V2 installer batch file to 115200.

    If you do play with NANO's, new boot-loaders won't communicate when communications are set to the old boot-loader settings in Arduino IDE.

    Bottom line appears to be;
    Old bootloader... 57600
    New boot-loader 115200

    Avrdude\avrdude -C Avrdude\avrdude.conf -v -patmega328p -carduino -PCOM7 -b115200 -D "-Uflash:w:ReCube.ino.hex:i"

    - - - - - - - - - -

    Turns out the serial monitor in Arduino IDE has to be set to 115200 baud in both cases. Other settings generates gibberish in the Arduino IDE. Therefore the 57600 baud requirement is only for uploading code to the NANO if an older boot-loader is installed.

    - - - - - - - - - -

    I told you things are never as easy as they seem

    Warning, the following posting on Thingiverse is not meant for rebuilding pre-assembled ReCube Wands!
    The very nature of assembling these wands risks damaging the contacts unless you are aware as I am to know what to watch for.
    A similar note applies to disassembly.
    However, if you picked up one the kit offerings in this series of posts, you might want to check these prints out on Thingiverse.
    https://www.thingiverse.com/thing:3512875
    Happy to walk anyone through the required assembly precautions. (maybe I need an assembly 3D printed jig to make this simple also.)

    - - - - - - - - - -

    CubePro and Cube3 cartridge recharge procedure. Note that the wand is one of the current bootloader versions. Boots a lot faster for some reason. That is my hesitation in the video.




    - - - - - - - - - -

    Alrighty then... And we played with the bootloader thing.

    I am so glad I didn't overthink the connection regime because I am finding all kinds of errors on diagrams on the web.

    1st of all, I followed the advice from the video linked above. Worked like a charm!
    Considering I had only one NANO with the current bootloader, and I really need to build it into a ReCube Wand, I needed to get this done.

    I did do the homework part of finding confirmation for the pin-out, and even had it make sense before continuing.

    Pretty simple on the wiring. Considering pins are broken out all over the board, you have options.

    In order to update a bootloader from a Master [Programmer] to a Slave [Target], the following 6 signals need to be connected assuming you are using the USB power source:

    GND to GND
    +5V to +5V
    D11 to D11 [MOSI]
    D12 to D12 [MISO]
    D13 to D13 [SCK... clock]
    and this is the one that matters;
    D10 [Master] to RST [Slave]

    After looking through the actual layout of the NANO board, it is clear that there are hard wired traces between the edge headers and the 6-pin header.
    I did not use the 6-pin header for programming because the other pins are marked much better and were easier to access considering I had no pins installed.

    However, if you want to use the 6 pin header, it is appropriate for the Slave [Target] NANO.
    At some point, I will design a programmer case to do this. Already got some spring loaded test pins on the way.

    The 6-pin header is numbered from the dot on the silkscreen:
    |.
    |1-2
    |3-4
    |5-6
    |

    Pin 1 is connected to D12 [MISO]
    Pin 2 is connected to +5V [USB power from the Master only!]
    Pin 3 is connected to D13 [SCK]
    Pin 4 is connected to D11 [MOSI]
    Pin 5 is connected to RST [reset on the schematic]
    Pin 6 is connected to GND

    This is one for one ex​cept for pin 5 which goes to the Master's D10 pin.

    I recommend you follow the logic of the Arduino IDE as clearly explained in the video.
    One thing that is easily forgotten, since Arduino IDE maintains previous settings...
    MAKE SURE YOU CHANGE BACK THE ADRUINO AS ISP TO ARDUINO ISP WHEN YOU ARE DONE!

    So the procedure is too easy... in some ways.
    Here's the logic: ...and remember, I tested this from a current bootloader perspective on the Master!

    The Master NANO needs a sketch uploaded to it.
    You are loading the example sketch: File/Examples/11.ArduinoISP/ArduinoISP to the Master NANO.
    Everything can be connected when you go through this process:
    When you open the sketch, a new window will open up from which you will upload the sketch to your current bootloader NANO.
    Be sure the settings in Tools are on the right COM port and the Processor is ATmega328P; programmer at this point should be ArduinoISP.
    Upload the sketch to your Master.
    Back to tools/Programmer and pick [Arduino as ISP].
    Then Tools/Burn Bootloader. This takes mere seconds! And the message will confirm success.
    Reset the Tools/Programmer: back to ArduinoISP so next time things are normal again.

    You now have two current bootloader NANO's ready for their new code.

    I did take it one more step. I did take the newly burned NANO and tested that I could upload a sketch using the current bootloader setting, and it took a my ReCube test program and worked fine with a ReCube Shield.
    From there I went back through the entire procedure, rebooting Arduino IDE just in case, with the newly updated bootloader NANO to make sure it would also function in this same way. I put away the one NANO I started with and wired up the newly configured NANO to update a 3rd NANO with an old bootloader. Worked just as well on my 3rd development NANO. I now have 3 NANO's with current bootloaders. This last NANO was running a test program for a few days already... and I reloaded the test sketch [environmental monitor], plugged it in, and no one is the wiser.

    Now I have one more ReCube to I can build without worrying about letting that one and only current bootloader unit go.

    ISP.PNG

    After a few more tests, I did check that installing ReCube Light would be consistent with previous findings.
    Indeed, the install of ReCube light did require a 115200 baud rate in the batch file.
    And ReCube Light worked as expected on a cartridge chip.

    A quick note on an interesting finding when using ReCube or ReCube Light... the COM window baud rate must be set to 115200. This is set within the ReCube code. If you get garble in the COM window using ReCube or ReCube Light, you probably have communications set to 9600 baud from some other experiment.

    - - - - - - - - - -

    ...And a new day. Today I should see the next PCB order in the mail.
    I went through the Nano programming this morning including installing new bootloaders.
    That is a process that I definitely need to streamline with the spring loaded pins when they get here.
    Also had one Nano fall out on the last order with a damaged D13 LED.
    Good thing there are plenty on order.

    - - - - - - - - - -

    Slimline ReCube Shield

    slimlineReCube.PNG

    I wondered if this would work.
    No accidental reset switch access; Nano lights shielded by the shield board; <9mm overall thickness.

    Yep, it worked...

    minimalist_recube_clips.PNG

    minimalist_recube.PNG
    ...4 pins, 2 resistors and a little finesse.

    - - - - - - - - - -

    Alright peeps. Those lurking and the hardy readers of this thread... I have a few extra ReCube Shield boards on hand that I will offer up for sale.

    $5 for the bare board.
    $8 includes the board, I'll install the two required 0805 resistors; R1, 100K for D4 pull-down and R4, 2.2K for A0; the pull-up for one-wire write operation.
    This includes me mailing the board via USPS postal mail (one forever stamp, an envelope, PayPal charges).
    EU/UK/and elsewhere, we can discuss your best shipping options.
    The case is already offered up on Thingiverse but your welcome to make it your own.

    I provide the basic board and you add the contacts you like... A couple of pins, wires, or clips... whatever.
    The board has 2 pads and 2 holes to do with as you like for making chip contact.
    You also provide the NANO and programming.
    What you don't get or need is the flashing lights and the switch. Most Nano's are provided with more than enough pins but I will include a set if you ask for them.

    This is more for the peeps wanting the Pro version of ReCube and have the experience to make this work from the computer and really don't need my one-button eBay offering.
    Of course I can offer the full ReCube Light Wand as on eBay for $25 (a $4.50 savings). First class mailing will be $4 (another $1 saved) within the USA.

    If there is enough call for it, I can do kits or sub-assemblies beyond this. Breaking up inventory beyond this offer would be problematic for the short term.

    Not spamming you guys! Just making the offer and covering my @$$.

    - - - - - - - - - -

    Finally my Nano stock outnumbers my prepared ReCube shields.
    This latest repeat order from this supplier also yielded 100% new bootloaders.
    And his price is very reasonable! Took 3 weeks from China. Also respectable!
    Delivered with gold plated pins too.
    Just a shout-out. Your mileage may vary.
    Last edited by TommyDee; 04-15-2019 at 05:22 AM.

  7. Thanks bolsoncerrado thanked for this post
 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •