Giter VIP home page Giter VIP logo

lilygo-t-a76xx's People

Contributors

lewisxhe avatar lilygo avatar sukaibin11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lilygo-t-a76xx's Issues

GPS Example

Hi,

I am new with Arduino, I have the board A7670 v1.2, and I would like to test the GPS, but I can't use internet examples, can you upload a GPS example in the repo?

Thanks.

missing deep sleep current in documentation

I'm following the most publications of new GSM / LTE form LilyGo and waiting still for a really low power board in deep sleep (< 20 uA). The combination of (optinal) Wifi, GSM / LTE with solar charging IC is a often wished use case and you can see less boards on this sector. So I'm happy that LilyGo develops a bunch of boards here. The only thing I'm missing here is really a low deep sleep power consumption.

Are there numbers for the A7670x board in deep sleep? LilyGo's T-Call SIM800 has arround 500 uA and the T-SIM SIM7000G 250 uA as far as I remember.

HttpsClient example doesn't work

When I run /examples/new_version/Arduino/HttpsClient/HttpsClient.ino it sends a http request to port 443, The plain HTTP request was sent to HTTPS port

[4667] Wait...
[7668] Initializing modem...
[7668] ### TinyGSM Version: 0.11.5
[7668] ### TinyGSM Compiled Module:  TinyGsmClientSIM7600
[12326] ### Modem: AT
[12326] ### Modem: AT
[22452] ### Unhandled: SMS DONE

+CGEV: EPS PDN ACT 1
[22452]  setNetworkMode faill
[22457] ### Modem: A7670E-LASE
[22457] Modem Name: A7670E-LASE
[22484] Modem Info: Manufacturer: INCORPORATED Model: A7670E-LASE Revision: A7670M7_V1.11.1 IMEI: 862205052859719 +GCAP: +CGSM,+FCLASS,+DS
Waiting for network... success
Network connected
Connecting to YourAPN success
GPRS connected
Performing HTTPS GET request... Response status code: 400
Response Headers:
    Server : nginx/1.10.3 (Ubuntu)
    Date : Sun, 15 Jan 2023 01:04:22 GMT
    Content-Type : text/html
    Content-Length : 280
    Connection : close
Content length is: 280
Response:
<html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>

Body length is: 280
Server disconnected
GPRS disconnected

Can you fix the example?

Problem with reading battery voltage

Reading the battery voltage using ADC Channel 7/GPIO35 does not work as expected. The value read is always the same although the battery voltage level drops. The module is not powered via USB, it runs only on battery.

Could you please post ESP IDF sample code that demonstrates how the battery voltage should be retrieved? My code works fine with TTGO SIM7000G, but does not work with A7670E. Any idea what differences between TTGO SIM7000G and A7670E could be causing that? Does the level of GPIO 12 matter when using GPIO 35 for reading the battery voltage?

Thanks!

T-A7670X not work when battery is empty

I bought a litle [T-A7670X] and do project success. but i have big problem

  1. My project read sensor and alert to server my MQTT
  2. I have PIN 18650 into T-A7670X
  3. Power 5VDC to DC jack
  4. Power switch to ON
  5. TEST CASE
  6. DC (5V) connect to DC jack and device work well
  7. Unplug DC (5V) and device work by PIN 18650 and working 12hour, PIN is empty and i DO NOT plug DC (5V) and stay for 24hour later
  8. after 24h, i plug DC (5V) to DC jack, board is not work (SIM T-A7670X LED is not work, ESP 32 not run).
  9. Board is worked only when i switch power SW to OFF and wait 10 minute and back to ON
  10. IF i plug DC 5v to c-type, board work BUT when I unplug DC, board auto restart and used PIN 18650
    Please advice me.
    I want board auto switch to battery when DC 5V off and auto switch to DC when DC 5v ON (DC 5V off for 48h).

Problem about gps/gnss

I bought this board and did some testing. The sd card and gprs feature are working but all my other devices are showing they can't get gps signal where they are working. I'm just running the demo code and I keep getting a blank gps signal message. I need help on this.

image

I could not get results with a different antenna with a long cable.

Preferences lib doesn't work

I have tried to store values in flash but the preferences lib seems to be not working on this board.
Is there any work around?

need help developing an idea

Hello,
Is it possible to / how to :

  1. record audio (by plugging a mic into a gpio) to SD port
  2. listen to audio from the SD port (by connecting a speaker)
  3. fetch file from firebase to sd port
  4. send file from SD card to firebase

Are there any codes for this please?
Thanks for helping ;)

How to completely power off the modem?

Hi all, this might be a noob question,

but how to completely cut the power from the modem before going into deep sleep?

Currently I am sending the power off command to the modem, but as told in the examples, I should also use BAT_EN pin to make
sure the modem stays off. However I am not sure what to do.

Do I need a pull-down resistor to keep the pin low when in deep sleep?

Thanks in advance

Beeping sound - device freezes on battery

My code is using deep sleep and it was working fine for couple of weeks.
But now my device freezes when working on battery.
Sometimes it wakes up, but more often it stuck in this state till I make restart (and/or plug external power).

