Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,180
» Latest member: tuanmudadatuk4d
» Forum threads: 410
» Forum posts: 1,966

Full Statistics

Online Users
There are currently 14 online users.
» 0 Member(s) | 13 Guest(s)
Google

Latest Threads
Latest updates
Forum: Announcements and updates
Last Post: faisyl
6 hours ago
» Replies: 11
» Views: 8,985
edtech organizations in i...
Forum: Other
Last Post: shraddhamane
05-30-2022, 08:15 AM
» Replies: 0
» Views: 411
INA3221 MicroPython I2C D...
Forum: Hardware
Last Post: M5MPy
09-27-2021, 12:55 PM
» Replies: 6
» Views: 7,894
Power Management
Forum: General
Last Post: Arun47
06-19-2021, 04:19 AM
» Replies: 7
» Views: 95,360
REPL / telnet
Forum: K210, Kendryte RISC-V Dual Core 64bit CPU
Last Post: lypanov
05-31-2021, 01:51 PM
» Replies: 1
» Views: 3,073
Rfcomm Bluetooth examples
Forum: MicroPython
Last Post: dan76
05-12-2021, 04:15 PM
» Replies: 6
» Views: 9,741
ST7789V color display pro...
Forum: Hardware
Last Post: maopucheng
04-15-2021, 11:14 AM
» Replies: 0
» Views: 1,965
TTGO ESP32 with ST7789V d...
Forum: Hardware
Last Post: maopucheng
04-14-2021, 01:31 PM
» Replies: 6
» Views: 7,604
New Font creator online t...
Forum: Announcements and updates
Last Post: LeoLiu
04-14-2021, 07:13 AM
» Replies: 10
» Views: 15,088
lobo on pycom wipy networ...
Forum: Issues
Last Post: joblacker@cfl.rr.com
03-31-2021, 03:56 PM
» Replies: 0
» Views: 3,758

 
  edtech organizations in india
Posted by: shraddhamane - 05-30-2022, 08:15 AM - Forum: Other - No Replies

Which is the best education company in India?

Print this item

Rainbow ST7789V color display problem
Posted by: maopucheng - 04-15-2021, 11:14 AM - Forum: Hardware - No Replies

<p></p>[python]<p>tft.init(tft.ST7789, width=320, height=240, rot=tft.LANDSCAPE, miso=17, mosi=19, clk=18, cs=5, dc=16, rst_pin=23, backl_pin=4, backl_on=1)<br>tft.setwin(40,52,279,186)<br></p><audio controls="controls" style="display: none;" src="http://dict.youdao.com/dictvoice?audio=FF&amp;type=1"></audio><p class="sceditor-nlf"><br>tft.rect(0,0,20,20)<br>tft.rect(221,116,20,20,0xFF0000,0xFF0000)</p>[/python]<p class="sceditor-nlf"><br><br>I want to draw a red rectangle, I write color "0xFF0000", but it is not a red.<br><br>If I&nbsp;write "0x00FFFF", this is red. Why, is it for design?&nbsp; or Did I make a misstake in code?<br><br>Thanks for your help.<br><br><br></p><p class="sceditor-nlf"><br></p><p class="sceditor-nlf"><br></p><p class="sceditor-nlf"><br></p><p class="sceditor-nlf"><br></p><p class="sceditor-nlf"><br></p><audio controls="controls" style="display: none;"></audio><p class="sceditor-nlf"><br></p><audio controls="controls" style="display: none;"></audio><p class="sceditor-nlf"><br></p>

Print this item

  lobo on pycom wipy network issue
Posted by: joblacker@cfl.rr.com - 03-31-2021, 03:56 PM - Forum: Issues - No Replies

<p>I flashed the lobo distro MicroPython_LoBo_esp32_psram_all.zip onto a pycom wipy but I can't initialize the network.</p><p>I tried:&nbsp; &nbsp;wifi = network.WLAN(network.STA_IF)</p><p>but I get error:</p><p><br></p><p>W (2433745) wifi: wifi osi_nvs_open fail ret=4353<br>E (2433745) wifi: wifi_init_in_caller_task 707 ret=4353<br>E (2433745) [modnetwork]: Error initializing WiFi (4353)<br><br></p><p>what am I doing wrong?</p>

Print this item

Bug Problem with GPIO 0 - TTGO T-Display ST 7789V
Posted by: rems02 - 03-17-2021, 02:25 PM - Forum: MicroPython - Replies (1)

