Re: [beagleboard] Re: BeagleBone Black RTC?

2015-12-03 Thread Yiling Cao
in my custom board, i used an external i2c RTC chip, proven to be reliable
and inexpensive.

On Fri, Dec 4, 2015 at 6:17 AM, Robert Nelson 
wrote:

>
>
> On Thu, Dec 3, 2015 at 4:06 PM, Fidel Alejandro Rodriguez <
> alek@gmail.com> wrote:
>
>> did you manage to implement RTC whith BBB regards
>>
>
> This is one way:
>
> http://elinux.org/CircuitCo:RTC_Cape
>
> Otherwise grab any i2c/rtc adapter board off sparkfun, (3.3v) and wire to
> the i2c..
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Private message regarding: [beagleboard] BBB Data Aggregation Unit using external ADC

2015-12-03 Thread John Syne
Hi Chelsea,

Here are some reference I have found helpful:

http://www.analog.com/library/analogdialogue/archives/39-05/op_amp_applications_handbook.html
 

http://www.analog.com/library/analogDialogue/archives/39-06/data_conversion_handbook.html
 


Regards,
John




> On Dec 3, 2015, at 5:57 PM, Chelsea Orefice  wrote:
> 
> Hi John, 
> 
> Just wanted to say thank you for really helping me with this. It has been a 
> struggle for me and my team to get help from different resources at school as 
> well as our liaisons where we are getting our design requirements from. (This 
> is our senior engineering project.) 
> 
> I am having still a little difficulty in understanding how the circuitry I 
> shared with you may give me a single input instead of differential that the 
> ADC requires.I attached the actual design of the system, so if you could help 
> me understand how it won't work it'd be much appreciated.
> 
> Also, may you tell me your background in relation to all of this? You are 
> very knowledgeable in this area, and when I relay some of this information to 
> my team I would like to share from whom I received this information from. 
> 
> 
> Sincerely,
> Chelsea
> 
> On Thu, Dec 3, 2015 at 7:01 PM, John Syne  > wrote:
> Hi Chelsea,
> 
> I have cc beagleboard because someone else might learn from this discussion. 
> Looking at the link you provided, it won’t work because ADS1278 requires a 
> differential input. Look at page 39 for circuits that will work for you.
> 
> Regards,
> John
> 
> 
> 
> 
>> On Dec 3, 2015, at 3:52 PM, Chelsea Orefice > > wrote:
>> 
>> My apologies. Please let me know if this link works. (You will need to just 
>> copy and paste in search bar). If that doesn't work I will send it as an 
>> attachment. Will also look at the diagram as well.
>> 
>> http://cnx.org/resou 
>> rces/72628d36f0c24bc80ff94e5c0bf6df2b27a86751/opamp4.png
>> 
>> Thanks again,
>> Chelsea
>> 
>> On Thursday, December 3, 2015 at 6:46:49 PM UTC-5, john3909 wrote:
>> Look at page 39 for a suitable input circuit. 
>> 
>> Regards,
>> John
>> 
>> 
>> 
>> 
>>> On Dec 3, 2015, at 3:03 PM, Chelsea Orefice > wrote:
>>> 
>>> Hi John,
>>> 
>>> Thanks for getting back to me. I was actually looking at that same ADC 
>>> converter as you posted in your reply. Just looking for some clarification 
>>> on a few things. What type of error would a simple resistor divider 
>>> introduce into the system? I am currently using a cascaded inverting op amp 
>>> system. Not really sure if this will scale the input voltage to a level 
>>> that is compatible with my ADC.
>>> 
>>> The circuit diagram looks like this: 
>>> 
>>> 
>>> Looking forward to your reply,
>>> Chels
>>> 
>>> On Thursday, December 3, 2015 at 5:07:41 PM UTC-5, Chelsea Orefice wrote:
>>> Hi everyone,
>>> 
>>> I am new to the world of using MCUs and am looking for some assistance on a 
>>> project that I am currently working on. To sum things up quickly, I am 
>>> building a data aggregation unit that can convert analog voltage readings 
>>> to digital values that is to be stored on a USB or SD card. The DAU will 
>>> collect 3 types of signals, a buffer signal, clipped signal, and a signal 
>>> passed through a LPF. In the end, the data should be stored as either a 
>>> MatLab file or .xml file. However, I am facing a few road blocks relating 
>>> to my design. 
>>> 
>>> 1.) I need to use a 24 bit ADC for high resolution purposes based on design 
>>> requirements that were just given to me as I will be collecting data from 
>>> .1mV to 50V and it has to have a high sample speed rate. Has anyone 
>>> connected an external ADC to the BBB? If so, what was the brand of your 
>>> external ADC? How did you connect the ADC to the BBB? (It'd be greatly 
>>> appreciated to be able to see a design).
>>> 
>>> 2.) If you have had a similar project to this, was wondering how you went 
>>> about it. Any advice would be greatly appreciated.
>>> 
>>> 
>>> As I said before, all of this is very new to me. So thank you for taking 
>>> the time to help me out. 
>>> 
>>> Chelsea
>>> 
>>> 
>>> 
>>> -- 
>>> For more options, visit http://beagleboard.org/discuss 
>>> 
>>> --- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to beagleboard...@googlegroups.com <>.
>>> For more options, visit https://groups.google.com/d/optout 
>>> .
>> 
> 
> 
> 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message 

Re: [beagleboard] Set GPIO in a precisely time using usleep()

2015-12-03 Thread William Hermans
I will say that it is very likely that if you switch to a PREEMPT RT
kernel, that determinism down to 1ms should be easily achievable. So long
as you do not have too much in the way of background processes running at
the same time.

On Thu, Dec 3, 2015 at 7:10 AM, William Hermans  wrote:

> *The GPIO is high for about 1.5 Milliseconds. The usleep()-function is not
>> linear, so it did not work with any other value e.g. usleep(500). Sometimes
>> I decrease the value by one (1 microsecond) but the time decrease by 100
>> microseconds.*
>> *Has anybody an idea what could be wrong? *
>>
>
> First of all, usleep() is not your problem. The problem most likely is
> related to kernel latency. You could improve this by using a PREEMPT RT
> kernel, but that will only at best give you 95% determinism.
>
> Second, since you have not made your code public, we can not tell if
> servo.setValue() is well written or not. In the context of determinism. I
> will say however if you're not using mmap() with /dev/mem/ on the GPIO
> registers directly. Your code will be "slow", and not very deterministic.
>
> Lastly, if you need absolute determinism, you had better start using the
> PRUs . . .
>
>
> On Thu, Dec 3, 2015 at 4:30 AM,  wrote:
>
>> Hi,
>>
>> I am trying to control a servo with my BeagleBoneBlack using Angstrom. I
>> must have a high-level on a GPIO for 1 millisecond. I use the following
>> simple code:
>>
>> while(1){
>> servo.setValue(BlackLib::low);
>> usleep(19000);
>> servo.setValue(BlackLib::high);
>> usleep(1000);
>> }
>>
>> The GPIO is high for about 1.5 Milliseconds. The usleep()-function is not
>> linear, so it did not work with any other value e.g. usleep(500). Sometimes
>> I decrease the value by one (1 microsecond) but the time decrease by 100
>> microseconds.
>> Has anybody an idea what could be wrong?
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Set GPIO in a precisely time using usleep()

