-
this post is about update 2.10->2.19 in Bangle 1.
no1. WEBPAGE info (in my case bangle couln't hop to dfu mode):
not working procedure:Long-press BTN1 + BTN2 for about 6 seconds until the screen goes blank
Release BTN2
Release BTN1 a moment later while ==== is going across the screen
The watch should now be in Dfu modeno.2. now working procedure on
BANGLE1 info screen (->just focus on buttons numbers because text info is different on the watch than on webpage:
Long-press BTN1 + BTN2 for about 6 seconds until the screen goes blank
Release BTN1
Release BTN2 a moment later while ==== is going across the screen
The watch should now be in Dfu modeIn my case a good procedure was procedure no2: -> first to hold 1+2, release 1 first, release 2nd button and I suceeded to go to dfu mode.
i am very sorry if it is confusing, i solved problem of "which button to realese first"
-
[SOLVED[
there is bad info on espruino webpage about how to access dfu
on webpage http://www.espruino.com/Firmware+Update#nrf52 you should realease button 2 but it will not go to DFU
on watch there is info you should realease button 1 but it was hard to find it on the watch (letters are small and I believed in webpage)
-
Hello I can't upload Bangle1 firmware. I've followed Espruino webpage and installed all mentioned apps and after establish of connection I see notice that nerf 5 is not working on device.
I tried 3 android smartphones and 3 pc computers with google chrome.
i have connection with bangle via bluetooth but i cant upload firmware by usinw www ad by using android apps -
Temperature sensor Example for Bangle2:
Bangle.setLCDPower(1); Bangle.setLCDTimeout(0); //E.getTemperature(1); function onTimer() { var t = E.getTemperature().toFixed(1); g.clear(); g.setFontBitmap(); g.drawString("Temperature:"); // Use a large font for the value itself g.setFontVector(40); g.drawString(t, (g.getWidth()-g.stringWidth(t))/2,10); // Update the screen g.flip(); } // Update temperature every 2 seconds setInterval(onTimer,2000); // Update temperature immediately onTimer();
REFERENCE:
I used some codes from Espruino channel from youtube.com and from existing repositories here: https://www.espruino.com/modules/ -
-
-
Thank you for your huge help,
I am optimistic and 2,3,5 should work!
Thank you also for pinMode https://www.espruino.com/Reference#l__global_pinMode and 'modules' link, https://www.espruino.com/modules/
both are great,
now I found js codes -
-
Ok, so I checked Pixl.js documentation.
I didn't get anything maybe I am just dumb.According to Pinout https://www.espruino.com/Pixl.js#pinout of Pixl.js, there is a Note:
"Pixl.js has one available I2C, SPI and USART (and infinite software SPI and I2C). Unlike other Espruino boards, these peripherals can be used on any pin."However, I also found additional information when I put my mouse cursor on these "!" two descriptions on D0 and D1 pins:
D0 - "Serial Console RX when Bluetooth is disconnected"
D1 - "Serial Console RX when Bluetooth is disconnected"Moreover, "Purple boxes" show pins that are used for other functionality on the board. You should avoid using these unless you know that the marked device is not used.
I don't see "Purple Boxes, I see "Purple circles" on the PCB layout https://www.espruino.com/Pixl.js#pinoutFurther below there are "Purple boxes" with "Pins not on connectors.
H0 3.3v LCD
H1 3.3v BTN1
H2 3.3v BTN2
H3 3.3v BTN3
H4 3.3v BTN4
H5 3.3v LCD
H6 3.3v LCD
H7 3.3v LCD
H8 3.3v ! LCD
H9 3.3v LCDIn conclusion I have a few pins rs-232 cables 2,3,5,7,8 ready and no idea where to put them in pixl.js
-
Hello,
To which Espruino devices I can solder pins and get data from rs232 port
I'm going to decode NMEA data from external GPS/GNSS receiver (it is a Novatel Flexpak6 RS-232 DB9)Which Espruino Board can I use to read and store rs232 data (it is ASCII format NMEA, ?
How to connect pins to the espruino board?There is no power on the pinout of Novatel's rs232 com1 port as follows
1 COM1_RTS/422TX- 8
2 COM1_TXD/422TX+ 2
3 COM1_RXD/422RX+ 3
4 COM1_CTS/422RX- 7
11,14 Ground 5I want to grab some data from rs232, use that data for GPS position computation, and I want to store data and export it from espruino board.
Which equipment do you suggest? -
-
-
-
JOB
Your task is to read from Bangle2.js or Bangle1.js:
1) the position of GPS,
2) BOTH: The Coordinates of the satellites (Cartesian coordinate system is preferred) and measured the pseudoranges (from the satellites to the satellite receiver)
3) to make a espruino working code for saving the coordinates and abovementioned ranges in text (ascii format)
4) to investigate whether navigation message can be written and exported
Hi!
I have started a new project: to Import GPS Ephemerides and pseudoranges from precise GPS+GLONASS to Espruino devices. Goal of the project: to make SPP iterative positioning algorithm in espruino device by using a least squares method (single point positioning - SPP).
1 step. we are going to get raw ephemerides and computed satellite coordinates of GPS and GLONASS satellites from precise GPS+GLONASS receiver (Novatel Flexpak6). We worked out synchronisation problem of measured distances (pseudoranges) and calcullation of satellite coordinates for a moment when signal was sent by the satellites. also SBAS data (corrections for L1 frequencies for both GPS+GLONASS can be used in project too). We worked out how to synchronise all data even with centimeter level of accuracy by using a Spirent signal generator and Novatel Flexpak6 for GPS+GLONASS. Thus we achieved ultimate control over GPS+GLONASS+Galileo+BeiDou+SBAS data by using other 4-constellation receivers equipped with SBAS too.
Navigation GPS+GLONASS messages (ephemerides and almanac) will be sent to Espruino devices such as Bangle1, Bangle2, Pixls.js by using Raspberry PI. We have our good data logger made and working perfectly in Raspberry Pi4 for ephemerides and pseudoranges and it was written in Python.
after we transfer ephemerides and pseudoranges from Novatel to Espruino devices, we will make iterative single point positioning algorithm in Espruino. we have our great working codes written in Matlab and Python so we have good reference starting point.
i am not sure that we want to compare bangle's GPS to novatel GPS because I dont see any reason to do that. . we know how to operate Gps in Espruino but it is only nmea data (novatel uses both raw and nmea)
we don't want Gps raw data from espruino watches because we don't rely on it and we don't have control over gps +glonass data in espruino and we don't have good documentation how to synchronise all data -> check no.1 we worked out this problem but in novatel GNSS
ADDITIONAL GOAL:
Cubic algorithm is UNPUBLISHED and what I can only say it is the only algorithm in the World among about 50 existing positioning algorithms and Cubic algorithm can use additional cubic units [m^3] to correct pseudoranges. In result better accuracy is achieved. We will make it working on Bangle1, Bangle2, and Pixl.js (but GNSS data is taken mostly from Novatel GNSS)