<p>

<!--StartFragment--></p><p style="box-sizing: border-box; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; margin-top: 0px !important;">hi,<br style="box-sizing: border-box;">I have a problem with TTGO T-Display ST 7789V</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Button GPIO 0 does not work after presses button (print always 0)<br style="box-sizing: border-box;">Button GPIO 35 it's OK (print 1 after presses button print 0)</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">test code:</p><pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; border-radius: 6px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace"><span style="box-sizing: border-box; font-size: 11.9px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-radius: 6px; border-style: initial; border-color: initial; border-image: initial; line-height: inherit;">[python]<br>from machine import Pin
from time import sleep

button = Pin(0, Pin.IN)

while True:
print(button.value())
sleep(0.1)<br>[/python]
</span></font></pre><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">II have tested with other Micropython and it works.</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">is there a problem ?</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Thanks for your help.</p><!--EndFragment--><p>

[Image: 68747470733a2f2f696d67617a2e737461746963...652e6a7067]<br></p><p></p><p class="sceditor-nlf"><br></p>

Print this item

  tft.compileFont() function
Posted by: Sanjib - 02-22-2021, 04:12 PM - Forum: MicroPython - No Replies

<p>Hello,</p><p>I am a new use to TTGO board with a display and also to MicroPython. I was trying to use custom font and used the online tool mentioned in the forum:</p><p>https://loboris.eu/forum/showthread.php?tid=826<br></p><p><br></p><p>I have generated the .c file and used the tft.compileFont() function to generate the .fon file. As I have used "debug=True", I could see the error as:&nbsp;</p><p><br></p><p>Error opening source file '/_#!#_spiffs/&lt;file_name&gt;.c'</p><p><br></p><p>Is it because I have kept the .c file at the wrong location? Where should I keep it?</p><p><br></p><p><br></p><p><br></p><p><br></p>

Print this item

  MQTT_CLIENT: read error or end of stream
Posted by: formica - 02-18-2021, 04:19 PM - Forum: ESP32 - No Replies

<p>Hi guys, <br>using the mqtt module on pycom w01 I always obtain this error.<br>I'm trying to connect the module to mosquitto on Ubuntu.<br><br>MQTT_CLIENT: read error or end of stream<br><br>Any idea?<br><br></p>

Print this item

  I am looking for a solution for _thread in class object
Posted by: alien1983 - 02-08-2021, 08:25 PM - Forum: MicroPython - Replies (1)

<p>Hi,</p><p>This is an example of
<!--StartFragment-->threading<!--EndFragment-->

for a class...<br></p><p>[python]</p><p># A minimal threading example with an object<br>import threading<br>import time<br><br><br>class MyThread(threading.Thread):<br>&nbsp; &nbsp; def run(self):&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Default called function with mythread.start()<br>&nbsp; &nbsp; &nbsp; &nbsp; print("{} started!".format(self.getName()))&nbsp; &nbsp; &nbsp; &nbsp; # "Thread-x started!"<br>&nbsp; &nbsp; &nbsp; &nbsp; time.sleep(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Pretend to work for a second<br>&nbsp; &nbsp; &nbsp; &nbsp; print("{} finished!".format(self.getName()))&nbsp; &nbsp; &nbsp; # "Thread-x finished!"<br><br>def main():<br>&nbsp; &nbsp; for x in range(4):&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Four times...<br>&nbsp; &nbsp; &nbsp; &nbsp; mythread = MyThread(name = "Thread-{}".format(x))&nbsp; # ...Instantiate a thread and pass a unique ID to it<br>&nbsp; &nbsp; &nbsp; &nbsp; mythread.start()&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # ...Start the thread, run method will be invoked<br>&nbsp; &nbsp; &nbsp; &nbsp; time.sleep(.9)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # ...Wait 0.9 seconds before starting another<br><br>if __name__ == '__main__':<br>&nbsp; &nbsp; main()[/python]</p><p><br></p><p>Not work With Lobo Micropython,&nbsp;I am looking for a solution for _thread..</p><p>[python]
<!--StartFragment-->import _thread<br>import time<!--EndFragment-->&nbsp;</p><p>...[/python]</p><p><br></p><p>
<!--StartFragment-->class MyThread(_thread.Thread):&nbsp; ? :|<!--EndFragment-->

<br></p><p><br></p><p><br></p>

Print this item

  LilyGO TTGO T8 5V power?
Posted by: EvilKitty666 - 02-04-2021, 04:22 PM - Forum: Hardware - No Replies