2015-12-03 Thread andreas . bunte
Hi,

I am trying to control a servo with my BeagleBoneBlack using Angstrom. I 
must have a high-level on a GPIO for 1 millisecond. I use the following 
simple code:

while(1){
servo.setValue(BlackLib::low);
usleep(19000);
servo.setValue(BlackLib::high);
usleep(1000);
}

The GPIO is high for about 1.5 Milliseconds. The usleep()-function is not 
linear, so it did not work with any other value e.g. usleep(500). Sometimes 
I decrease the value by one (1 microsecond) but the time decrease by 100 
microseconds.
Has anybody an idea what could be wrong? 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] AM335x Beaglebone Black Python Programming Scripts

2015-12-03 Thread chris . yorkey


Team,

Our customer is trying to utilize the Beaglebone Black, running Python 
scripts, to program the SimpleLink CC3200 
.

Can you answer a question at the bottom of the attached reference document? 
(“We could not find documentation on how to run python scripts on 
beaglebone-black (Linux) like it has mentioned for Windows.  It would be 
helpful if we can get this information.”)  In other words, what is the 
command line to run the script on BBB (like “ImageProgramming.exe -p 2 -i 
hib.bin” on Windows)?

Regards,

Chris

-


Questions regarding Embedded Programming 

1.  We are able to program the evaluation board by connecting it to PC 
via USB. Results are as follows. 







 



 

2.  But when we tried to program the evaluation board by using RS232 to 
TTL converter, we were unsuccessful, screen shot of Command Prompt and Snap 
shot of the setup are as below. 







 

 

3.  We could not find documentation on how to run python scripts on 
beaglebone-black (Linux) like it has mentioned for Windows. It would be 
helpful if we can get those information. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Set GPIO in a precisely time using usleep()

2015-12-03 Thread William Hermans
>
> *The GPIO is high for about 1.5 Milliseconds. The usleep()-function is not
> linear, so it did not work with any other value e.g. usleep(500). Sometimes
> I decrease the value by one (1 microsecond) but the time decrease by 100
> microseconds.*
> *Has anybody an idea what could be wrong? *
>

First of all, usleep() is not your problem. The problem most likely is
related to kernel latency. You could improve this by using a PREEMPT RT
kernel, but that will only at best give you 95% determinism.

Second, since you have not made your code public, we can not tell if
servo.setValue() is well written or not. In the context of determinism. I
will say however if you're not using mmap() with /dev/mem/ on the GPIO
registers directly. Your code will be "slow", and not very deterministic.

Lastly, if you need absolute determinism, you had better start using the
PRUs . . .


On Thu, Dec 3, 2015 at 4:30 AM,  wrote:

> Hi,
>
> I am trying to control a servo with my BeagleBoneBlack using Angstrom. I
> must have a high-level on a GPIO for 1 millisecond. I use the following
> simple code:
>
> while(1){
> servo.setValue(BlackLib::low);
> usleep(19000);
> servo.setValue(BlackLib::high);
> usleep(1000);
> }
>
> The GPIO is high for about 1.5 Milliseconds. The usleep()-function is not
> linear, so it did not work with any other value e.g. usleep(500). Sometimes
> I decrease the value by one (1 microsecond) but the time decrease by 100
> microseconds.
> Has anybody an idea what could be wrong?
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Bonescript analogRead problem

2015-12-03 Thread fdstanford
I've been having problems when doing a lot of bonescript analogRead calls 
successively. For example this code loops through about 7 times and then 
crashes: 

var b = require('bonescript');
var count=0;
while (true){
console.log(count++);
a1=b.analogRead('P9_36');
a2=b.analogRead('P9_33');
a3=b.analogRead('P9_35');
a4=b.analogRead('P9_37');
}

*This is the program output, followed by the error message: *

0
1
2
3
4
5
6


fs.js:481
  var r = binding.read(fd, buffer, offset, length, position);
  ^
Error: EAGAIN, resource temporarily unavailable
at Object.fs.readSync (fs.js:481:19)
at Object.fs.readFileSync (fs.js:315:28)
at Object.exports.readAIN 
(/usr/local/lib/node_modules/bonescript/src/hw_capemgr.js:351:30)
at Object.f.analogRead 
(/usr/local/lib/node_modules/bonescript/src/index.js:266:19)
at Object. (/var/lib/cloud9/analogread2.js:8:10)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)

*Also tried this:*
I tried doing a function callback and then assigning the value within the 
callback. This code, for example: 
var b = require('bonescript');
var a1=0;
while (true){
 b.analogRead('P9_36',assignValue);
 function assignValue(x){a1=x.value;}
 console.log(a1);
}

But... it doesn't work. The output is just:
0
0
0
0
...

ad nauseum. 

I have checked the x.value directly and it is a non zero number, but for 
some reason the a1 doesn't get assigned the x.value number even though a1 
is global.

Any suggestions? 



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] ppp establish connection on boot debian beaglebone black

2015-12-03 Thread Matt Maher Peterson
Solved the issue.

Removed updetatch from the ppp/peers/provider file.

>From the pppd daemon maual:

*updetach* With this option, pppd will detach from its controlling terminal
once it has successfully established the ppp connection (to the point where
the first network control protocol, usually the IP control protocol, has
come up).

Can anyone explain why this fixed my problem :)?  Solved it but not 100%
sure why this worked.


Matt Maher Peterson
APANA
w: 360.746.2276x401
c: 360.393.5549

On Wed, Dec 2, 2015 at 2:17 PM, Matt Maher Peterson <
matt.maherpeter...@hydro-care.com> wrote:

