Unofficial Community
See all
Members (4,241)
Luis Alcaraz Leal's profile photo
ajay shah's profile photo
David Miller's profile photo
Anthony Russell's profile photo
lujun bian's profile photo
Pearce Fleming's profile photo
Laura Sarmiento's profile photo
Mike Murphree's profile photo
Adil Iguider's profile photo
Aleksandar Zdravkovic's profile photo
Walter Coria's profile photo
Mohammad Moradi's profile photo
Helton Maia's profile photo
Gabriel G's profile photo
Gavin McClellan's profile photo
Kyle Snyder's profile photo
Bill Sidhipong's profile photo
David Killingley's profile photo
Wouter E. M. Berben's profile photo
Jon Robinson's profile photo
James Armstrong's profile photo
Steve Prior's profile photo
Michel Karis's profile photo
Veselin Mijušković's profile photo

Stream

Join this community to post or comment

Jon Hoffman

Discussion  - 
 
In this post I will show the latest updates to BuddyBot and also give a list of parts that I used to build him.  You can use this parts list to build your own Swift based robot.
In this post I will show the latest updates to BuddyBot and also give a list of parts that I used to build him. You can use this parts list to build your own Swift based robot. This weekend we added a couple new sensors a...
3
2
Drew Fustini (pdp7)'s profile photoE. LeFort's profile photo
Add a comment...
 
Hi guys

I have difficulty controlling nRF24L01+ on BeagleBone Black using Python.

I use this library https://github.com/jpbarraca/pynrf24
Here is my code: http://pastie.org/10836500

Here is output of printDetails:

STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xe7e7e7e7e7 0xc2c2c2c2c2
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0xe7e7e7e7e7
RX_PW_P0-6 = 0x08 0x08 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x02
RF_CH = 0x60
RF_SETUP = 0x06
SETUP_AW = 0x03
OBSERVE_TX = 0x00
CONFIG = 0x0c
FIFO_STATUS = 0x11
DYNPD = 0x00
FEATURE = 0x00
Data Rate = 1MBPS
Model = nRF24l01+
CRC Length = 16 bits
PA Power = PA_MAX

For the other side, we use Arduino.

The problem is that:

- BeagleBone side cannot send to Arduino side, with error MAX_RT

- BeagleBone side can receive data from Arduino side, but now cannot receive.

Do you have any notice for me to make it work?

I connect nRF24L01+ to SPI0 port of BeagleBone, so it should not have conflict with HDMI.
usr/bin/env python3 import time from datetime import datetime from nrf24 import NRF24 # The module is attached to SPI0 of BeagleBone, corresponding to # /dev/spidev1.0 in Linux SPI_POS = 1 PIN_CE = 'P9_27' PIN_IRQ = 'P9_15' PAYLOAD_SIZE = 8 CHANNEL = 0x60 # Note: Page 37 of NRF24L01+ datasheet ...
1
Add a comment...

Jon Hoffman

Discussion  - 
 
BuddyBot, the first robot programmed in the Swift programming language just got its first upgrades. The link has a video of BuddyBot in action.
BuddyBot, the first robot programmed in the Swift programming language just got its first upgrades. The first thing you may notice is I printed out a couple of new trays to hold the components so it looks better. Secondly I...
1
Add a comment...
 
I'm having some problems that I suspect could be due to fluctuating power supply. I've looked around a bit, but found no evidence of the Black being able to monitor and report its internal voltages. Is that correct?
1
Martin Samuelsson's profile photoSamuel Bucquet's profile photo
3 comments
 
thanks !
Add a comment...

Jon Hoffman

Discussion  - 
 
SwiftyBones is a modular Swift library for interacting with both the digital GPIO and Analog pins on the BeagleBone Black.  This library is written to make it easy to write Swift applications that run on the Beaglebone Black that interacts with external sensors, LED or any device connected to the Digital GPIO and/or Analog pins. 
2
Add a comment...

Samuel Bucquet

Discussion  - 
 
