1

Topic: Filament chip resetter - LEDs not behaving as expected

I made a resetter with an Arduino UNO and it does reset the chip but the LEDs don't behave as per the instructions.
Instead, I just get 2 solid red LEDs before and after resetting the chip so there is no way of knowing if it's reset successfully.
The first time the sketch runs after uploading, I get a flashing green LED (TX) which goes off once the chip is reset but after that I just get the 2 solid red LEDs, even after powering the UNO off and on again.
If I connect the UNO to my laptop and turn on the serial monitor, the greed LED flashes again and goes off once the chip resets.
I followed the instructions for the resetter to the letter but the LEDs just don't seem to work as advertised,
Hoping someone with more experience with Arduino can help.

Davinci 1.0 with repetier firmware & E3D V6 Lite
Anycubic Photon DLP printer, Einscan-S 3D scanner
Simplify3d, 123D Design, Meshmixer
http://www.thingiverse.com/scobo/designs

2

Re: Filament chip resetter - LEDs not behaving as expected

How are you powering the UNO when disconnected? If it works when plugged into USB, your power supply is likely the issue.

3 (edited by scobo 2014-08-18 20:34:13)

Re: Filament chip resetter - LEDs not behaving as expected

Thanks for the reply.
I have the same problem either by powering with USB or with a battery.
The only way the green LED functions as it should during the sketch is when connected by USB and either I start the serial monitor in the Arduino software or if I upload the sketch again.
It's as if the sketch is not running from the start if I disconnect then reconnect the power to the UNO.

Edit : just noticed that the green LED flashes if I connect the Arduino to the laptop while in sleep mode then turn the laptop on, strange.
The Arduino is an UNO R3 in case that makes any difference.

Davinci 1.0 with repetier firmware & E3D V6 Lite
Anycubic Photon DLP printer, Einscan-S 3D scanner
Simplify3d, 123D Design, Meshmixer
http://www.thingiverse.com/scobo/designs

4

Re: Filament chip resetter - LEDs not behaving as expected

Ok, I've finally got it working properly. smile
After studying the blink sketch and comparing it to the resetter sketch, I noticed this line of code in the blink sketch which isn't present in the resetter sketch .... pinMode(13, OUTPUT)
That line apparently initializes pin 13 as a digital output pin.
Not sure if this only applies to the Arduino UNO R3 but it certainly solved the problem with mine.

Davinci 1.0 with repetier firmware & E3D V6 Lite
Anycubic Photon DLP printer, Einscan-S 3D scanner
Simplify3d, 123D Design, Meshmixer
http://www.thingiverse.com/scobo/designs