[beagleboard] Re: Here is the BeagleBone Debian (beta) image you want to test

2014-03-23 Thread Ramon Mendes
How can I make the microSD image to not copy the image to the eMMC of my 
Beaglebone Black?

That is, by default, when I insert the SD card with this Debian image, and 
then power the BBB, it will automatically start flashing the Debian image 
to the BBB internal disk (eMMC). I notice it because after some time the 4 
leds stay lit, meaning it has completed the process.
I don't want it to happen because I want to use Debian directly from the 
bootable SD card, and keep the eMMC intact.

(probably I just need to delete the script that flashes the image to the 
eMMC, but where is it?)


Em quarta-feira, 5 de março de 2014 19h51min19s UTC-3, Jason Kridner 
escreveu:

 The latest BeagleBone Debian images are now posted at: 
 http://beagleboard.org/latest-images/

 If you've upgraded the firmware on your BeagleBone or BeagleBone Black in 
 the past, the experience will be quite similar, but you might find the eMMC 
 flashing times a bit faster (~15 minutes rather than ~45 minutes) due to 
 less post-installation processing. Using the 2GB uSD card image also 
 flashes a bit faster and can be resized to whatever your uSD card size is 
 using some scripts under /opt/scripts/tools.

 Many, many thanks to Robert Nelson, Rob Rittman, Dave Anders, Cody Lacey, 
 the Cloud9 IDE team and so many others in getting us this far.

 Please take the time to give a detailed look over this image and report 
 any issues to the bug tracker on elinux.org:
 http://bugs.elinux.org/projects/debian-image-releases

 While plugged in over USB, you'll see the familiar BEAGLE_BONE drive with 
 START.htm to tell you how to get the drivers configured if you haven't 
 already done so:

 [image: Inline image 2]


 Clicking the link or visiting http://192.168.7.2, you'll see the familiar 
 on-board served documentation:

 [image: Inline image 1]

 I've introduced a few bugs to the documentation (
 http://github.com/beaglebone/bone101 and 
 http://beagleboard.github.io/bone101), so expect to find a lot of issues 
 there. Patches are welcome as are notes in the bug tracker to make sure I 
 don't miss dotting any i's or crossing any t's. This is your chance to try 
 to get some documentation into the system you'd like to see. I felt it was 
 pretty safe to save the documentation as an in-beta item because it 
 shouldn't impact functionality.

 One of the biggest new features you'll see is when you click on the Cloud9 
 IDE link:

 [image: Inline image 3]

 This is a pre-open-source-beta-only release of version 3 of their IDE. 
 Down at the bottom of the Cloud9 IDE you'll see a new terminal window that 
 runs a full 'tmux' session. You can open up a bunch of these and it makes 
 logging into the board and executing command-line operations *super* simple.

 Cloud9 IDE version 3 now includes support for Python and the Adafruit_BBIO 
 library is included in these Debian images. That means you can simply paste 
 in your Python code and hit the run button, without any additional 
 download. I checked this out myself by doing a quick LED blink using the 
 Adafruit tutorial (
 http://learn.adafruit.com/blinking-an-led-with-beaglebone-black/writing-a-program
 ):

 [image: Inline image 4]

 You should also note that the /var/lib/cloud9 directory now contains a git 
 clone of that bone101 repo (http://github.com/beagleboard/bone101), so 
 you can start using the Cloud9 IDE to edit the content live. What I 
 recommend is creating your own fork of the repo and sending me pull 
 requests of any changes you'd like to see.

 You can also edit C/C++ code in the Cloud9 IDE, but no 'builder' or 
 'runner' plug-ins are provided. You will, however, find the 
 Userspace-Arduino (http://elinux.org/Userspace_Arduino) code in 
 /opt/source/Userspace-Arduino. Here's a quick little exercise you can do to 
 blink LED0:

 root@beaglebone# cd 
 /opt/source/Userspace-Arduino/arduino-makefile/examples/Blink
 root@beaglebone# perl -i -pe 's/13/14/g' Blink.ino
 root@beaglebone# make
 root@beaglebone# ./build-userspace/Blink.elf

 For more advanced C/C++ developers, future releases should include 
 https://github.com/jackmitch/libsoc.

 Those familiar with Linux will also note that the init system is 
 'systemd', which has been helpful in providing reasonable boot times. If 
 you are looking for the journal, you can explore it using 
 'systemd-journalctl'.

 I use a Mac and despite the latest version of HoRNDIS fixing issues with 
 Internet Connection Sharing, getting on the WIFI at home makes getting my 
 BeagleBones on the network much easier, further making grabbing new 
 packages with 'sudo apt-get install' much simpler. Drivers and firmware for 
 many common USB WiFi dongles are included, so be sure to report any that 
 you find missing. These latest images include the drivers for the popular 
 UWN200 adapters provided by Logic Supply. To test it out myself, I 
 uncommented and edited the wlan0 entry in /etc/network/interfaces 
 (including replacing wlan0 with ra0), shutdown, 

[beagleboard] Playing sound using with my BBB using a piezo buzzer (beeper)

2014-03-17 Thread Ramon Mendes
I want play 'beeps' connecting a piezo buzzer to my Beaglebone Black. I am 
very new to eletronics, so I need some help here, don't know how to operate 
these sound devices.

-Eletrical circuit: as for the circuit, I am referring to this 
book/chapterhttp://books.google.com.br/books?id=k6FMtlXOQ50Clpg=PA101ots=XwRSMXrq8edq=beaglebone%20black%20buzzerhl=pt-BRpg=PA101#v=onepageq=beaglebone%20black%20buzzerf=falsewhich
 shows it very well how I should proceed: using a transistor..

-What I don't know is, how do I control the buzzer (say from a C program) 
to emit sound?
-I guess I should configure and use PWM feature of the processor, am I 
right?
-And how do I pragmatically control PWM output?
-How could I make it play an given sound file, like a .midi file?

-- 
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] Connecting BBB UART to another UART device

2014-03-05 Thread Ramon Mendes
Thks for answearing!

So uboot (the bootloader right?) might send bad commands to my device... 
well, can it really damage my device? I am just guessing ...

For using UART with the P8/P9 pins do I need to go through the hassle of 
doing the so called device-tree-overlay?



Em quarta-feira, 5 de março de 2014 06h26min33s UTC-3, William Hermans 
escreveu:

 The serial debug port on the beaglebone black *is* a UART interface. That 
 is, RXD/TXD + GND only. 

 You should be able to technically use this with your RFID device, 
 *however* it may also be possible that uboot by default may cause issues, 
 or perhaps damage to your external device at powerup / boot. It should also 
 be possible to configure uboot to play nice with your hardware.

 Probably the best / easiest way would be to use one of the other UARTs / 
 set of pins.


 On Mon, Mar 3, 2014 at 5:55 PM, Ramon Mendes midiw...@gmail.comjavascript:
  wrote:

 I want to connect this 
 devicehttp://www.thingmagic.com/embedded-rfid-readers/mercury6e(a RFID 
 reader module) to my BBB, that is, I simply want them to talk (as 
 if it was so easy, ).
 This RFID module has the following electrical interfaces:

 UART with 3.3/5V logic levels 
 from 9600 to 921,600 bps; USB 
 2.0 full speed device port (up to
 12 Mbps)


 I already tried connecting it through USB but 'lsusb' and 'dmesg' shows 
 nothing. So now I wanna try to connect it to my BBB trough UART (no USB is 
 involved here).
 That is, my plan is simply use 3 wires (GND, RX, TX) to connect one 
 device to another since I think both UART interfaces are compatible, right? 
 Or am I missing to verify something to ensure they are compatible (both are 
 TTL)?

 My question is, what is the simplest way to physically connect this 
 device to BBB's UART?
 I want to know if would it be possible to use the serial debug header? 
 That is, is this header a UART port?
 Or I must configure and use some of the P8/P9 pins?
  
 -- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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/groups/opt_out.


[beagleboard] Connecting BBB UART to another UART device

2014-03-03 Thread Ramon Mendes
I want to connect this 
devicehttp://www.thingmagic.com/embedded-rfid-readers/mercury6e(a RFID reader 
module) to my BBB, that is, I simply want them to talk (as 
if it was so easy, ).
This RFID module has the following electrical interfaces:

UART with 3.3/5V logic levels 
from 9600 to 921,600 bps; USB 
2.0 full speed device port (up to
12 Mbps)


I already tried connecting it through USB but 'lsusb' and 'dmesg' shows 
nothing. So now I wanna try to connect it to my BBB trough UART (no USB is 
involved here).
That is, my plan is simply use 3 wires (GND, RX, TX) to connect one device 
to another since I think both UART interfaces are compatible, right? Or am 
I missing to verify something to ensure they are compatible (both are TTL)?

My question is, what is the simplest way to physically connect this device 
to BBB's UART?
I want to know if would it be possible to use the serial debug header? That 
is, is this header a UART port?
Or I must configure and use some of the P8/P9 pins?

-- 
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/groups/opt_out.