During those freezes device is making some weird beeping sound.
There is a link to the video: https://drive.google.com/file/d/1E8bzVIb1ksJ1RlMGsdOGy981ow-VHJOF/view?usp=sharing
I hope it will be hearable when the make it a little bit louder.

measured battery voltage does not change

Hi,
I am using the battery voltage example.
The measured battery voltage is always 4.04V (if no USB is connected). I am using this board. Should the example work on this board or do I have to connect the GPIO35 somehow?
Thanks in advance.

Device waken up from deep sleep after random time

Hi,

I'm testing the device as a controller for door sensor.
I would like to wake up the device from the deep sleep using esp_sleep_enable_ext0_wakeup.
But my problem is the the device is waken up immediately after going to sleep, without any state change on my pin.
I was eliminating line by line from examples/new_version/platformio/src/main.cpp code and I've tracked the piece of code that is causing this behaviour:

    pinMode(PWR_PIN, OUTPUT);
    digitalWrite(PWR_PIN, LOW);
    delay(100);
    digitalWrite(PWR_PIN, HIGH);
    delay(1000);
    digitalWrite(PWR_PIN, LOW);

Can you explain to me what is the purpose of those lines of code?
Is hard to me to understand it. Sorry for that, I'm still learning.
Thanks in advance.

New version not powering up via battery

I have the latest board version V1.1 of date 2022-5-22 which will NOT power up using the battery switch. I have 30 of these boards :-( Battery fully charged at 4.12v however boards seems to work using usb. Although some issue with modem turning on then off again.

How does BAT_EN pin work?

I can't seem to understand how BAT_EN (IO12) works. I have a board versioned 2022-5-22 V1.1. Can you explain?

Both do nothing at all, battery is controlled only with switch:

  pinMode(BAT_EN, OUTPUT);
  digitalWrite(BAT_EN, LOW);

same for

  pinMode(BAT_EN, OUTPUT);
  digitalWrite(BAT_EN, HIGH);

Strange value from the GPS

Hello

I am testing the gps and getting back strange Lat and Lot values:

at:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.133333 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000
lat:-0.150000 lon:-0.000000

what is the unit?

Best Regards

New version has GPIO5 connected to RST of A7670E

I have a nasty problem with A7670E resetting each time ESP32 WROVER-E exits deep sleep. My program flow is the following:

  1. A7670 is in sleep mode (AT+CSCLK=1, DTR HIGH) and not powered down.
  2. ESP32 is in deep sleep while the ULP is active collecting some sensor data.
  3. The ULP wakes up the main cores and ESP32 tries to publish some data via A7670.
  4. However, each time ESP32 exits deep sleep, GPIO5 is pulled up (it is strapping pin) and A7670 is reset (restarted).

Is there a way to avoid that? The previous version of this board did not have GPIO5 connected to A7670's RST.

SD Card IO Pins

If there is no SD card inserted, can the SD card IO pins be used for other purposes?

A7670SA R2 With GPS not works

Hello , So I have the module T-SIM-A7670-R2 (A7670SA R2 With GPS) I am using Arduino to program.
I able to connect to the network but I couldn't get the GPS to work.

AT+CGNSSINFO
+CGNSSINFO: ,,,,,,,,

thank you so much

possible to recharge battery via board?

Hello, thanks for these great boards. Is it possible to recharge the 18650 battery directly via the board by plugging in 5V usb-c or do I need to remove the battery and recharge externally?
Thanks

Deep sleep mode

Hi, I would like to put the board in deep sleep, I've tried turning off the modem with the AT+CPOF AT command (naturally I've set the esp32 in hibernation mode) but the total consumption is around 66mA and not the 0.18mA you indicated. Can I have some sort of code to put the entire board in sleep mode reaching the current consumption you mentioned?

Thank you.

SD card not functioning

Using the supplied firmware that came with the board and trying different SD cards using FAT, FAT32 I am not able to get it to work.
Even when trying SD firmware that works well on the LilyGo SIM7000G I get the same results on this board. I have double checked the CS, MISO, MOSI and CLK wires but to no avail. There are definitely issues with these boards.

Battery voltage problem

Hi, I've just bought this board (in Jan 2023) because battery voltage can be read, the version I got (directly from LilyGo via aliexpress) is 2022-2-28 V1.1. The pinout on the product page clearly shows that battery voltage can be read (see image below) yet #19 says that only 2022-7-28 V1.2 can read the voltage.

Screenshot 2023-01-22 at 10 37 39

The board I received doesn't have the functionality of the product I ordered, can you send me one that does have this functionality? How can I get in touch to discuss it?

Hardware Manual

Hello,
I've just ordered one of these boards.
I found the schematic in this repo, but it took me a while to find a Simcom hardware datasheet that matches up with it.
(The A7670 Series_Hardware Design_V1.03.pdf has a different number of pins!)

I've attached one that I think is correct, you may wish to add it to this repo.

A7672X_A7670X_Series_Hardware_Design_V1.03.pdf

Schematic would be very helpful

