EPD Does not work with Metro M4 Express Airlift

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
agadong
 
Posts: 9
Joined: Fri Oct 21, 2016 1:05 pm

EPD Does not work with Metro M4 Express Airlift

Post by agadong »

I purchased the Adafruit Metro M4 Express AirLift (WiFi) - Lite and the Adafruit 2.7" Tri-Color eInk / ePaper Shield with SRAM - Red Black White to make the epaper-weather station and calendar. I loaded the boards and libraries in Arduino IDE. Ran the blink, JSON DEMO and WIFI WEB Client DEMO programs on the Metro M4 Express AirLift with no problems. I plugged in the ePaper shield and ran the EPD Test, Text Test and Graphics Test DEMOs using the 2.7" EPD Adafruit_IL91874 display(264, 176, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS definition in the Demos. The EPD did not respond in all DEMOS. I, also, loaded the calendar program after the "EPD_INVERSE" error in line 195 was removed and got no response from the EPD also. It looks like the EPD is defective and a replacement is in order if the test programs are valid.

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by dastels »

Is the display cable seated fully and straight (feel free to post a clear photo of the cable and connector). Are all header pins soldered well? Again, feel free to post photos. It could help figure out what's wrong and remedy the situation.

Dave

User avatar
agadong
 
Posts: 9
Joined: Fri Oct 21, 2016 1:05 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by agadong »

Dave,
All header pins are soldered in and I checked the continuity on the pins and socket connections. The cable and connector on the board is illustrated on the attached photos. The connector is a press in type and does not appear to have a release tab.

Tony
Attachments
Bottom of EPD Board
Bottom of EPD Board
EPD 2.jpg (398.73 KiB) Viewed 205 times
Cable and Connector
Cable and Connector
EPD 1.jpg (322.79 KiB) Viewed 205 times

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by dastels »

The cable looks a bit crooked. The little black bits on either end of the socket will pull out slightly to release the clamp on the cable. reset it so it's straight and push the black bits in again. See if that helps.

Dave

User avatar
agadong
 
Posts: 9
Joined: Fri Oct 21, 2016 1:05 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by agadong »

Dave,
Straighten the cable and pushed in as far it will go in the connector. See Photo. Ran the test sketches and calendar program but the "Python" still remains on the EPD. I tried taking the cable out of the connector and reinstalling it couple of times and still got no response on the EPD.
Thanks for the education on the cable connector tabs. I really thought straightening the cable would solve the problem as it did when a similar problem occurred on the Raspberry Pi board connector.
Attachments
Python image remains after sketches are run.
Python image remains after sketches are run.
EPD 3.jpg (381.79 KiB) Viewed 202 times
Cable straighten on connector
Cable straighten on connector
EPD 4.jpg (366.37 KiB) Viewed 202 times

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by dastels »

The cable looks fine now. Let's try a new one.

Please email [email protected] with a link to this thread, your order number, and request the replacement of one 2.7" Eink Shield.

Dave

User avatar
agadong
 
Posts: 9
Joined: Fri Oct 21, 2016 1:05 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by agadong »

Dave,
Will do. Thank You for your assistance.

Happy Holidays and New Year,

Tony Gadong

User avatar
agadong
 
Posts: 9
Joined: Fri Oct 21, 2016 1:05 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by agadong »

Received the replacement 2.7" EInk Shield. Tested it using the EPD Test sketch for the ELink Shield from the Adafruit elink breakouts PDF and it works on METRO M4 EXPRESS AIRLIFT. Thank you for solving the defective item issue.
Now I need to get the Dan Cogliano Weather Station Sketch to work. My last question is if the sketch has been updated since it will not compile in its present form. I updated the bootloader but the sketch will not compile. Seems to be a Json problem. The error message copy is listed below:
Arduino: 1.8.16 (Windows 10), Board: "Adafruit Metro M4 AirLift Lite (SAMD51), Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off"
In file included from K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantContent.hpp:11,
from K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantSlot.hpp:11,
from K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Memory/MemoryPool.hpp:11,
from K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantData.hpp:7,
from K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/SlotFunctions.hpp:8,
from K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Array/ArrayIterator.hpp:7,
from K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Array/ArrayRef.hpp:8,
from K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson.hpp:17,
from K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson.h:9,
from K:\arduino-1.8.16\portable\sketchbook\adafruit_epd_weather\OpenWeatherMap.h:3,
from K:\arduino-1.8.16\portable\sketchbook\adafruit_epd_weather\OpenWeatherMap.cpp:1:
K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/ConverterImpl.hpp: In instantiation of 'static T ArduinoJson6185_91::Converter<T, typename ArduinoJson6185_91::enable_if<((ArduinoJson6185_91::is_integral<T>::value && (! ArduinoJson6185_91::is_same<bool, T>::value)) && (! ArduinoJson6185_91::is_same<char, T>::value))>::type>::fromJson(ArduinoJson6185_91::VariantConstRef) [with T = long long int]':
K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRef.hpp:107:34: required from 'typename ArduinoJson6185_91::enable_if<((! ArduinoJson6185_91::is_same<T, char*>::value) && (! ArduinoJson6185_91::is_same<T, char>::value)), T>::type ArduinoJson6185_91::VariantRef::as() const [with T = long long int; typename ArduinoJson6185_91::enable_if<((! ArduinoJson6185_91::is_same<T, char*>::value) && (! ArduinoJson6185_91::is_same<T, char>::value)), T>::type = long long int]'
K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/VariantRef.hpp:150:18: required from 'ArduinoJson6185_91::VariantRef::operator T() const [with T = long long int]'
K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Object/MemberProxy.hpp:85:30: required from 'ArduinoJson6185_91::MemberProxy<TParent, TStringRef>::operator T() const [with T = long long int; TObject = ArduinoJson6185_91::JsonDocument&; TStringRef = const char*]'
K:\arduino-1.8.16\portable\sketchbook\adafruit_epd_weather\OpenWeatherMap.cpp:131:42: required from here
K:\arduino-1.8.16\portable\sketchbook\libraries\ArduinoJson\src/ArduinoJson/Variant/ConverterImpl.hpp:49:5: error: static assertion failed: To use 64-bit integers with ArduinoJson, you must set ARDUINOJSON_USE_LONG_LONG to 1. See https://arduinojson.org/v6/api/config/use_long_long/
49 | ARDUINOJSON_ASSERT_INTEGER_TYPE_IS_SUPPORTED(T); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
Error compiling for board Adafruit Metro M4 AirLift Lite (SAMD51).

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by dastels »

Hmm.. it looks like something to do with the timezone. I'd start by checking what the JSON is. The format might have changed.

Dave

User avatar
agadong
 
Posts: 9
Joined: Fri Oct 21, 2016 1:05 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by agadong »

Dave,
It is the Time zone. The time zone is calculated not defined as in the other weather station programs. Will fix. Thanks for your observation.

Happy New Year,
Tony

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: EPD Does not work with Metro M4 Express Airlift

Post by dastels »

Have fun!

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Metro, Metro Express, and Grand Central Boards”