froy has quit [Quit: kablam!]
Ironflix has quit [Ping timeout: 250 seconds]
rneese has joined #cubieboard
rneese has left #cubieboard [#cubieboard]
kivutar has quit [Quit: Ex-Chat]
montjoie has quit [Ping timeout: 256 seconds]
guruz has quit [Ping timeout: 244 seconds]
guruz has joined #cubieboard
montjoie has joined #cubieboard
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
kwon has joined #cubieboard
smccarthy has joined #cubieboard
Freyr_ has joined #cubieboard
Freyr_ has quit [Read error: Connection reset by peer]
Freyr_ has joined #cubieboard
Freyr has quit [Ping timeout: 255 seconds]
[7] has quit [Disconnected by services]
TheSeven has joined #cubieboard
kwon has quit [Remote host closed the connection]
_whitelogger_ has joined #cubieboard
NamanG has joined #cubieboard
maybethistime has joined #cubieboard
maybethistime has joined #cubieboard
Celia_ has joined #cubieboard
anunnaki_ has quit [Ping timeout: 256 seconds]
FergusL has quit [Read error: Connection reset by peer]
anunnaki_ has joined #cubieboard
rm has quit [Ping timeout: 256 seconds]
rm has joined #cubieboard
rm has quit [Changing host]
rm has joined #cubieboard
smccarthy has quit [Quit: Leaving...]
nils2 has joined #cubieboard
nils_2 has quit [Ping timeout: 264 seconds]
nils2 is now known as nils_2
tyil is now known as tyil|afk
sassmann has joined #cubieboard
maybethistime has quit [Quit: Leaving.]
popolon has joined #cubieboard
weltall has joined #cubieboard
tyil|afk is now known as tyil
suhanc has joined #cubieboard
kivutar has joined #cubieboard
FR^2 has joined #cubieboard
tyil is now known as tyil|afk
initbrain has joined #cubieboard
old-papa has quit [Ping timeout: 265 seconds]
old-papa has joined #cubieboard
rvalles has quit [Ping timeout: 240 seconds]
rvalles has joined #cubieboard
rvalles has quit [Excess Flood]
rvalles has joined #cubieboard
tyil|afk is now known as tyil
tyil is now known as tyil|afk
quitte has joined #cubieboard
premoboss has joined #cubieboard
dromer is now known as dreamer
dreamer has quit [Changing host]
dreamer has joined #cubieboard
kwon has joined #cubieboard
kwon has quit [Ping timeout: 256 seconds]
GargantuaSauce_ has joined #cubieboard
focus has quit [Ping timeout: 266 seconds]
GargantuaSauce has quit [Ping timeout: 264 seconds]
focus has joined #cubieboard
Ryp has joined #cubieboard
<Ryp> hi ! does anyone here use his cubie for reading data on gpio ?
JohnDoe_71Rus has joined #cubieboard
kwon has joined #cubieboard
<Ryp> i'm trying to connect an wiegand RFID reader on my board but the interrupt speed seems too slow
<premoboss> Ryp, did you tru to use the UART (one of) of the CB?
<Ryp> premoboss: not at all, I used simple gpios (ph15 and ph14) and listened to IRQ
<Ryp> is UART compatible with a Wiegand protocol ?
<premoboss> i dont know, i dont know the module you talk about.
<premoboss> it is enouugh to read/force the status of sime pins in sequece ot it is necessary to respect a protocol? (SPI, i2c, etc)
<Ryp> I could read at a certain rate on the pins, but i'm not sure if the reading will be reliable that way
<Ryp> the wiegand protocol use two wires (Data+ and -) and send short impulses on them
<Ryp> in my case the communication is unidirectionnal
<Ryp> I read what the card reader feeds me. I'm supposed to get around 26bits of data
<Ryp> I'm not very used to SPI / UART or other low level protocols, could the UART help me achieve this you think ?
<premoboss> Ryp, i cannot answr you cos i dont know the protocol needed bywiegand. if you know the sequence of impulses, you can do it manually writind the sequnece of "pin_up", "pin_down" of the two wires.
<Ryp> the impulses are sent by the reader
<Ryp> there is not much of a protocol, the reader just sends small bursts of data when it reads on a RFID card
<premoboss> Ryp, so the CB must hear? not send impulse?
<premoboss> ok i understand now.
<premoboss> so you must set CB as "listender" on trend of impulse.
<Ryp> premoboss: exactly
<premoboss> ok
<premoboss> what are thye speed of impulse? i mean, ine impulse every (i.e.) 10ms?
<premoboss> there is a clock that detemine the speed (as SPI) or there is a fixed speed (as UART)?
<Ryp> every 2ms between falling edges
<Ryp> there is no clock sync between the two ends
tomboy64 has quit [Remote host closed the connection]
<premoboss> sso you have to champion the logica leve elvery 2ms. an option is to set an interrupt to do thyat.
<Ryp> but; my reader is supposed to keep a 500bits/sec rate
tomboy64 has joined #cubieboard
<premoboss> no problem, 500 b/s is a veri low speed, you can do both with interupt or simply doind a continuois polling of the pin.
<premoboss> read the ping every 1ms so you are sure to ear all. after that, you can read the sequence of 0-1 value and "rebuild" the string.
<Ryp> the code I used works very well with a raspberry using the same wiring
<Ryp> I don't get why i get garbage readings ( 5-6 bits only )
<premoboss> Ryp, are you suse you set the GPIO correctly? to try that, force the pi to 0 or to 1 (do a short to GRD or to 3V3. aftet that, reaad the value and verify it is correct.
<premoboss> suse=sure
<Ryp> I did that test already
<Ryp> because I also wired a button
<Ryp> maybe its a difference in the internal resistor or default pull-up-down behavior between pi and cubie ?
<Ryp> (I wish i could get an oscilloscope)
<premoboss> both of them works in 0-3V3. what are the levoe of the module?
<Ryp> +5V (i used a simple voltage divider with 10k - 20k resistor)
NamanG has quit [Quit: Connection closed for inactivity]
<premoboss> ok
<premoboss> at this point i ave no idea more...
laurent\_ is now known as laurent\
<Ryp> with my voltage divider i get a 2.5V in input
<Ryp> is it sufficient ?
<premoboss> bettter to reach at least 3V.
<Ryp> ok i'll modify resistor value
<premoboss> but you say 10k-20k so i suppose you reac 5V-33%=3.3V
<Ryp> yeah this is what I should get
<premoboss> but if you get 2.5V there are somehng frong. verify that bot 10 and 20k are _REALLY_ 10k and 20k resistors :-)
<Ryp> in fact I used 3 10k resistors xD
<premoboss> 2 of them must be in serie
<Ryp> yup
<premoboss> redo and try again.
<Ryp> the Data pin tend to be lower than 5V
<Ryp> i'll adjust my resistor values and test again
<Ryp> premoboss: ok so I got a proper 3.10V now
<premoboss> good.
<premoboss> what was the error on reistor scheme?
<Ryp> I powered the reader on the 5V pins of the cubie
<Ryp> on the raspberry i was enough
<Ryp> not here so I plugged the 12V
<Ryp> 4.9V for the data pins now
<premoboss> goon. now the signal levels should be clean enough. redo your test.
<Ryp> mmmh
<Ryp> i get no edges anymore now
<Ryp> i think the low voltage is not 0V at all
Ironflix has joined #cubieboard
<Ryp> ok now I see a little bit clearly. My reader is supplied in 12V. and the data pins have 5V relative to the GND
<Ryp> however, the reader and the cubie have a ~1.5 difference GND to GND
<Ryp> is that normal ?
<Ryp> so the actual reading i of the gpio is ~1.4V
<Ryp> premoboss: how can I balance the voltage now ?
<premoboss> you cannot mix 12V, 5V and 3V3
<premoboss> if there is a differenve beteen the 2 GRD, in menas tha there are somethin wtong.
Celia_ is now known as FergusL
<Ryp> 12V is only used to power the reader, the wires used for reading are 5V
<premoboss> ok.
<premoboss> the probme is tu
<premoboss> is to find tere the problem is.
<premoboss> can you simulate the module output using another CB?
<Ryp> yeah i could
<Ryp> even with the same cubieboard
<Ryp> didn't try that
<premoboss> if you can emulate and it works is ok. it menas the the problmen is elsewere. but not user the same cb, use the raspeberry to generate impulses.
<Ryp> i've got two cubie and a pi
<Ryp> gonna grab lunch and do that
<Ryp> thanks for your help premoboss, very appreciated
<premoboss> look, the emulation mst be done withy 2 DIRRETENT sistem, not on the same one. so use cb+cb or cb+rb
<premoboss> u welcome bye
deasy has joined #cubieboard
quitte has quit [Ping timeout: 245 seconds]
casaper has joined #cubieboard
<casaper> Hi there. Does any of you know any alternatives to shairport? Something that would also allow to serve Airplay for example.
casaper has quit [Quit: Computer has gone to sleep.]
casaper has joined #cubieboard
<Ironflix> hi, i think i have overwritten the complete nand including the original script.bin file by upgrading to the lubuntu desktop image (cubieboard 1) through Phoenix Suit. of course i have forgotten to backup the script.bin . is the script.bin in the image the one the cubieboard was originaly shipped with?
<Ironflix> i downloaded it from here http://cubieboard.org/download/
casaper has quit [Ping timeout: 272 seconds]
emx has joined #cubieboard
blsd has quit [Remote host closed the connection]
kwon has quit [Remote host closed the connection]
kwon has joined #cubieboard
<Ryp> premoboss: fixed my wiring: still reading garbage
emx has quit [Ping timeout: 250 seconds]
johnnylintw has joined #cubieboard
JohnDoe_71Rus has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
kwon has quit [Ping timeout: 240 seconds]
ricardocrudo has joined #cubieboard
ricardocrudo has quit [Remote host closed the connection]
ricardocrudo has joined #cubieboard
casaper has joined #cubieboard
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
Guest58637 is now known as keebler
keebler has joined #cubieboard
keebler has quit [Changing host]
rneese has joined #cubieboard
issue_ has joined #cubieboard
NamanG has joined #cubieboard
smccarthy has joined #cubieboard
casaper has quit [Quit: Computer has gone to sleep.]
casaper has joined #cubieboard
casaper has quit [Client Quit]
casaper has joined #cubieboard
suhanc has quit [Read error: Connection reset by peer]
casaper has quit [Ping timeout: 250 seconds]
suhanc has joined #cubieboard
blsd has joined #cubieboard
smccarthy has quit [Quit: Leaving...]
buZz has quit [Read error: Connection reset by peer]
buZz has joined #cubieboard
old-papa-work has joined #cubieboard
<premoboss> Ryp, i duno how to do, sorry.
nils_2 has quit [Ping timeout: 256 seconds]
<Ryp> meh, no problem mate =)
<premoboss> Ryp, i think again: ig there are difference of foltage between the two GRD, sometrhin is wrong.
nils_2 has joined #cubieboard
<Ryp> I guess so :/
<Ryp> but right now my wiring seems normal
<Ryp> I'm too lazy to make my raspi output debug wiegand, so i'm just retrying the actual wiring with a pi
<Ryp> damn those pi's are Slooww (also too lazy to setup distcc)
Ryp has quit [Quit: Leaving.]
quitte has joined #cubieboard
nighty-_ has joined #cubieboard
suhanc has quit [Remote host closed the connection]
Ironflix has quit [Ping timeout: 250 seconds]
sassmann has quit [Ping timeout: 255 seconds]
casaper has joined #cubieboard
emx has joined #cubieboard
premoboss has quit [Remote host closed the connection]
casaper has quit [Ping timeout: 272 seconds]
emx has quit [Quit: No characters left]
froy has joined #cubieboard
tyil|afk is now known as tyil
maybethistime has joined #cubieboard
maybethistime has joined #cubieboard
maybethistime has quit [Client Quit]
maybethistime has joined #cubieboard
maybethistime has joined #cubieboard
maybethistime has quit [Changing host]
tyil is now known as tyil|afk
rneese has joined #cubieboard
rneese has left #cubieboard [#cubieboard]
smccarthy has joined #cubieboard
tat has quit [Remote host closed the connection]
maybethistime has quit [Ping timeout: 245 seconds]
deasy has joined #cubieboard
nighty-_ has quit [Ping timeout: 255 seconds]
deasy has quit [Client Quit]
tat has joined #cubieboard
ssvb has quit [Ping timeout: 250 seconds]
FR^2 has quit [Quit: Connection reset by peer]
ssvb has joined #cubieboard
rz2k has joined #cubieboard
casaper has joined #cubieboard
casaper has quit [Ping timeout: 240 seconds]
fossxplorer has quit [Remote host closed the connection]
fossxplorer has joined #cubieboard
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #cubieboard
nighty-_ has joined #cubieboard
FR^2 has joined #cubieboard
nighty-_ has quit [Ping timeout: 250 seconds]
nighty-_ has joined #cubieboard
old-papa-work has quit []
old-papa-work has joined #cubieboard
premoboss has joined #cubieboard
rneese has joined #cubieboard
rneese has left #cubieboard [#cubieboard]
deasy has joined #cubieboard
casaper has joined #cubieboard
casaper has quit [Ping timeout: 256 seconds]
nighty-_ has quit [Ping timeout: 272 seconds]
tat has quit [Remote host closed the connection]
tat has joined #cubieboard
nighty-_ has joined #cubieboard
<old-papa-work> hope someone is here, can the cubie send a break like 100 ms on the Tx line no pulse, true break?
<old-papa-work> Or is it like the arduino.
tat has quit [Remote host closed the connection]
Thorn__ has joined #cubieboard
kivutar has quit [Quit: Ex-Chat]
Thorn has quit [Ping timeout: 260 seconds]
slacko25328 has joined #cubieboard
slacko25328 has quit [Remote host closed the connection]
casaper has joined #cubieboard
fossxplorer has quit [Ping timeout: 264 seconds]
smccarthy2 has joined #cubieboard
rz2k has quit []
smccarthy has quit [Ping timeout: 255 seconds]
rvalles has quit [Ping timeout: 255 seconds]
premoboss has quit [Quit: Sto andando via]
smccarthy has joined #cubieboard
GargantuaSauce_ has quit [Read error: Connection reset by peer]
GargantuaSauce has joined #cubieboard
FR^2 has quit [Quit: Leaving]
smccarthy2 has quit [Ping timeout: 240 seconds]
rvalles has joined #cubieboard
NamanG has quit [Quit: Connection closed for inactivity]
tyil|afk is now known as tyil
ricardocrudo has quit [Remote host closed the connection]
ricardocrudo has joined #cubieboard
ricardocrudo has quit [Remote host closed the connection]
tomboy64 has quit [Ping timeout: 264 seconds]
rooted has joined #cubieboard
tomboy64 has joined #cubieboard
smccarthy has quit [Quit: Leaving...]
issue_ has quit [Remote host closed the connection]
popolon has quit [Quit: Quitte]