This relates to Nanode 5 with winode backpack. Hoping I can get an answer from this Forum as very little response comes from the Nanode community it seems. May have backed wrong horse going with Nanode?
I'm revisiting a working installation that stopped working last Autumn. Have gone back to basics and realise how much I've forgotten in the year since I built and programmed the project. Hope these aren't dumb questions therefore.
I'm using a simple fade sketch to test output of Pin5 (an LED) and associated PWM circuit. Sketch works perfectly on FTDI powered set up but,with FTDI removed and replaced with a 9v DC supply on the screw terminals, Pin 5 LED comes on at full brightness and stays on.
Pressing reset does one of following, seemingly at random:-
a) Pin 5 LED glows at one intensity
b) Winode LED (pin 6) lights
c) Pin 5 LED flashes rapidly then stays lit, along with Winode LED
d) Pin 5 LED flashes rapidly then stays lit, without Winode LED
e) Pin 5 LED flashes once and all LEDs stay off.
Please can someone explain what is going on / what am I missing?
Further info and Q's after a bit more experimenting:-
I've tried uploading the original project sketch which works fine when powered from FTDI.
Changing over to 9vDC through the screw terminals the same sketch appears to work for several minutes before it hangs.
Can I use the FTDI/USB cable for the Serial Monitor function whilst powering from 9vDC through terminal block or will I fry the FTDI board? This might indicate where/why sketch hangs.
My reasoning for going with the higher voltage is that USB power will give less voltage on the (PWM) outputs than if I power from 9v. I'm feeding output to 0-5v controller but getting max 2.8v from Nanode when powered by FTDI. Hoping 9v supply will give higher output.
You should be getting 5V on the 5V rail regardless of which voltage input you use. The FTDI cable should supply 5V directly and the DC_IN connector should go through the on-board 5V regulator. If your 5V line is at 2.8V it may be because something is drawing more current than it should.
Measure the voltage between Ground and the Vcc (5V) pin with the two supplies and report back.