Search found 11 matches

by kbrenner
Thu Aug 06, 2020 5:24 am
Forum: Pyboard D-series
Topic: Trouble with uart.read()
Replies: 6
Views: 549

Re: Trouble with uart.read()

Hi Dhylands, thanks for the information. We are using protocol 2.0 and following the Dynamixel instructions on their site as well. I have tried creating individual byte arrays with their own individual CRC's then adding them together for the uart.write() as such: Position Reading Command for Motor 1...
by kbrenner
Wed Aug 05, 2020 2:49 pm
Forum: Pyboard D-series
Topic: Trouble with uart.read()
Replies: 6
Views: 549

Trouble with uart.read()

Hi, I am trying to run consecutive uart.write calls in a row to a motor and return one uart.read that contains multiple messages in it. Specifically, I am using the Pyboard D-series SF6W. The motors that I am writing to are Dynamixel XM430-W210-R motors (https://emanual.robotis.com/docs/en/dxl/x/xm4...
by kbrenner
Thu Jul 09, 2020 4:28 pm
Forum: Pyboard D-series
Topic: SD Card not registering on Pyboard SF6W
Replies: 1
Views: 190

SD Card not registering on Pyboard SF6W

Hi, I have a Lexar 32GB SD card attached to the SF6W. I have several SF6W's, and it has worked on others, but for this device, it won't register it. I have confirmed that sys.path does not show '/sd', and upon trying to access '/sd', I recieve OSError: [Error 19] ENODEV. Has anyone else experienced ...
by kbrenner
Tue Jun 30, 2020 7:15 pm
Forum: General Discussion and Questions
Topic: Writing exception to file
Replies: 2
Views: 159

Re: Writing exception to file

Thanks dhylands, that worked!
by kbrenner
Tue Jun 30, 2020 5:31 pm
Forum: General Discussion and Questions
Topic: Writing exception to file
Replies: 2
Views: 159

Writing exception to file

Hi, I have one big while loop in my script (that calls other modules), and I want to throw one big try/except around that while loop. I'd like to catch the exception and write the error along with the location of the error to file on the Pyboard (probably in some sort of .txt file in flash or on sd)...
by kbrenner
Mon Jun 08, 2020 3:28 pm
Forum: Pyboard D-series
Topic: First experiences (firmware upgrade & hardware design issue/mitigation)
Replies: 7
Views: 734

Re: First experiences (firmware upgrade & hardware design issue/mitigation)

Jurjen, this post was extremely helpful. I would love to see this level of simplicity/detail for simple tasks like firmware updates for those of us who are not as familiar with the environment coming from the MicroPython team (if possible). First poster here, thanks for developing the hardware and ...
by kbrenner
Tue Feb 18, 2020 5:43 pm
Forum: Pyboard D-series
Topic: Which PYBD pins are GPIO?
Replies: 2
Views: 453

Which PYBD pins are GPIO?

I cannot find this information at https://pybd.io/hw/pybd_sfxw.html#pins-and-gpio, so I was wondering if someone knew which pins were GPIO on the Pyboard D-series? I am designing a shield for my PYBD-SF6W and need to ensure that I do not route a path to a pin that is not GPIO. Thanks!
by kbrenner
Mon Feb 17, 2020 2:52 pm
Forum: Pyboard D-series
Topic: PYBD SF6W rebooting several times during operation
Replies: 1
Views: 368

PYBD SF6W rebooting several times during operation

I am using the SF6W model, and I am running a boot.py, which looks like:

import machine
import pyb
pyb.main('main.py')

However, after the 'main.py' script finishes running, the Pyboard reboots and runs 'main.py' again. Can anyone give an insight as to why this might be happening? Thanks.
by kbrenner
Fri Jan 24, 2020 9:57 pm
Forum: Pyboard D-series
Topic: Powering from both VUSB and microUSB
Replies: 3
Views: 576

Powering from both VUSB and microUSB

What will happen if you have a 5V power supply connected to the VUSB port while the microUSB port is plugged into a computer? Will the Pyboard simply choose a power supply to use or will there be complications?
by kbrenner
Tue Jan 21, 2020 7:12 pm
Forum: General Discussion and Questions
Topic: uart.read() error with PYBD-SF6W
Replies: 6
Views: 534

Re: uart.read() error with PYBD-SF6W

By far the best way to debug this would be to put a scope or logic analyser on the UART lines. A Saleae analyser (or Chinese clone) will show exactly what's going on. A few thoughts on tests you might perform. The baudrate of 1000000 is not a standard value. I would check whether the UART is actual...