Hot answers tagged

1

The datasheet states: Requires 5-9VDC @ 1.5Amp power supply during print. In my experience this printer provides best results when operated at its upper limit. I am using a 9V 2A power supply for that. A bettery is definitiverly not enough.


1

You can use the one provided by generating it with STMCubeMx. This is going beyond arduino though. But it is highly feasible.


1

SoftwareSerial can only listen to one port at a time. You cannot listen to both, no way. To really listen to both, you need an Arduino with more hardware Serial ports, where most of the protocol is done in hardware, thus can receive without CPU intervention. The Arduino Mega has 4 hardware Serial ports. Or you could impose a protocol on the Serial stream to ...


1

I installed a library from within the IDE as StarCat suggested. https://github.com/Makuna/Rtc #include <FastLED.h> #include <ThreeWire.h> #include <RtcDS1302.h> #define NUM_LEDS 50 #define DATA_PIN 6 ThreeWire myWire(3,4,2); // IO, SCLK, CE RtcDS1302<ThreeWire> Rtc(myWire); CRGB leds[NUM_LEDS]; void setup() { FastLED....


1

You are not reading the GPS often enough. The method Adafruit_GPS::read() is documented in the comments embedded in the source code: Read one character from the GPS device. Call very frequently and multiple times per opportunity or the buffer may overflow if there are frequent NMEA sentences. An 82 character NMEA sentence 10 times per second will ...


1

For what it's worth, I manage to make them working again by playing a bit with the settings of both modules. Using a simple test sketch I issued some AT commands to both modules; I had already tried setting them to the DEFAULT setup with AT+DEFAULT, but that was fruitless. I decided to left the mode as is (FU3), same for the serial rate (B9600), but I tried ...


Only top voted, non community-wiki answers of a minimum length are eligible