<p>Hi guys,</p><p>i would like to ask you for help.</p><p>I need to power&nbsp;<b>L</b><b>ilygo TTGO T8 V1.7 ESP32 </b>with&nbsp;5V (step down convertor). Is it possible with 5V Pin?&nbsp;</p><p>We just used USB and 5V pin to power display so im not sure about 5V input or output...</p><p>Best version for us is to use step-down convertor 5V to power display and LilyGO at once.</p><p>&nbsp;I have backup setup with another step down convertor to simulate 4,2V battery and then 5V pin to power display again,but its actually shiping and looks stupid in my eyes...</p><p>thanks!</p><p><br></p><p>pinout:</p><p>https://cdn.tindiemedia.com/images/resize/UklVmED7sdKHsvyvZf7-feFSScU=/p/fit-in/1032x688/filters:fill(fff)/i/56359/products/2019-05-25T07%3A58%3A22.171Z-T81.7.jpg?1606306133<br></p><p><br></p><p>schematics:</p><p>https://github.com/LilyGO/TTGO-T8-ESP32/blob/master/t8_v1.7.1.pdf<br></p>

Print this item

  ESP-32 status/Bluetooth
Posted by: avanti - 01-18-2021, 11:35 PM - Forum: General - Replies (1)

<p style="margin: 0px; padding: 0px; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; color: rgb(51, 51, 51); caret-color: rgb(51, 51, 51); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">I have been a user of &nbsp;the&nbsp;Lobo ESP-32 Micropython fork for quite some time and have implemented several significant projects in it with great success. I have worked around the few serious bugs and find that the advantages of this fork to&nbsp;greatly outweigh&nbsp;the disadvantages of working with a semi-dormant fork. I have been a happy user.</p><p style="margin: 0px; padding: 0px; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; color: rgb(51, 51, 51); caret-color: rgb(51, 51, 51); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br></p><p style="margin: 0px; padding: 0px; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; color: rgb(51, 51, 51); caret-color: rgb(51, 51, 51); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">However, I now have an imminent need for Bluetooth support, and so am faced with a decision point. The current (2018) release contains a BT module, but the release notes say that it is experimental and should not be used. So, I have a decision to make. Should I:<br><br>1) Ignore the warning and lack of documentation and attempt to use the existing BT library?<br>2) Find another Micropython BT package and attempt to import it?<br>3) Abandon this port for another fork?<br><br>I hate the thought of #3, since I like the current one a lot and have a lot invested in it. It is my understanding that there is a newer version that is used for the K210 project. <span style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;">Is there any way I can use this version in an ESP32-only project?<br></span><br>I realize that a new ESP release has been in the works for a while now, but I have run out of time.<br><br>Has anybody found a practical&nbsp;way to use BT with the current library?<br><br>Any information or advice would be appreciated.<br><br>Thanks for any help.<br><br></p><br><p></p>

Print this item

  MaixDuino support
Posted by: len - 01-05-2021, 01:10 AM - Forum: K210, Kendryte RISC-V Dual Core 64bit CPU - No Replies

<p>I noticed the prebuilts for the Maix boards&nbsp;seem to be with the smaller coprocessor not the ESP32. I have the MaixDuino and have ordered a Raspberry Pi hat version that clocks at 600MHz. Although Seeed seems to be backordered on the MaixDuino, it seems to be widely available on AliExpress it is even sale priced right now with a camera and display for about $30 shipped. Mouser also has it for about the same price, but they want $8 shipping too. I can wait as I have one working one and the display replacement from AllExpress has arrived. I ordered a second one as I damaged the display on the first, I will put Lisp on that one. Two ports are displayed when I plug it into my desktop, one for the ESP32 and one for the K210. What a lot of processing power in a small board. Anyway I was hoping not to have to compile a version for this, do you plan on a prebuilt for the MaixDuino? With these K210 boards being so inexpensive, which one do you favor? I will just pick up that.</p><p><br></p><p>I also like Forth from long ago and am playing around with Mecrisp Quintus on some FPGAs and Risc-5 boards, but that is 32 bit or smaller stuff. I noticed you have a branch on the Mecrisp Stellaris. I'm 73 and play with this stuff in an effort to keep the brain working. It isn't as good as it once was, but better than it would be if I didn't tax it a bit.</p><p><br></p><p>You do some amazing stuff.</p><p><br></p><p>Regards, Len</p>

Print this item