Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 10 online users. » 0 Member(s) | 10 Guest(s)
|
Latest Threads |
edtech organizations in i...
Forum: Other
Last Post: shraddhamane
05-30-2022, 08:15 AM
» Replies: 0
» Views: 162
|
INA3221 MicroPython I2C D...
Forum: Hardware
Last Post: M5MPy
09-27-2021, 12:55 PM
» Replies: 6
» Views: 7,028
|
Power Management
Forum: General
Last Post: Arun47
06-19-2021, 04:19 AM
» Replies: 7
» Views: 93,611
|
REPL / telnet
Forum: K210, Kendryte RISC-V Dual Core 64bit CPU
Last Post: lypanov
05-31-2021, 01:51 PM
» Replies: 1
» Views: 2,859
|
Rfcomm Bluetooth examples
Forum: MicroPython
Last Post: dan76
05-12-2021, 04:15 PM
» Replies: 6
» Views: 8,963
|
ST7789V color display pro...
Forum: Hardware
Last Post: maopucheng
04-15-2021, 11:14 AM
» Replies: 0
» Views: 1,780
|
TTGO ESP32 with ST7789V d...
Forum: Hardware
Last Post: maopucheng
04-14-2021, 01:31 PM
» Replies: 6
» Views: 7,215
|
New Font creator online t...
Forum: Announcements and updates
Last Post: LeoLiu
04-14-2021, 07:13 AM
» Replies: 10
» Views: 14,442
|
lobo on pycom wipy networ...
Forum: Issues
Last Post: joblacker@cfl.rr.com
03-31-2021, 03:56 PM
» Replies: 0
» Views: 3,167
|
Problem with GPIO 0 - TTG...
Forum: MicroPython
Last Post: cmosdsnr
03-30-2021, 05:16 PM
» Replies: 1
» Views: 1,987
|
|
|
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&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 write "0x00FFFF", this is red. Why, is it for design? 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>
|
|
|
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: 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>[0;31mE (2433745) [modnetwork]: Error initializing WiFi (4353)[0m<br><br></p><p>what am I doing wrong?</p>
|
|
|
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: </p><p><br></p><p>Error opening source file '/_#!#_spiffs/<file_name>.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>
|
|
|
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>
|
|
|
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> def run(self): # Default called function with mythread.start()<br> print("{} started!".format(self.getName())) # "Thread-x started!"<br> time.sleep(1) # Pretend to work for a second<br> print("{} finished!".format(self.getName())) # "Thread-x finished!"<br><br>def main():<br> for x in range(4): # Four times...<br> mythread = MyThread(name = "Thread-{}".format(x)) # ...Instantiate a thread and pass a unique ID to it<br> mythread.start() # ...Start the thread, run method will be invoked<br> time.sleep(.9) # ...Wait 0.9 seconds before starting another<br><br>if __name__ == '__main__':<br> main()[/python]</p><p><br></p><p>Not work With Lobo Micropython, I am looking for a solution for _thread..</p><p>[python]
<!--StartFragment-->import _thread<br>import time<!--EndFragment--> </p><p>...[/python]</p><p><br></p><p>
<!--StartFragment-->class MyThread(_thread.Thread): ? :|<!--EndFragment-->
<br></p><p><br></p><p><br></p>
|
|
|
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 <b>L</b><b>ilygo TTGO T8 V1.7 ESP32 </b>with 5V (step down convertor). Is it possible with 5V Pin? </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> 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>
|
|
|
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 the 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 greatly outweigh 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 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>
|
|
|
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 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>
|
|
|
|