Search found 20 matches

by Chemist
Sun Nov 15, 2015 8:03 pm
Forum: General Discussion and Questions
Topic: How to handle data transfer from pyboard to PC
Replies: 15
Views: 18759

Re: How to handle data transfer from pyboard to PC

I also sometimes get this error: OSError: [Errno 16] Device or resource busy: '/dev/pyboard' I don't know why I get it, maybe as mentioned dhylands, this happens because I access the pyboard from two terminals for plotting data via matplotlib and bokeh(my custom web interface). In most cases it work...
by Chemist
Sun Nov 15, 2015 7:45 pm
Forum: General Discussion and Questions
Topic: Pyboard and linear ccd sensor(TSL 1410R)
Replies: 17
Views: 20422

Re: Pyboard and linear ccd sensor(TSL 1410R)

Dear Pythoncoder and Bryan,

Thank you very much for you support. I hope that this version (with linear ccd sensor) will give much better resolution than my previous attempt. If I make it working as I intended, maybe I will commercialize it :D .

Best,
Vitali
by Chemist
Fri Nov 13, 2015 7:18 pm
Forum: General Discussion and Questions
Topic: Pyboard and linear ccd sensor(TSL 1410R)
Replies: 17
Views: 20422

Re: Pyboard and linear ccd sensor(TSL 1410R)

Dear @pythoncoder, Thank you very much for examining and correcting my code and providing a clear explanation of my mistakes. Data, gathered by the updated code, you can see in the attached files: 1. Sensor was covered by a box. 2. A half-covered sensor. The shape of the line (covered sensor) this t...
by Chemist
Fri Nov 13, 2015 4:55 am
Forum: General Discussion and Questions
Topic: Pyboard and linear ccd sensor(TSL 1410R)
Replies: 17
Views: 20422

Pyboard and linear ccd sensor(TSL 1410R)

Hello everybody, For my detector I was advised by blmorris to use one of the AMS (formerly TAOS) linear sensors. I decided to go with TSL 1410R ( http://ams.com/eng/Products/Light-Sensors/Linear-Array-Sensors/TSL1410R ). Unfortunately, I couldn't find any information how to read data from this senso...
by Chemist
Wed Nov 11, 2015 4:33 pm
Forum: General Discussion and Questions
Topic: How to handle data transfer from pyboard to PC
Replies: 15
Views: 18759

Re: How to handle data transfer from pyboard to PC

Dear dhylands,

Thank you so much for your help! Now it works (at least with python 3) !

Best,
Vitali
by Chemist
Wed Nov 11, 2015 1:47 pm
Forum: General Discussion and Questions
Topic: How to handle data transfer from pyboard to PC
Replies: 15
Views: 18759

Re: How to handle data transfer from pyboard to PC

Dear pythoncoder, Thank you very much for your suggestion but unfortunately I get a different outcome. pb_get_data.py: def get_data(): data= [i for i in range(10)] return data print(get_data()) pc_read_data.py: import pyboard a = pybaord.execfile('pb_get_data.py') print(a) When I run in the terminal...
by Chemist
Tue Nov 10, 2015 8:17 pm
Forum: General Discussion and Questions
Topic: How to handle data transfer from pyboard to PC
Replies: 15
Views: 18759

Re: How to handle data transfer from pyboard to PC

Dear pythoncoder and dhylands, Thank you very much for your replies. I am still having problems with transferring data from pyboard to PC. Here is a simplified version of my pb_get_data.py: def get_data(): data= [i for i in range(10)] return data get_data() This is my pc_read_data.py which is run on...
by Chemist
Mon Nov 09, 2015 8:14 pm
Forum: General Discussion and Questions
Topic: How to handle data transfer from pyboard to PC
Replies: 15
Views: 18759

How to handle data transfer from pyboard to PC

Hello All, I am going to build a web interface to interact with my sensor and a problem I stumbled upon is how to transfer data from the pyboard to PC. My sensor generates about 1300 values that are stored in a list so I am wondering if there is a way how to pass the whole list from the pyboard to P...
by Chemist
Tue Oct 27, 2015 12:41 am
Forum: General Discussion and Questions
Topic: MicroPython and linear ccd sensor
Replies: 4
Views: 6540

Re: MicroPython and linear ccd sensor

Dear Bryan, Thank you very much for taking time and looking through the documentations of the linear ccd sensors. Also, I would like to thank you for pointing out to less sophisticated sensors, since I still have to figure out how to connect and read data from the sensor, the simpler - the better. I...
by Chemist
Sat Oct 24, 2015 7:54 pm
Forum: General Discussion and Questions
Topic: MicroPython and linear ccd sensor
Replies: 4
Views: 6540

MicroPython and linear ccd sensor

Hello, I hope you all are doing well today. I made a detector using Pyboard and some sensors but unfortunately the resolution that my detector generates is quite low, so I decided to improve that by using a more complex sensor. I am wondering if it is possible to connect and read the data from a lin...