Minggu, 13 Maret 2022

Sabtu, 12 Maret 2022

RSSI / Signal SIM800l

 Value RSSI dBm Condition

2 -109 Marginal

3 -107 Marginal

4 -105 Marginal

5 -103 Marginal

6 -101 Marginal

7 -99 Marginal

8 -97 Marginal

9 -95 Marginal

10 -93 OK

11 -91 OK

12 -89 OK

13 -87 OK

14 -85 OK

15 -83 Good

16 -81 Good

17 -79 Good

18 -77 Good

19 -75 Good

20 -73 Excellent

21 -71 Excellent

22 -69 Excellent

23 -67 Excellent

24 -65 Excellent

25 -63 Excellent

26 -61 Excellent

27 -59 Excellent

28 -57 Excellent

29 -55 Excellent

30 -53 Excellent


bool res = modem.isGprsConnected();

  DBG("GPRS status:", res ? "connected" : "not connected");


  String ccid = modem.getSimCCID();

  DBG("CCID:", ccid);


  String imei = modem.getIMEI();

  DBG("IMEI:", imei);


  String imsi = modem.getIMSI();

  DBG("IMSI:", imsi);


  String cop = modem.getOperator();

  DBG("Operator:", cop);


  IPAddress local = modem.localIP();

  DBG("Local IP:", local);

Senin, 28 Februari 2022

cara reset energy atau value kwh PM2120

 




How to reset the energy value of PM2100

Clear screen menus/ reset energy value
         Clear screen enables you to reset energy, demand, min / max, or max demand values.
        
Entering Clear screen

The meter’s display screen and buttons allow you to navigate to Clear.
1. Press and hold the OK button for 2 seconds.
2. Press the Up button to select Yes.
3. Press OK.
4. Enter password. Default password is 0000.
5. Press OK.
6. Press the Down or Up button to navigate to the required parameter for clearing
the values.
7. Press and hold the OK button simultaneously for 2 seconds to exit Clear
screen.






Sabtu, 19 Februari 2022

WIRING

 


CARA CEK DATA MENTAH GPS NEO6 DENGAN ESP32

 




Assalamu'alaikum, sahabat SIMOR.

saya akan sharing bagaimana cara cek data mentah dari GPS neo6 dengan ESP32. 
Pertama siapkan bahan dulu (esp32, kabel usb micro, kabel jumper, GPS neo6)
Kedua - Wiring sesuai gambar  di atas
Ketiga - Upload koding dibawah ini

#include <SoftwareSerial.h>
SoftwareSerial ss(18, 19);

void setup(){
  Serial.begin(9600);
  ss.begin(9600);
}

void loop(){
  while (ss.available() > 0){
    // get the byte data from the GPS
    byte gpsData = ss.read();
    Serial.write(gpsData);
  }
}

Keempat - Cek data di serial monitor.  (coba ditunggu hingga gps neonya kedip", sambil nunggu minum kopi)

$GPGGA,110617.00,41XX.XXXXX,N,00831.54761,W,1,05,2.68,129.0,M,50.1,M,,*42
$GPGSA,A,3,06,09,30,07,23,,,,,,,,4.43,2.68,3.53*02
$GPGSV,3,1,11,02,48,298,24,03,05,101,24,05,17,292,20,06,71,227,30*7C
$GPGSV,3,2,11,07,47,138,33,09,64,044,28,17,01,199,,19,13,214,*7C
$GPGSV,3,3,11,23,29,054,29,29,01,335,,30,29,167,33*4E
$GPGLL,41XX.XXXXX,N,00831.54761,W,110617.00,A,A*70
$GPRMC,110618.00,A,41XX.XXXXX,N,00831.54753,W,0.078,,030118,,,A*6A 
$GPVTG,,T,,M,0.043,N,0.080,K,A*2C
$GPGGA,110617.00,41XX.XXXXX,N,00831.54761,W,1,05,2.68,129.0,M,50.1,M,,*42
110617 – represents the time at which the fix location was taken, 11:06:17 UTC
41XX.XXXXX,N – latitude 41 deg XX.XXXXX’ N
00831.54761,W – Longitude 008 deg 31.54761′ W
1 – fix quality (0 = invalid; 1= GPS fix; 2 = DGPS fix; 3 = PPS fix; 4 = Real Time Kinematic; 5 = Float RTK; 6 = estimated (dead reckoning); 7 = Manual input mode; 8 = Simulation mode)
05 – number of satellites being tracked
2.68 – Horizontal dilution of position
129.0, M – Altitude, in meters above the sea level
50.1, M – Height of geoid (mean sea level) above WGS84 ellipsoid
empty field – time in seconds since last DGPS update
empty field – DGPS station ID number
*42 – the checksum data, always begins with *
The other NMEA sentences provide additional information:

$GPGSA – GPS DOP and active satellites
$GPGSV – Detailed GPS satellite information
$GPGLL – Geographic Latitude and Longitude
$GPRMC – Essential GPS pvt (position, velocity, time) data
$GPVTG – Velocity made good


cara blok value di Node red

 ambil node filter dan edit seperti di bawah ini