> Hi,
>
> I am using a Skywire LE910-SVG cellular modem
> with a BBB.
>
> I have writting chatscripts and PPP/peers provider scripts that are
> working well.  If I let the BBB boot up normally I can ssh to the device
> and 'pon verizon' to establish a ppp connection manully.  Everything works
> great.
>
> The issue I am trying to resolve is automating this on boot.  What is the
> best way to do this?
>
> Tried adding it to /etc/network/interfaces with:
>
> auto verizon
> iface verizon inet ppp0
>   provider verizon
>
> Does not seam to do anything.
>
> Have also tried to running a simple bash script to do this after the BBB
> boots
>
> #!/bin/bash
> pon verizon
>
> When I execute the script I can see everything connect but I it
> immediately terminates the connection as I can see in the output with
> Hangup (SIGHUP)
>
>  pppd[1846]: PAP authentication succeeded
>  pppd[1846]: Could not determine remote IP address: defaulting to
> 10.64.64.64
>  pppd[1846]: local  IP address 166.154.48.36
>  pppd[1846]: remote IP address 10.64.64.64
>  pppd[1846]: primary   DNS address 198.224.173.135
>  pppd[1846]: secondary DNS address 198.224.174.135
>  pppd[1860]: *Hangup (SIGHUP)*
>  pppd[1860]: Modem hangup
>  pppd[1860]: Connect time 0.0 minutes.
>  pppd[1860]: Sent 0 bytes, received 0 bytes.
>  pppd[1860]: Connection terminated.
>
>
> Any solutions out there?
>
> Kind Regards,
>
> Matt
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/w5xpEcd7yOk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: ppp establish connection on boot debian beaglebone black

2015-12-03 Thread Rob van der Putten

Hi there


Matt Maher Peterson wrote:


I am using aSkywire LE910-SVG cellular modem
with a BBB.

I have writting chatscripts and PPP/peers provider scripts that are
working well.  If I let the BBB boot up normally I can ssh to the device
and 'pon verizon' to establish a ppp connection manully.  Everything
works great.

The issue I am trying to resolve is automating this on boot.  What is
the best way to do this?

Tried adding it to /etc/network/interfaces with:

auto verizon
iface verizon inet ppp0
   provider verizon

Does not seam to do anything.


This should work, but is not a very good idea.
Use: up ( pon provider ) &


Have also tried to running a simple bash script to do this after the BBB
boots

#!/bin/bash
pon verizon

When I execute the script I can see everything connect but I it
immediately terminates the connection as I can see in the output with
Hangup (SIGHUP)

  pppd[1846]: PAP authentication succeeded
  pppd[1846]: Could not determine remote IP address: defaulting to 10.64.64.64


Weird.


  pppd[1846]: local  IP address 166.154.48.36
  pppd[1846]: remote IP address 10.64.64.64
  pppd[1846]: primary   DNS address 198.224.173.135
  pppd[1846]: secondary DNS address 198.224.174.135
  pppd[1860]: *Hangup (SIGHUP)*
  pppd[1860]: Modem hangup


How long does this take?


  pppd[1860]: Connect time 0.0 minutes.
  pppd[1860]: Sent 0 bytes, received 0 bytes.
  pppd[1860]: Connection terminated.


Any solutions out there?


Try debug.
Does the modem want flow control or modem control lines?


Regards,
Rob

--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: HDMI 1024x600 resolution

2015-12-03 Thread Laurent d'Havé
I solved this with the line

video=HDMI-A-1:1024x600M@60

I'm using the new yocto 2015.12 and kernel4 since . Maybe there was a bug 
with earlier versions.



On Monday, January 12, 2015 at 1:46:10 PM UTC+1, Laurent d'Havé wrote:
>
> I've hooked an external 10" HDMI monitor. Native resolution is 1024x600.
> I'm unable to force the BBB to that resolution.
>
> There exists a Touchscreen cape that runs that exact resolution, so i'm 
> wondering how they do it ?
>
>
> Please advice/help. Thank you
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] ssh keygen on boot

2015-12-03 Thread Josh Datko
Ok, my conclusion is that we have the same problem then as the RPi which
is the state of the RNG is "poor" prior to generating ssh keys.

Pull request, with links to various references, is here:
https://github.com/RobertCNelson/omap-image-builder/pull/65

I ran the dd command (with sudo) on a BBB and verified that yes, reading
from the HWRNG does work (wasn't that surprised...) but I didn't try
running that script / repo on a BBB.

Josh


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] 3.8 rt9 kernel sometimes freezes during userlevel booting and eMMC led is on still while cpu led off

2015-12-03 Thread shadowsheep
How could I debug this situation?
Any Ideas?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Out yet?

2015-12-03 Thread Jason Kridner
Please reply to
https://groups.google.com/forum/#!topic/beagleboard-x15/mqAF6V5fVWs
and request to join that group. Your answer below isn't really
sufficient to convince me that your work will be reusable in open
source software projects. APIs, potentially like
https://www.khronos.org/openglsc/, give people something to work with.
If you illustrate you have some expertise and are going to make sure
to publish source code that will really be useful to the community,
I'll send you the form to request a board donation.