Hi,
a schematic or similar documentation of the board (A7670 V 1.1. 2022-2-28) would be very helpful!
I just finished the design of some interface electronic to the board and now I've found that GPIO5
is connected to the modem's reset, which is not documented anywhere as far as I can tell.
So I have to re-design my wiring or de-solder a resistor on the board as stated here
That's pretty annoying...
So please publish a schematic. This could prevent a lot of painful debugging...

Thanks in advance!

Receive call/sms

Hello,
Is there any code example about receive call/sms?
Thanks

Which board should be selected for Arduino IDE

What board needs to be selected for LILYGO® TTGO T-SIM-A7670E?

I followed these instructions to get a list of ESP32 boards:

image

Getting this error with ESP32 Dev Module:

Arduino: 1.8.16 (Mac OS X), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"

Sketch uses 261370 bytes (19%) of program storage space. Maximum is 1310720 bytes.
Global variables use 14008 bytes (4%) of dynamic memory, leaving 313672 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.0-dev
Serial port /dev/cu.usbmodem52D50070651
Connecting.......
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: ***
Uploading stub...

A fatal error occurred: Failed to write to target RAM (result was 01070000)
A fatal error occurred: Failed to write to target RAM (result was 01070000)



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Upload of Sketch to ESP32 not working

Hi there,

I do have a A7670E and try to upload a sketch to the ESP32 on Win10 using Arduino.
I've installed the CH9102 which is available from Lilygo here on Github, how ever the Board does not react to uploads.

What to do? Do I have to put the board into upload/flash mode somehow?

GPS/GNSS does not work

Using Lilygo T-A7670E board, GNSS does not work.
Tried the test method described here: #25

Result:
08:42:42.014 -> $GNGGA,064243.00,,,,,0,00,99.99,,,,,,7F
08:42:42.048 -> $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,1
33
08:42:42.117 -> $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,331
08:42:42.151 -> $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,2
30
08:42:42.220 -> $GPGSV,1,1,03,19,,,20,24,,,30,17,,,21,06C
08:42:42.253 -> $GAGSV,1,1,00,$GNRMC,064244.00,V,,,,,,,140423,,,N,V
19

So the time is correct (but perhaps that is from the GSM side, as 4G is working) but there is no location.

Tried outside, waited for >1hr so it could get almanac, makes no difference.

No GNSS data

Saw a previous ticket about this issue, but the "resolution" there didn't make any sense. Anyhow, I have a hard time getting the GNSS data to be anything other than just:


AT+CGNSSINFO

+CGNSSINFO: ,,,,,,,,

OK
getGPS 86981
AT+CGNSSINFO

+CGNSSINFO: ,,,,,,,,

OK
getGPS 88988
AT+CGNSSINFO

+CGNSSINFO: ,,,,,,,,

OK

Tried two different antennas, tested the connector on the PCB if it was damaged somehow, but nothing seems to work.
I have the unit in my window, and have let it run for more than 30 minutes without a change.
My unit version is "2022-5-22 V1.1 XY--A7670"

A7670E PPS connected to ESP32?

The schematic of this board mentions pin 100 on the SIM7670 is a PPS signal. I could not find any information that the SIM7670 has a PPS output.

According to the file GPSShield.ino: #define BOARD_GPS_PPS_PIN 23 it's connected to ESP pin 23. Is that correct?
I'm looking for an ESP32 board with a GNSS + PPS.

Schematic v1.2

Can you add the schematics for v1.2 to the repo please.

Thanks

Problems with debugging code when the device is connected to computer

Hi,

I've recently bought this device and I'm pretty happy with all the possibilities it gives me.
I have just one problem which is very annoying and it makes writing and debugging code very hard.

I'm using platformio and this example mainly: https://github.com/Xinyuan-LilyGO/T-A7670X/blob/main/examples/new_version/Arduino/MqttClient/MqttClient.ino

The problem is that device have constant problem connecting to mqtt broker when it's connected to computer and when I'm watching serial monitor.
When I detach the USB cable, reset the device it starting to work well and send metrics over mqtt (I have battery inserted).

Is my approach to program device wrong?

Connecting device using SPI (i.e.LoRA)

Dear developers,
I would like to add a loRA shield to the T-A7670E and to do that I need standard sets of pins to connect to.
Overall, the project is aiming to collect the data using a loRA shield, store them on an SD card, use GPS location/time, and upload packages via SIM card modem to the server.

What would you suggest which pins could be used on the board that are not already taken?
In particular, I would need something like this (but pins that I can use):
#define pin_ss 5
#define pin_rst 32
#define pin_dio0 34
#define pin_dio1 39
#define pin_mosi 23
#define pin_miso 19
#define pin_sck 18

Thanks in advance!

PCB FILES

can you share pcb schematics and board files instead of pdf version?

any help with starting with VSCODE?

Hi,

I have lots of ESP32 TTGO Lora Modules and want to test this TTGO LILYGO A7670SA now

as per intructions, there is no detail as to what type of board I should declare when importing the project on VSCO

any help?

Ho can I test GPS?

Hi Dear , Is there an example to test the GPS function?
try to use your AllFunctions/AllFunctions.ino example but there isn't nothing for the GPS can you help me how to test?
thanks
Fabio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.