PyBBIO is a Python library for hardware IO support on the TI Beaglebone.  
https://github.com/graycatlabs/PyBBIO/wiki

(/usr/local/lib/PyBBIO/examples)



[ 1 comment ]   |  [ 0 trackbacks ]   |  permalink
BBB Beaglebone Essentials 
Wisdom for BBB
https://graycat.io/


Device tree overlay and support scripts for using most available hardware I/O on the BeagleBone without editing dts files or rebuilding the kernel
https://github.com/cdsteinkuehler/beaglebone-universal-io

A GUI for the BB universal IO
https://github.com/strahlex/BBIOConfig



https://www.youtube.com/watch?v=By9foc1iJ3Q

https://github.com/cdsteinkuehler/beaglebone-universal-io/blob/master/config-pin

http://beagleboard.org/static/PumpingSt ... s.pptx.pdf

rotary encoders pinout
https://graycat.io/blog/



[ 1 comment ]   |  [ 0 trackbacks ]   |  permalink
KiCad won't load footprints [fixed] 
"Errors were encountered loading footprints
IO_ERROR: http GET command failed
Cannot get/download Zip archive:

https://bugs.launchpad.net/kicad/+bug/1520376

fix:

https://raw.githubusercontent.com/KiCad/kicad-library/master/template/fp-lib-table.for-pretty


[ 1 comment ]   |  [ 0 trackbacks ]   |  permalink  |  related link
Reflow Kit V3 PRO 
https://www.beta-estore.com/rkuk/order_product_details.html?p=624

[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Krabičky 
http://sesmil.pl/en-kontakt.html

http://www.ztc.cz/?go=odkazy&id=47

http://www.schroff.biz/frontpanelexpress/index.html

http://cz.rs-online.com/web/p/regalove- ... a/6657661/

http://cz.rs-online.com/web/p/lepici-dr ... -_-0609297


[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Plechové krabičky přístrojové 
http://www.gme.cz/u-kk09-455-p072-203

[ 1 comment ]   |  [ 0 trackbacks ]   |  permalink
BBB and serial communication 
https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/uart


http://bradsmc.blogspot.cz/2013/05/exam ... tween.html

import serial
import time
import datetime
import re

serial = serial.Serial("/dev/ttyO1", baudrate=38400)

resp = ""

while True:
while (serial.inWaiting() > 0):
data = serial.read()
resp += data
if "\r\n" in resp:
now = datetime.datetime.now()
timestamp = "%02d/%02d/%d %02d:%02d:%02d" % \
(now.month,now.day,now.year,now.hour,now.minute,now.second)
matchObj = re.match(r'\^([0-9A-F]+)\r\n', resp)
print matchObj.group(1)
resp = ""
serial.flush();
serial.write(matchObj.group(1) + " OK: " + timestamp + "\n")


Return the number of chars in the receive buffer.
http://pyserial.sourceforge.net/pyseria ... .inWaiting



[ add comment ]   |  [ 0 trackbacks ]   |  permalink
python: convert variable into listo of bytes 
>>> hex_str = "0xffff"
>>> list(struct.pack('!I', int(hex_str, 16)))
['\x00', '\x00', '\xff', '\xff']
>>> list(struct.pack('I', int(hex_str, 16)))
['\xff', '\xff', '\x00', '\x00']


list(bytearray(struct.pack('!I', int(hex_str, 16))))


>>> list(bytearray(struct.pack('!I', 65534)))
[0, 0, 255, 254]


>>> list(bytearray(struct.pack('!H', 65534)))
[255, 254]



x pad byte no value
c char string of length 1 1
b signed char integer 1 (3)
B unsigned char integer 1 (3)
? _Bool bool 1 (1)
h short integer 2 (3)
H unsigned short integer 2 (3)
i int integer 4 (3)
I unsigned int integer 4 (3)
l long integer 4 (3)
L unsigned long integer 4 (3)
q long long integer 8 (2), (3)
Q unsigned long long integer 8 (2), (3)
f float float 4 (4)
d double float 8 (4)
s char[] string
p char[] string
P void * integer (5), (3)


[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Learn and Understand AngularJS 
Master AngularJS and the Javascript concepts behind it, design custom directives, and build a single page application.

https://www.udemy.com/learn-angularjs/?couponCode=YOUTUBE119

[ 1 comment ]   |  [ 0 trackbacks ]   |  permalink  |  related link
BBB 
Enable the I2C devices on the BeagleBone Black
http://beaglebone.cameon.net/home/i2c-devices


PyBBIO, PinMux
https://github.com/graycatlabs/PyBBIO/wiki
https://github.com/graycatlabs/PyBBIO

Pinmux Map
http://www.element14.com/community/thre ... hread=true



[ 1 comment ]   |  [ 0 trackbacks ]   |  permalink

<<First <Back | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Next> Last>>