Hi,
It seems my pwm didn't initialise.
The only way I can see a signal on my scope is if the driver (kernel module) 'pwm_test' with the 'bone_pwm_P9_14' dtbo is loaded.
I tried everything I could find relevant to 3.8.13 and 4.1.X Linux kernels and I'm stuck, how can I address correctly the pwm ?

My bbb run with Debian Jessie official.
I updated all I could think of : dtc, kernel, dts files, ...
I'm lost !

1
Samuel Bucquet's profile photo
5 comments
 
OK, so I modified 'cape-universaln' dts file and recompiled and loaded after reboot and ... It is as if the gpio I commented (P9_23) is still declared by the dts. I commented all references to the gpio but I have still a conflict.
I double checked that it was the dts I modified which is loaded, I don't understand !
Did someone already encounter something like this ?
Add a comment...

Jon Hoffman

Discussion  - 
 
Have you wanted to use the Swift programming language to write applications on your BeagleBone Black? How about programming robotics with Swift? This blog post will show how I setup my BeagleBone Black to use Swift and also show how we can use the SwiftyGPIO package to interact with the digital GPIO ports on the BeagleBone Black.

Now that I have completed my three books on Swift (MasteringSwift, Mastering Swift 2 and Protocol Oriented Programming with Swift), I told my daughters that I would take a break from writing books for the summer. My oldest t...
3
Jezra's profile photo
Jezra
 
Awesome! Thanks for sharing.
Add a comment...

Deborah P

Discussion  - 
 
Grab this “Building a BeagleBone Black Super Cluster” guide - http://bit.ly/Free-Tech-Learning (available for free today).

What You Will Learn:
• Use the minimal configuration necessary to control your BeagleBone via a network
• Build your own scalable server rack and low-cost power supply
• Set up the network backbone and configure the boards for cluster interconnection
• Use FTP, Samba, or SCP for simple file transfers
• Configure the OpenMPI Message Passing Interface for cluster communication and ScaLAPACK for distributed calculation of mathematical problems
• Develop your own simulation software and visualize your data using a highly sophisticated physics simulation package
6
1
Karl-Hermann Höfkens's profile photoDeborah P's profile photoMohammed Almontaser's profile photo
2 comments
 
+Karl-Hermann Höfkens You are welcome :-)
Add a comment...

Hen Rik

Discussion  - 
 
We've created a Low-Latency Multichannel Audio System with 2 x 24 Bit stereo inputs and 4 x 24 Bit stereo outputs based on the BeagleBone Green and the AD1938 audio codec by Analog Devices Inc. The whole project is open source and can be used for DIY audio projects.
Open sourced hardware / software audio platform for DIY audio projects, such as effect devices for musicians. The audio system offers 2 x 24 Bit stereo ADCs, 4 x 24 Bit stereo DACs. and asynchronous sample rates up 192 kHz.
15
2
Thomas Laubach's profile photoDrew Fustini (pdp7)'s profile photoAnthony Kavassis's profile photo
3 comments
 
Exciting project!
Add a comment...

About this community

As embedded-computing enthusiast and as a fresh owner of a Beaglebone Black device I want to share with other developers my comments about the platform.

Jon Hoffman

Discussion  - 
 
BuddyBot, the first robot programmed in the Swift programming language with SwiftyBones, just got some more upgrades.  The first being a second MaxSonar_EZ2 range finder so it can decide which way to turn when it detects an object in front of it.  The rest of the upgrades were cosmetic like a new top tray that holds the breadboard in place, two new indicator LEDs so it now has three and a new start button. 

BuddyBot, the first robot programmed in the Swift programming language with SwiftyBones, just got some more upgrades. The first being a second MaxSonar_EZ2 range finder so it can decide which way to turn when it detects an o...
1
Add a comment...

Deborah P

Discussion  - 
 
Build a home security with this #BeagleBone free eBook - http://bit.ly/Free-Tech-Learning (available only today) .

