[ add comment ] ( 2 views ) | [ 0 trackbacks ] | permalink
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 ] ( 2 views ) | [ 0 trackbacks ] | permalink
http://www.gme.cz/u-kk09-455-p072-203
[ add comment ] ( 2 views ) | [ 0 trackbacks ] | permalink
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 ] ( 2 views ) | [ 0 trackbacks ] | permalink
>>> 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
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
[ add comment ] | [ 0 trackbacks ] | permalink | related link
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
[ add comment ] | [ 0 trackbacks ] | permalink
optimal resistor accuracy while building DAC - R2R ladder
----------------------
12 bit R2R =
2^12 = 4092
precission of a single resistor
(1/4092)*100 = 0,025
10 bit ladder requires 0.025% precission resistors
----------------------
10 bit R2R =
2^10 = 1024
precission of a single resistor
(1/1024)*100 = 0,09765625
10 bit ladder requires 0.1% precission resistors
----------------------
9 bit R2R =
2^9 = 512
precission of a single resistor
(1/512)*100 = 0,19%
----------------------
8 bit R2R =
2^8 = 256
precission of a single resistor
(1/256)*100 = 0,39%
----------------------
7 bit R2R =
2^7 = 128
precission of a single resistor
(1/128)*100 = 0,78125%
---------------------------
6 bit R2R = 64
2^6 = 64
precission of a single resistor
(1/128)*100 = 1,5625%
---------------------------
[ add comment ] | [ 0 trackbacks ] | permalink | related link
http://pcbshopper.com/
EEVblog PCB manufacturing
https://www.youtube.com/watch?v=Uemr8xaxcw0
pcb+stencil
http://www.shenzhen2u.com/PCB
[ add comment ] | [ 0 trackbacks ] | permalink | related link
http://hackaday.io/project/1662-global- ... ng-network
text
[ add comment ] ( 1 view ) | [ 0 trackbacks ] | permalink | related link