background preloader


Facebook Twitter

GPIOs on the Beaglebone Black using the Device Tree Overlays. Programming the Beaglebone Black. Sysfs is a mechanism for representing kernel objects (kobjects) their attributes and their relationships with each other.

Programming the Beaglebone Black

The internal (kernel) constructs and their external (userspace) mappings are: sysfs is an in-memory filesystem that was originally based on ramfs. sysfs is mounted at /sys. At the top level of the sysfs mount point are a number of directories representing the major subsystems registered with sysfs. (Typically block,bus,class,devices,firmware,module,power). A device driver can be viewed as a software layer that lies in between the the applications and the actual device. Intro The PRU (Programmable Real-time Unit) is a 200MHZ , 32-bit daughter microcontroller which lives alongside the AM3359 Cortex A8 processor used in the beagle bone black. Programming the PRU consists of: BeagleBone Black Serial UART Device Tree Overlays for Ubuntu and Debian Wheezy (tty01, tty02, tty04, tty05 .dtbo files) - BeagleBone Black UARTs Unlike the BeagleBone White, the BeagleBone Black has no built-in serial to USB connection.

This was one of the several cost saving measures taken in order to get the per-unit price down to $45 USD. The serial debug interface available at J1 is setup to allow the use of an FTDI TTL-232R-3V3 3.3V serial to USB adapter (Figure 1). An FTDI 3.3V knock-off is available from Amazon, and I found it to work just as well. The unit cost me $18 plus $5 shipping. Figure 1 – BeagleBone Black with an FTDI TTL-232R-3V3 3.3V serial to USB attached to J1 Device Tree Overlay The BeagleBone Black am335x-boneblack.dtb device file has only /dev/ttyO0 active by default.

Figure 2 shows the connection between the board doing the monitoring (top) using UART4, RX pin P9-11 and TX pin P9-13. Install Debian 7 to eMMC (internal flash drive) of Beaglebone Black. Beaglebone and more. Mise en route.

Beaglebone and more

Quelques informations sur la platine. Un premier script pour débuter: Ecriture binaire sur une patte. Notre deuxième script: Lecture binaire sur une patte. Interfaçage avec un module de détection PIR. Mise en route. Tout est très simple si vous voulez démarrer rapidement. Bien évidemment si vous travaillez sur un PC équipé d'une distribution Linux, vous n'avez pas besoin de Putty, ouvrez une nouvelle console et connectez vous avec SSH à la platine Beaglebone.

Vous devriez donc avoir ces informations qui s'affichent sur la fenêtre/console ouverte par Putty. Using username "root". root@'s password: Appuyez ensuite sur la touche Entrée car il n'y a pas de mot de passe installé par défaut sous Root. Root@beaglebone:~# Quelques informations sur la platine. La platine Beaglebone dont je dispose est la version rev A3.

J'ai fais une mise à jour en téléchargant ici l'image du 10 avril 2012. . #! #! Beaglebone RF24(nRF24L01) Library. I started working on a project which require communication with multiple radios.

Beaglebone RF24(nRF24L01) Library

I started looking at nRF24L01 chip and found it to be very useful, cheap little device which has many features built-in. Initially I got two AVRs to talk to each other through the simple library found here ( But I found multiple issues with the library when the number of nodes in the network increases, Didn’t support retriesDynamic packet sizesChannel scanning, etc It was a simple library to start with and understand how the radio actually works in different configurations.

I didn’t want to spend lot of time implementing all features I wanted so started looking around for complete libraries for nRF24L01, and I found RF24. RF24 is one of the most complete libraries available for the nRF24L01[+]. This is a Beaglebone port of the popular RF24(nrf24l01) library posted on If you find the library is out of sync with the Arduino library please drop an email to Complete wiki can be found Features.