• Build your own state-of-the-art security system
• Monitor your system from anywhere you can receive e-mail
• Add control of other systems such as sprinklers and gates
• Save thousands on monitoring and rental fees
2
5
Mohammed Almontaser's profile photoPeter Hillyard's profile photo
Add a comment...

Jon Hoffman

Discussion  - 
 
The first robot programed in Swift with SwiftyBones

This may be the first robot programming entirely in the Swift programming language.  I programmed it as an example of what can be done using Swift with the new SwiftyBones library and the BeagleBone Black. Right now it does not do that much but my daughter and I will hopefully be expanding it to do more
4
E. LeFort's profile photo
 
Keep up the good work!
Add a comment...

Jon Hoffman

Discussion  - 
 
In my earlier posts that should how to use Swift with the Beaglebone Black I used the SwiftyGPIO library to interact with digital GPIO ports.  While using digital GPIO ports can be very powerful the Beaglebone Black also has analog ports.  In this post I will show how we can use the TMP36 temperature sensor with an analog port to determine the temperature.
In my earlier posts that should how to use Swift with the Beaglebone Black I used the SwiftyGPIO library to interact with digital GPIO ports. While using digital GPIO ports can be very powerful the Beaglebone Black also has ...
3
Add a comment...

Jams Mendez

Discussion  - 
 
¿As you can enable UART port ArchLinux ARM in BeagleBone Black?
1
Add a comment...

Jon Hoffman

Discussion  - 
 
When we remotely connect to a BeagleBone Black we generally SSH into them over a WiFi or wired network.  There are several drawbacks to using a WiFi or wired network connection with a BeagleBone Black especially with robotic projects.  In this post I will demonstrate how we can use 6LoWPAN over Bluetooth Smart to connect two BeagleBone Blacks together.  This will allow us to use standard Internet technologies like SSH or HTTP over a Bluetooth connection. 
When we remotely connect to a BeagleBone Black we generally SSH into them over a WiFi or wired network. There are several drawbacks to using a WiFi or wired network connection with a BeagleBone Black especially with robotic ...
3
Add a comment...

GadgetExplained

Discussion  - 
 
You can receive radio signals anywhere in the 10 kHz to 30 MHz frequency spectrum, and up to 4 different Internet users can be connected at the same time! http://www.gadgetexplained.com/2016/03/how-to-turn-beaglebone-into-web-based.html
7
2
Larry Gadallah's profile photoNanik T's profile photo
Add a comment...

Stefan Krüger

Discussion  - 
 
Hello,

short question, does exist a cape where i can connect a Temperaturesensor like DS18S20 via cable directly?
1
Stefan Krüger's profile photoDrew Fustini (pdp7)'s profile photo
3 comments
 
+Stefan Krüger I think you need a resistor to act as a pull-up: http://www.bonebrews.com/temperature-monitoring-with-the-ds18b20-on-a-beaglebone-black/  But you could make a cable where at one end there is the 4.7k ohm resistor soldered and covered in heatshrink
Add a comment...

Rahul Gupta

Discussion  - 
 
Trying to Build kernel for Beaglebone Black::

This what I am doing...

Created 2 partion on SD Card:

1. FAT32 50MB BOOT
2. EXT3 1000MB ROOTFS

Downloaded u-boot

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_boneblack_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

This will generate MLO & u-boot

After what I need to do ? Do I need to copy this to /media/sdcard/boot ?


Downloaded BB-Kernel

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- bb.org_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage dtbs LOADADDR=0x80008000 -j8

Copied “uImage” file from /arch/arm/boot and also “am335x-boneblack.dtb” file from “arch/arm/boot/dts/” to /media/sdcard/boot

Download Rootfs for BB

Extracted rootfs file to /media/sdcard/rootfs
then
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules -j8

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=/media/sdcard/rootfs modules_install

Now inserted sdcard in BB , its not booting ....

Where I am going wrong ?
2
1
Drew Fustini (pdp7)'s profile photoTomasz Medenecki's profile photo
Add a comment...