On Wed, Dec 2, 2015 at 3:12 PM, Xiang Gao  wrote:
> Hi Jason,
>
> I am a Master student in electrical engineering in Cal State Long Beach. My
> graduate project is camera detection safety device. For example preventing
> car collision. Last year, I have tried beagleboard xm, which is a great
> board for this purpose. However, it runs slowly even at low resolution 15
> fps at 640*480. My professor was not satisfied with it. I need a new
> solution, the X15, which is a beast comparing to xm. No need to point out
> the improvement on x15, almost everything. I can't wait to see it gives me
> high resolution at high fps result. My goal is 1240*1024 at 24 or 30 fps, or
> FHD if possible.  I am currently optimizing my algorithm on XM, but
> honestly, there is not much potential to jump up. Also I have tried BBB as
> alternative, but no luck as I expected. There are some other board available
> in the market, which are either too expensive or much less resources,
> Beagleboard x15 is the only one that suits me my need.
>
> My project due late Feb 2016, I really dont have much time to wait for
> official release. You are my last chance to get my project done in time.
>
> Thank you for your help.
>
> Peter
>
> On Wed, Dec 2, 2015 at 11:03 AM, Jason Kridner  wrote:
>>
>> I'm around here. Not much to add except those are all bogus purchase
>> links. On the official product page (http://beagleboard.org/x15), we
>> have nothing but a "register your interest" link right now. Once the
>> board reaches production and I have an official list of distributors
>> who will have boards in stock in the first production run, I'll update
>> the page with a drop-down list of distributors and send out a
>> notification e-mail to all those who have registered interest.
>>
>> For serious contributors to open source projects, I've got a small
>> stash of boards I've been handing out. It requires that you actually
>> engage the lists and make public commitments to what you are going to
>> contribute. For those paying attention, it shouldn't be that hard.
>> "I'll test it out" isn't a significant contribution.
>>
>> On Wed, Dec 2, 2015 at 1:53 PM, Gerald Coley 
>> wrote:
>> > I suggest that you contact Jason Kridner. He might be able to help.
>> >
>> > Gerald
>> >
>> >
>> > On Wed, Dec 2, 2015 at 12:31 PM,  wrote:
>> >>
>> >> I have tried order from both of those places, both ended up telling me
>> >> not
>> >> in stock, and canceled my order. They both told me 12 week lead time
>> >> with is
>> >> same as everywhere else. My Master degree project has been highly
>> >> delayed
>> >> due to this, I dont even know how to finish my project in time, before
>> >> next
>> >> feb
>> >>
>> >> On Sunday, November 29, 2015 at 9:05:03 AM UTC-8, Graham wrote:
>> >>>
>> >>> I found another one:
>> >>>
>> >>> http://www.nextwarehouse.com/item/?2221755_g10e
>> >>>
>> >>> Claims they have one in stock.
>> >>>
>> >>> I am sure they will say they have just sold it to someone else if you
>> >>> order it, and your waiting time for the next delivery is 8 weeks.
>> >>> Except that they will keep forgetting to take that one available off
>> >>> the
>> >>> website.
>> >>>
>> >>> I had Element 14 do that to me during one of the BBB shortages.
>> >>> I initially thought it was an honest mistake, but after a few weeks of
>> >>> that one unit in stock still being advertised for sale, I wrote to
>> >>> them
>> >>> telling them what I thought of their marketing practices.
>> >>> They wrote back apologizing, and pretty much admitting that is what
>> >>> had
>> >>> happened, that it was some kind of administrative error, and was not
>> >>> intentional, etc., etc.
>> >>> But they still did not take that one non-existant unit off their
>> >>> webpage
>> >>> for several more weeks.
>> >>>
>> >>> I don't buy from them anymore, either.
>> >>>
>> >>> I guess the good news, is that it means a lot of people are interested
>> >>> in
>> >>> the X-15, and it will be a success.
>> >>>
>> >>> --- Graham
>> >>>
>> >>> ==
>> >>>
>> >>>
>> >>>
>> >>> On Sun, Nov 29, 2015 at 10:19 AM, David Culp  wrote:
>> 
>>  Here is one place:
>> 
>>  http://www.neutronusa.com/prod.cfm/2368628/glb?gclid=CJXhrIOEtskCFQaJaQod5iII_A
>> 
>>  i have never heard of the place before.  I saw at least one other
>>  place
>>  claiming to have boards in stock 

[beagleboard] Re: Windows 7 (64bit) USB issue, BeagleBoneBlack shows up under "Other devices"

2015-12-03 Thread bglazierjr
Hi Steve,

I am having this problem and I was hoping you could clarify on what you 
said. You rebuilt the g_multi.ko and copied to the BBB, what exactly is 
involved in doing that? 
Could you recommend a resource that will provide instructions? I will 
continue to look as I research this myself.

Thanks,
Bruce

On Thursday, January 22, 2015 at 5:49:57 AM UTC-5, Steve Osselton wrote:
>
> I had a problem using the latest TI kernel and the windows USB/ethernet 
> driver. Seemed to be some issue with the
> windows driver expecting RNDIS where the kernel USB gadget support was 
> configured to support both CDC ECM and
> RNDIS by default. Changing the USB gadget support to just support RNDIS 
> solved the problem (usb/ethernet worked
> with both Linux and Windows). In fact just copied in a rebuilt g_multi.ko 
> and rebooted to fix.
>
> Cheers Steve.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Windows 7 (64bit) USB issue, BeagleBoneBlack shows up under "Other devices"

2015-12-03 Thread Robert Nelson
On Thu, Dec 3, 2015 at 2:56 PM,  wrote:

> Hi Steve,
>
> I am having this problem and I was hoping you could clarify on what you
> said. You rebuilt the g_multi.ko and copied to the BBB, what exactly is
> involved in doing that?
> Could you recommend a resource that will provide instructions? I will
> continue to look as I research this myself.
>

Hi Bruce,

This should be fixed in all current images..

What base image are you currently using? (cat /etc/dogtag) and what kernel
(uname -r)

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBone Black RTC?

2015-12-03 Thread Fidel Alejandro Rodriguez
did you manage to implement RTC whith BBB regards

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBB Data Aggregation Unit using external ADC

2015-12-03 Thread John Syne
To start with, the ADC that will meet your requirements:

http://www.ti.com/product/ads1278 

This is a 24 bit ADC sampling at 144kHz. 

To sample 50V, you will need a signal conditioning front end that will scale 
your input voltage to a level compatible with your ADC. A simple resistor 
divider won’t work because of the error it will introduce each time the ADC 
samples the data. You need an opamp based signal conditioning circuit to scale 
the input voltage. 

The ADS1278 uses SPI for communications and that can be interfaced to the BBB 
without difficulty. However, you will need to write a device driver as spidev 
won’t be fast enough. Also, I suspect that you will want to sample continuously 
so a ping-pong or cyclical buffer (DMAengine terminology) will do what you 
want. 

Regards,
John




> On Dec 3, 2015, at 2:07 PM, Chelsea Orefice  wrote:
> 
> Hi everyone,
> 
> I am new to the world of using MCUs and am looking for some assistance on a 
> project that I am currently working on. To sum things up quickly, I am 
> building a data aggregation unit that can convert analog voltage readings to 
> digital values that is to be stored on a USB or SD card. The DAU will collect 
> 3 types of signals, a buffer signal, clipped signal, and a signal passed 
> through a LPF. In the end, the data should be stored as either a MatLab file 
> or .xml file. However, I am facing a few road blocks relating to my design. 
> 
> 1.) I need to use a 24 bit ADC for high resolution purposes based on design 
> requirements that were just given to me as I will be collecting data from 
> .1mV to 50V and it has to have a high sample speed rate. Has anyone connected 
> an external ADC to the BBB? If so, what was the brand of your external ADC? 
> How did you connect the ADC to the BBB? (It'd be greatly appreciated to be 
> able to see a design).
> 
> 2.) If you have had a similar project to this, was wondering how you went 
> about it. Any advice would be greatly appreciated.
> 
> 
> As I said before, all of this is very new to me. So thank you for taking the 
> time to help me out. 
> 
> Chelsea
> 
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BBB Data Aggregation Unit using external ADC

2015-12-03 Thread Chelsea Orefice
Hi everyone,

