Search found 37 matches

by yllumi
Fri Aug 21, 2015 10:22 am
Forum: General Discussion and Questions
Topic: Send Command from Bluetooth Serial Controller Android App
Replies: 1
Views: 3282

Send Command from Bluetooth Serial Controller Android App

I have successfuly connect my HC-05 bluetooth module to pyboard via UART(6). I also have tried to connect and send serial data from computer. Now I currently trying to receive data from Bluetooth Serial Controller Android app to pyboard. The app can connect to bluetooth module and I try to send char...
by yllumi
Wed May 27, 2015 7:33 am
Forum: MicroPython pyboard
Topic: PyBoard and stepper motor
Replies: 3
Views: 6787

Re: PyBoard and stepper motor

I am using ULD2003 and trying the code from @riklaunim. It works but the rotation is too slow, even after I change the delay to 2ms. How can I raise the speed?
by yllumi
Mon May 25, 2015 7:22 am
Forum: Programs, Libraries and Tools
Topic: Micropython Web IDE
Replies: 6
Views: 11187

Re: Micropython Web IDE

Wow, nice information. I first thought that the only way we can connect the board from web is using Wifi.
I will try it to this project. Thanks, Dave! :D
by yllumi
Tue May 12, 2015 3:34 am
Forum: Drivers for External Components
Topic: Anyone working on HD44780 library?
Replies: 28
Views: 40460

Re: Anyone working on HD44780 library?

Smrtokvitek wrote:SDA is data and SCL is clock so you should connect data to data and clock to clock ;)
Ok, I get it now. Thanks :D
by yllumi
Mon May 11, 2015 12:20 pm
Forum: Drivers for External Components
Topic: Anyone working on HD44780 library?
Replies: 28
Views: 40460

Re: Anyone working on HD44780 library?

I still rather confuse of what pin connect to what pin on pyboard. The pin sequence on i2c lcd board (from top to bottom) is GND, VCC, SDA, SCL. On pyboard, SDA is X10 and SCL is X9. Do we need to cross SDA-SCL from lcd to pyboard, or SDA to SDA and SCL to SCL? Because I see in UART that TX go to RX...
by yllumi
Mon May 04, 2015 8:35 am
Forum: Other Boards
Topic: Micropython on Any Arduino Board?
Replies: 10
Views: 69064

Re: Micropython on Any Arduino Board?

Ah, I found this in micropython wiki https://github.com/micropython/micropyt ... rduino-Due :D
But porting hasn't yet been done for this board..
by yllumi
Mon May 04, 2015 8:30 am
Forum: Other Boards
Topic: Micropython on Any Arduino Board?
Replies: 10
Views: 69064

Micropython on Any Arduino Board?

Is there any way to run micropython on Arduino board? Which Arduino Board that can run Micropython and how to do it?
by yllumi
Sun May 03, 2015 6:39 am
Forum: General Discussion and Questions
Topic: Write file via Serial / REPL
Replies: 6
Views: 8956

Re: Write file via Serial / REPL

Ah, one more thing. I tried to add pyb.usb_mode('VCP') and then write the code to main.py via REPL like above. But when I go to safe mode to open mass storage, the file isn't in utf8 format or in other words, the file can't be opened. http://i.imgur.com/kIAOUMP.png How we set the file to UTF-8 forma...
by yllumi
Sun May 03, 2015 6:28 am
Forum: General Discussion and Questions
Topic: Write file via Serial / REPL
Replies: 6
Views: 8956

Re: Write file via Serial / REPL

Thank you very much, as always :D
by yllumi
Sun May 03, 2015 5:50 am
Forum: General Discussion and Questions
Topic: Write file via Serial / REPL
Replies: 6
Views: 8956

Re: Write file via Serial / REPL

I run this code on REPL: >>> import os >>> f = open('/flash/main.py', 'w') >>> f.write('while True:\n') 12 >>> f.write(' pyb.LED(3).toggle()\n') 22 >>> f.write(' pyb.delay(1000)\n') 18 >>> f.close() >>> os.sync() and the code run successfuly after I press Ctrl + D. But if I check the main.py via mas...