I am new to the world of using MCUs and am looking for some assistance on a 
project that I am currently working on. To sum things up quickly, I am 
building a data aggregation unit that can convert analog voltage readings 
to digital values that is to be stored on a USB or SD card. The DAU will 
collect 3 types of signals, a buffer signal, clipped signal, and a signal 
passed through a LPF. In the end, the data should be stored as either a 
MatLab file or .xml file. However, I am facing a few road blocks relating 
to my design. 

1.) I need to use a 24 bit ADC for high resolution purposes based on design 
requirements that were just given to me as I will be collecting data from 
.1mV to 50V and it has to have a high sample speed rate. Has anyone 
connected an external ADC to the BBB? If so, what was the brand of your 
external ADC? How did you connect the ADC to the BBB? (It'd be greatly 
appreciated to be able to see a design).

2.) If you have had a similar project to this, was wondering how you went 
about it. Any advice would be greatly appreciated.


As I said before, all of this is very new to me. So thank you for taking 
the time to help me out. 

Chelsea


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BeagleBone Black RTC?

2015-12-03 Thread Robert Nelson
On Thu, Dec 3, 2015 at 4:06 PM, Fidel Alejandro Rodriguez <
alek@gmail.com> wrote:

> did you manage to implement RTC whith BBB regards
>

This is one way:

http://elinux.org/CircuitCo:RTC_Cape

Otherwise grab any i2c/rtc adapter board off sparkfun, (3.3v) and wire to
the i2c..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BBB Data Aggregation Unit using external ADC

2015-12-03 Thread Chelsea Orefice
Hi John,

Thanks for getting back to me. I was actually looking at that same ADC 
converter as you posted in your reply. Just looking for some clarification 
on a few things. What type of error would a simple resistor divider 
introduce into the system? I am currently using a cascaded inverting op amp 
system. Not really sure if this will scale the input voltage to a level 
that is compatible with my ADC.

The circuit diagram looks like this: 
[image: Inline image 1]

Looking forward to your reply,
Chels

On Thursday, December 3, 2015 at 5:07:41 PM UTC-5, Chelsea Orefice wrote:
>
> Hi everyone,
>
> I am new to the world of using MCUs and am looking for some assistance on 
> a project that I am currently working on. To sum things up quickly, I am 
> building a data aggregation unit that can convert analog voltage readings 
> to digital values that is to be stored on a USB or SD card. The DAU will 
> collect 3 types of signals, a buffer signal, clipped signal, and a signal 
> passed through a LPF. In the end, the data should be stored as either a 
> MatLab file or .xml file. However, I am facing a few road blocks relating 
> to my design. 
>
> 1.) I need to use a 24 bit ADC for high resolution purposes based on 
> design requirements that were just given to me as I will be collecting data 
> from .1mV to 50V and it has to have a high sample speed rate. Has anyone 
> connected an external ADC to the BBB? If so, what was the brand of your 
> external ADC? How did you connect the ADC to the BBB? (It'd be greatly 
> appreciated to be able to see a design).
>
> 2.) If you have had a similar project to this, was wondering how you went 
> about it. Any advice would be greatly appreciated.
>
>
> As I said before, all of this is very new to me. So thank you for taking 
> the time to help me out. 
>
> Chelsea
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Configuring USB File Storage Gadget

2015-12-03 Thread Stevo Brock
Hi SR,

You're right, I don't remember what exactly needed to be changed to get it 
working, but it did eventually work. 

I want to say I ended up going with the module approach and it may have had 
something to do with the startup scripts and the order of things. And I don't 
remember at all the process I went through to figure it out. 

Good luck!

-Stevo

Sent from my iPhone

> On Dec 3, 2015, at 1:05 PM, logos@gmail.com wrote:
> 
> Hi Stevo,
> 
> If this was resolved, could you please explain what you did?
> It's already 5 years and no surprise if you forgot the details but appreciate 
> if you can remember some fragments.
> 
> Thanks,
> SR.
> 
>> On Tuesday, August 3, 2010 at 1:24:31 PM UTC-7, Stevo Brock wrote:
>> How does one configure the USB File Storage Gadget?
>> I'm using Beagleboard Rev C with Linux version 2.6.28-rc9-omap1.
>> 
>> When running a version of the kernel with the Gadget built as a module and 
>> running
>> 
>> insmod g_file_storage.ko file=/dev/mmcblk0p1 stall=0 removable=1
>> 
>> at boot time, I get an error message "insmod: cannot insert 
>> 'g_file_storage.ko': Cannot allocate memory"
>> 
>> When running a version of the kernel with the Gadget built-in, I get the 
>> following error message on startup:
>> 
>> g_file_storage gadget: no file given for LUN0
>> 
>> Obviously it's not configured, but so far all info on how to configure have 
>> led to dead ends.
>> 
>> 
>> -Stevo
>> 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Configuring USB File Storage Gadget

2015-12-03 Thread logos . rsw
Hi Stevo,

If this was resolved, could you please explain what you did?
It's already 5 years and no surprise if you forgot the details but 
appreciate if you can remember some fragments.

Thanks,
SR.

On Tuesday, August 3, 2010 at 1:24:31 PM UTC-7, Stevo Brock wrote:

> How does one configure the USB File Storage Gadget?
>
> I'm using Beagleboard Rev C with Linux version 2.6.28-rc9-omap1.
>
> When running a version of the kernel with the Gadget built as a module and 
> running
>
> insmod g_file_storage.ko file=/dev/mmcblk0p1 stall=0 removable=1
>
> at boot time, I get an error message "insmod: cannot insert 
> 'g_file_storage.ko': Cannot allocate memory"
>
> When running a version of the kernel with the Gadget built-in, I get the 
> following error message on startup:
>
> g_file_storage gadget: no file given for LUN0
>
> Obviously it's not configured, but so far all info on how to configure 
> have led to dead ends.
>
>
> -Stevo
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Configure Beaglebone to access usb0 from host PC. (Cannot ssh to beaglebone through USB)

2015-12-03 Thread Davide Picchi
I have the same issue too.
Did you fix that problem?

Am Freitag, 30. Oktober 2015 18:13:55 UTC+1 schrieb Alex:
>
> Hi,
>
> I am using ubuntu 14.04 (from Robert Nelson ) with a 
> custom 3.15.10-bone8 kernel on Beaglebone Black. HDMI is disabled. 
> When I plug the board to a PC, Beaglebone powers up but the PC does not 
> recognize that a USB device is connected to it. I have installed the 
> drivers for network-over-USB which is recommended on 
> Beagleboard.org/getting-started too. Moreover, I cannot ssh into it using 
> 192.168.7.2 eventhough I have set up my /etc/network/interfaces. 
> ubuntu@arm $ ifconfig usb0
> usb0  Link encap:Ethernet  HWaddr d2:56:2f:23:1d:e2
>   inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
>   UP BROADCAST MULTICAST  MTU:1500  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
>
> Is there some modules that I need to run or compile to Kernel to bring the 
> client USB up? How should I configure the linux to be seen by PC when 
> connected from mini USB?
> Thanks for any help. 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BBB Data Aggregation Unit using external ADC

2015-12-03 Thread John Syne


> On Dec 3, 2015, at 3:03 PM, Chelsea Orefice  wrote:
> 
> Hi John,
> 
> Thanks for getting back to me. I was actually looking at that same ADC 
> converter as you posted in your reply. Just looking for some clarification on 
> a few things. What type of error would a simple resistor divider introduce 
> into the system?
You can calculate this from the info provided in the datasheet on page 24 and 
25. The error occurs because of the sample and hold which uses a 9pF capacitor. 
Use T=RC to calculate the time constant. R is the impedance of you input 
circuit. Given the sampling time, you can calculate the measurement error. 

> I am currently using a cascaded inverting op amp system. Not really sure if 
> this will scale the input voltage to a level that is compatible with my ADC.
> 
> The circuit diagram looks like this: 
> 

No image visible. You have to provide a link to an image.

Regards,
John
> 
> Looking forward to your reply,
> Chels
> 
> On Thursday, December 3, 2015 at 5:07:41 PM UTC-5, Chelsea Orefice wrote:
> Hi everyone,
> 
> I am new to the world of using MCUs and am looking for some assistance on a 
> project that I am currently working on. To sum things up quickly, I am 
> building a data aggregation unit that can convert analog voltage readings to 
> digital values that is to be stored on a USB or SD card. The DAU will collect 
> 3 types of signals, a buffer signal, clipped signal, and a signal passed 
> through a LPF. In the end, the data should be stored as either a MatLab file 
> or .xml file. However, I am facing a few road blocks relating to my design. 
> 
> 1.) I need to use a 24 bit ADC for high resolution purposes based on design 
> requirements that were just given to me as I will be collecting data from 
> .1mV to 50V and it has to have a high sample speed rate. Has anyone connected 
> an external ADC to the BBB? If so, what was the brand of your external ADC? 
> How did you connect the ADC to the BBB? (It'd be greatly appreciated to be 
> able to see a design).
> 
> 2.) If you have had a similar project to this, was wondering how you went 
> about it. Any advice would be greatly appreciated.
> 
> 
> As I said before, all of this is very new to me. So thank you for taking the 
> time to help me out. 
> 
> Chelsea
> 
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBB Data Aggregation Unit using external ADC

2015-12-03 Thread John Syne
Look at page 39 for a suitable input circuit. 

Regards,
John




> On Dec 3, 2015, at 3:03 PM, Chelsea Orefice  wrote:
> 
> Hi John,
> 
> Thanks for getting back to me. I was actually looking at that same ADC 
> converter as you posted in your reply. Just looking for some clarification on 
> a few things. What type of error would a simple resistor divider introduce 
> into the system? I am currently using a cascaded inverting op amp system. Not 
> really sure if this will scale the input voltage to a level that is 
> compatible with my ADC.
> 
> The circuit diagram looks like this: 
> 
> 
> Looking forward to your reply,
> Chels
> 
> On Thursday, December 3, 2015 at 5:07:41 PM UTC-5, Chelsea Orefice wrote:
> Hi everyone,
> 
> I am new to the world of using MCUs and am looking for some assistance on a 
> project that I am currently working on. To sum things up quickly, I am 
> building a data aggregation unit that can convert analog voltage readings to 
> digital values that is to be stored on a USB or SD card. The DAU will collect 
> 3 types of signals, a buffer signal, clipped signal, and a signal passed 
> through a LPF. In the end, the data should be stored as either a MatLab file 
> or .xml file. However, I am facing a few road blocks relating to my design. 
> 
> 1.) I need to use a 24 bit ADC for high resolution purposes based on design 
> requirements that were just given to me as I will be collecting data from 
> .1mV to 50V and it has to have a high sample speed rate. Has anyone connected 
> an external ADC to the BBB? If so, what was the brand of your external ADC? 
> How did you connect the ADC to the BBB? (It'd be greatly appreciated to be 
> able to see a design).
> 
> 2.) If you have had a similar project to this, was wondering how you went 
> about it. Any advice would be greatly appreciated.
> 
> 
> As I said before, all of this is very new to me. So thank you for taking the 
> time to help me out. 
> 
> Chelsea
> 
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Private message regarding: [beagleboard] BBB Data Aggregation Unit using external ADC

2015-12-03 Thread John Syne
Hi Chelsea,

I have cc beagleboard because someone else might learn from this discussion. 
Looking at the link you provided, it won’t work because ADS1278 requires a 
differential input. Look at page 39 for circuits that will work for you.

Regards,
John




> On Dec 3, 2015, at 3:52 PM, Chelsea Orefice  wrote:
> 
> My apologies. Please let me know if this link works. (You will need to just 
> copy and paste in search bar). If that doesn't work I will send it as an 
> attachment. Will also look at the diagram as well.
> 
> http://cnx.org/resources/72628d36f0c24bc80ff94e5c0bf6df2b27a86751/opamp4.png
> 
> Thanks again,
> Chelsea
> 
> On Thursday, December 3, 2015 at 6:46:49 PM UTC-5, john3909 wrote:
> Look at page 39 for a suitable input circuit. 
> 
> Regards,
> John
> 
> 
> 
> 
>> On Dec 3, 2015, at 3:03 PM, Chelsea Orefice > > wrote:
>> 
>> Hi John,
>> 
>> Thanks for getting back to me. I was actually looking at that same ADC 
>> converter as you posted in your reply. Just looking for some clarification 
>> on a few things. What type of error would a simple resistor divider 
>> introduce into the system? I am currently using a cascaded inverting op amp 
>> system. Not really sure if this will scale the input voltage to a level that 
>> is compatible with my ADC.
>> 
>> The circuit diagram looks like this: 
>> 
>> 
>> Looking forward to your reply,
>> Chels
>> 
>> On Thursday, December 3, 2015 at 5:07:41 PM UTC-5, Chelsea Orefice wrote:
>> Hi everyone,
>> 
>> I am new to the world of using MCUs and am looking for some assistance on a 
>> project that I am currently working on. To sum things up quickly, I am 
>> building a data aggregation unit that can convert analog voltage readings to 
>> digital values that is to be stored on a USB or SD card. The DAU will 
>> collect 3 types of signals, a buffer signal, clipped signal, and a signal 
>> passed through a LPF. In the end, the data should be stored as either a 
>> MatLab file or .xml file. However, I am facing a few road blocks relating to 
>> my design. 
>> 
>> 1.) I need to use a 24 bit ADC for high resolution purposes based on design 
>> requirements that were just given to me as I will be collecting data from 
>> .1mV to 50V and it has to have a high sample speed rate. Has anyone 
>> connected an external ADC to the BBB? If so, what was the brand of your 
>> external ADC? How did you connect the ADC to the BBB? (It'd be greatly 
>> appreciated to be able to see a design).
>> 
>> 2.) If you have had a similar project to this, was wondering how you went 
>> about it. Any advice would be greatly appreciated.
>> 
>> 
>> As I said before, all of this is very new to me. So thank you for taking the 
>> time to help me out. 
>> 
>> Chelsea
>> 
>> 
>> 
>> -- 
>> For more options, visit http://beagleboard.org/discuss 
>> 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beagleboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout 
>> .
> 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Slow camera acquisition with Debian Jessie

2015-12-03 Thread ecd29771
Hi all!

I am using the V4L2 libraries to capture frames from my 16 bit grayscale 
USB camera. This worked fine on Debian 7.8. However, I recently flashed my 
board to the Jessie image recently posted on the beaglebone website (Debian 
8.2). Oddly enough, data acquisition takes about 3 times longer now. I'm 
also getting a lot of dropped data in the frames that I capture. I'm using 
the same libraries, the same code, and the same camera settings. Anyone 
have any idea what could be wrong?  

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Slow camera acquisition with Debian Jessie

2015-12-03 Thread Robert Nelson
On Thu, Dec 3, 2015 at 5:21 PM,   wrote:
> Hi all!
>
> I am using the V4L2 libraries to capture frames from my 16 bit grayscale USB
> camera. This worked fine on Debian 7.8. However, I recently flashed my board
> to the Jessie image recently posted on the beaglebone website (Debian 8.2).
> Oddly enough, data acquisition takes about 3 times longer now. I'm also
> getting a lot of dropped data in the frames that I capture. I'm using the
> same libraries, the same code, and the same camera settings. Anyone have any
> idea what could be wrong?

Does this help?

sudo cpufreq-set -g performance

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Private message regarding: [beagleboard] BBB Data Aggregation Unit using external ADC

2015-12-03 Thread Chelsea Orefice
Hi John,

Just wanted to say thank you for really helping me with this. It has been a
struggle for me and my team to get help from different resources at school
as well as our liaisons where we are getting our design requirements from.
(This is our senior engineering project.)

I am having still a little difficulty in understanding how the circuitry I
shared with you may give me a single input instead of differential that the
ADC requires.I attached the actual design of the system, so if you could
help me understand how it won't work it'd be much appreciated.

Also, may you tell me your background in relation to all of this? You are
very knowledgeable in this area, and when I relay some of this information
to my team I would like to share from whom I received this information
from.


Sincerely,
Chelsea

On Thu, Dec 3, 2015 at 7:01 PM, John Syne  wrote:

> Hi Chelsea,
>
> I have cc beagleboard because someone else might learn from this
> discussion. Looking at the link you provided, it won’t work because ADS1278
> requires a differential input. Look at page 39 for circuits that will work
> for you.
>
> Regards,
> John
>
>
>
>
> On Dec 3, 2015, at 3:52 PM, Chelsea Orefice  wrote:
>
> My apologies. Please let me know if this link works. (You will need to
> just copy and paste in search bar). If that doesn't work I will send it as
> an attachment. Will also look at the diagram as well.
>
> http://cnx.org/resources/72628d36f0c24bc80ff94e5c0bf6df2b27a
> 86751/opamp4.png
>
> Thanks again,
> Chelsea
>
> On Thursday, December 3, 2015 at 6:46:49 PM UTC-5, john3909 wrote:
>>
>> Look at page 39 for a suitable input circuit.
>>
>> Regards,
>> John
>>
>>
>>
>>
>> On Dec 3, 2015, at 3:03 PM, Chelsea Orefice  wrote:
>>
>> Hi John,
>>
>> Thanks for getting back to me. I was actually looking at that same ADC
>> converter as you posted in your reply. Just looking for some clarification
>> on a few things. What type of error would a simple resistor divider
>> introduce into the system? I am currently using a cascaded inverting op
>> amp system. Not really sure if this will scale the input voltage to a level
>> that is compatible with my ADC.
>>
>> The circuit diagram looks like this:
>> [image: Inline image 1]
>>
>> Looking forward to your reply,
>> Chels
>>
>> On Thursday, December 3, 2015 at 5:07:41 PM UTC-5, Chelsea Orefice wrote:
>>>
>>> Hi everyone,
>>>
>>> I am new to the world of using MCUs and am looking for some assistance
>>> on a project that I am currently working on. To sum things up quickly, I am
>>> building a data aggregation unit that can convert analog voltage readings
>>> to digital values that is to be stored on a USB or SD card. The DAU will
>>> collect 3 types of signals, a buffer signal, clipped signal, and a signal
>>> passed through a LPF. In the end, the data should be stored as either a
>>> MatLab file or .xml file. However, I am facing a few road blocks relating
>>> to my design.
>>>
>>> 1.) I need to use a 24 bit ADC for high resolution purposes based on
>>> design requirements that were just given to me as I will be collecting data
>>> from .1mV to 50V and it has to have a high sample speed rate. Has anyone
>>> connected an external ADC to the BBB? If so, what was the brand of your
>>> external ADC? How did you connect the ADC to the BBB? (It'd be greatly
>>> appreciated to be able to see a design).
>>>
>>> 2.) If you have had a similar project to this, was wondering how you
>>> went about it. Any advice would be greatly appreciated.
>>>
>>>
>>> As I said before, all of this is very new to me. So thank you for taking
>>> the time to help me out.
>>>
>>> Chelsea
>>>
>>>
>>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Private message regarding: [beagleboard] BBB Data Aggregation Unit using external ADC

2015-12-03 Thread Chelsea Orefice
Also in the attachment, the parts labeled MCU will now be ADC. (Sorry about
that.)

On Thu, Dec 3, 2015 at 8:57 PM, Chelsea Orefice  wrote:

> Hi John,
>
> Just wanted to say thank you for really helping me with this. It has been
> a struggle for me and my team to get help from different resources at
> school as well as our liaisons where we are getting our design requirements
> from. (This is our senior engineering project.)
>
> I am having still a little difficulty in understanding how the circuitry I
> shared with you may give me a single input instead of differential that the
> ADC requires.I attached the actual design of the system, so if you could
> help me understand how it won't work it'd be much appreciated.
>
> Also, may you tell me your background in relation to all of this? You are
> very knowledgeable in this area, and when I relay some of this information
> to my team I would like to share from whom I received this information
> from.
>
>
> Sincerely,
> Chelsea
>
> On Thu, Dec 3, 2015 at 7:01 PM, John Syne  wrote:
>
>> Hi Chelsea,
>>
>> I have cc beagleboard because someone else might learn from this
>> discussion. Looking at the link you provided, it won’t work because ADS1278
>> requires a differential input. Look at page 39 for circuits that will work
>> for you.
>>
>> Regards,
>> John
>>
>>
>>
>>
>> On Dec 3, 2015, at 3:52 PM, Chelsea Orefice  wrote:
>>
>> My apologies. Please let me know if this link works. (You will need to
>> just copy and paste in search bar). If that doesn't work I will send it as
>> an attachment. Will also look at the diagram as well.
>>
>> http://cnx.org/resources/72628d36f0c24bc80ff94e5c0bf6df2b27a
>> 86751/opamp4.png
>>
>> Thanks again,
>> Chelsea
>>
>> On Thursday, December 3, 2015 at 6:46:49 PM UTC-5, john3909 wrote:
>>>
>>> Look at page 39 for a suitable input circuit.
>>>
>>> Regards,
>>> John
>>>
>>>
>>>
>>>
>>> On Dec 3, 2015, at 3:03 PM, Chelsea Orefice  wrote:
>>>
>>> Hi John,
>>>
>>> Thanks for getting back to me. I was actually looking at that same ADC
>>> converter as you posted in your reply. Just looking for some clarification
>>> on a few things. What type of error would a simple resistor divider
>>> introduce into the system? I am currently using a cascaded inverting op
>>> amp system. Not really sure if this will scale the input voltage to a level
>>> that is compatible with my ADC.
>>>
>>> The circuit diagram looks like this:
>>> [image: Inline image 1]
>>>
>>> Looking forward to your reply,
>>> Chels
>>>
>>> On Thursday, December 3, 2015 at 5:07:41 PM UTC-5, Chelsea Orefice wrote:

 Hi everyone,

 I am new to the world of using MCUs and am looking for some assistance
 on a project that I am currently working on. To sum things up quickly, I am
 building a data aggregation unit that can convert analog voltage readings
 to digital values that is to be stored on a USB or SD card. The DAU will
 collect 3 types of signals, a buffer signal, clipped signal, and a signal
 passed through a LPF. In the end, the data should be stored as either a
 MatLab file or .xml file. However, I am facing a few road blocks relating
 to my design.

 1.) I need to use a 24 bit ADC for high resolution purposes based on
 design requirements that were just given to me as I will be collecting data
 from .1mV to 50V and it has to have a high sample speed rate. Has anyone
 connected an external ADC to the BBB? If so, what was the brand of your
 external ADC? How did you connect the ADC to the BBB? (It'd be greatly
 appreciated to be able to see a design).

 2.) If you have had a similar project to this, was wondering how you
 went about it. Any advice would be greatly appreciated.


 As I said before, all of this is very new to me. So thank you for
 taking the time to help me out.

 Chelsea



>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to beagleboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: AM335x Beaglebone Black Python Programming Scripts

2015-12-03 Thread William Hermans
Clearly, this is a person, or persons who are in way over their heads . . .

On Thu, Dec 3, 2015 at 6:38 PM, Dennis Lee Bieber 
wrote:

> On Thu, 3 Dec 2015 04:18:42 -0800 (PST),
> chris.yor...@gmail.com declaimed the
> following:
>
> >
> >
> >Team,
> >
> >Our customer is trying to utilize the Beaglebone Black, running Python
> >scripts, to program the SimpleLink CC3200 <
> http://www.ti.com/product/CC3200>
> >.
> >
> >Can you answer a question at the bottom of the attached reference
> document?
> >(“We could not find documentation on how to run python scripts on
> >beaglebone-black (Linux) like it has mentioned for Windows.  It would be
> >helpful if we can get this information.”)  In other words, what is the
> >command line to run the script on BBB (like “ImageProgramming.exe -p 2 -i
> >hib.bin” on Windows)?
> >
>
> Please try by using cut of the TEXT rather than screen
> captures... images don't always make it through, and the ones that did
> (after I explicitly activated a "download images" function) are illegible.
>
> However, "ImageProgramming.exe" is likely a Windows compiled binary
> file -- it is nothing to do with Python. Python scripts normally have a .py
> extension, and (presuming the she-bang line is valid, and it is made
> executable) could be run on a Linux shell by typing
>
> ./thescript.py
>
> at the prompt. Or, the long way
>
> python thescript.py
>
>
> debian@beaglebone:~$ cat example.py
> #!/usr/bin/env python
> STRING1 = "Goodbye"
> STRING2 = "World!"
>
> print STRING1
> for i,c in enumerate(STRING2):
> print "%s%s" % ("\t" * i, c)
>
> debian@beaglebone:~$
>
> debian@beaglebone:~$ python example.py
> Goodbye
> W
> o
> r
> l
> d
> !
> debian@beaglebone:~$
>
> debian@beaglebone:~$ ./example
> -bash: ./example: No such file or directory
> debian@beaglebone:~$ ./example.py
> -bash: ./example.py: Permission denied
> debian@beaglebone:~$ ls -ltr
> total 12
> drwxr-xr-x 2 debian debian 4096 Apr 23  2014 Desktop
> drwxr-xr-x 2 debian debian 4096 Apr 23  2014 bin
> -rw-r--r-- 1 debian debian  138 Dec  3 20:27 example.py
>
> Note that it is not flagged as "executable"
>
> debian@beaglebone:~$ chmod +x example.py
> debian@beaglebone:~$ ls -ltr
> total 12
> drwxr-xr-x 2 debian debian 4096 Apr 23  2014 Desktop
> drwxr-xr-x 2 debian debian 4096 Apr 23  2014 bin
> -rwxr-xr-x 1 debian debian  138 Dec  3 20:27 example.py
>
> Now it is executable
>
> debian@beaglebone:~$ ./example.py
> Goodbye
> W
> o
> r
> l
> d
> !
> debian@beaglebone:~$
>
>
> --
> Wulfraed Dennis Lee Bieber AF6VN
> wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.