#avr | Logs for 2015-12-08

Back
[04:58:16] <jben> hi guys
[04:58:56] <jben> I need to have reliable transmission between points
[05:01:17] <jben> I am think of using LDPC codes, with lookup table decoding (because I don't want the xmega do the job), so something like n=16, k=8, corresponding to a 1/2 ratio, and the lookup table will use 64 KiB (of flash)
[05:10:08] <RikusW> hi, what about differential lines ?
[05:10:21] <RikusW> and how far apart is said two points ?
[05:17:39] <jben> RikusW: I already use differential lines for transmition (RS-485 to be precise) when I use a wire
[05:18:15] <jben> but some transmition are on wireless (433 MHz), and I (can) have a lot of noise
[05:37:55] <LeoNerd> Somw form of ECC is good
[05:38:26] <LeoNerd> 16/8 I'd say is slightly overkill though ;) I'd lilely vote 12/8 for size concerns
[05:40:54] <LeoNerd> Or even good old 10/8 of some flavour
[06:02:33] <jben> LeoNerd: I was thinking of 16/8, for conserving the bytes shape, and for working in the byte level
[06:02:45] <jben> but it is not mandatory
[06:03:21] <jben> which ECC would you use?
[06:05:04] <LeoNerd> Well, depends on the error shape of the channel
[06:05:32] <LeoNerd> If it suffers from random single-bit uncorrelated errors, then anything Hamming-based should be fine
[06:06:20] <jben> I think it is, but really I should do some measurments to be sure.
[06:06:42] <jben> It is the first time I think of using that
[06:07:37] <jben> and in reality, for my application the lose of some message is not a problem, maybe a checksum and ignore messages with bad checksum can be sufficiant
[06:18:43] <Lambda_Aurigae> I like the triple transmission....send everything forward, then send it backward(reversing the bit order), then send it forward again with the bits inverted...but, I'm just strange.
[06:21:51] <Lambda_Aurigae> http://chuckleaduck.com/comic/so-crack-those-books/
[06:57:49] <uramhoaH> put a police officer there, to beat whoever corrupts the data
[07:57:10] <mee> helloww
[07:57:16] <mee> is anybody there?
[08:00:57] <LeoNerd> 171 people are here
[08:01:00] <LeoNerd> If you have a question, ask it
[08:10:21] <mee> Ah thank you LeoNerd
[08:10:56] <mee> um I'm trying to find pinout of old Laptop's keyboard ic
[08:11:09] <mee> but I coudn't find any datasheet of it
[08:11:38] <mee> I'll post a picture of it in a minute
[08:12:16] <mee> If you people coud advise something to me, that could be a big help
[08:12:46] <mee> Parex Company from taiwan, the Chip's name is c65324-ftd
[08:12:56] <LeoNerd> Looking for pinouts, I usually just type numbers into google and see what pops up
[08:13:31] <mee> yeah i did but that chip was manufactured in 90's so nothing pops up
[08:13:49] <mee> I googled 2 weeks..
[08:14:09] <LeoNerd> Then you may be out of luck
[08:14:18] <LeoNerd> Also I'm not sure what this has to do with AVRs yet... ;)
[08:14:48] <mee> ;0
[08:15:18] <mee> I'm uploading pics.. wait a min!
[08:19:34] <mee> https://drive.google.com/file/d/0B9YVNchUBqvtbEJ5ZV9nMjNkTHc/view?usp=sharing https://drive.google.com/file/d/0B9YVNchUBqvtblNzeVAzdkk4aE0/view?usp=sharing https://drive.google.com/file/d/0B9YVNchUBqvtRlBBellDeER5RVU/view?usp=sharing https://drive.google.com/file/d/0B9YVNchUBqvtUlhvNzE5NEIweHM/view?usp=sharing
[08:19:44] <mee> those are the pics I've taken
[08:21:25] <mee> IC picture in black and white is where I could measure resistance that is lower than 10 Ohm
[08:21:29] <mee> between rainbow wires and IC pins
[08:21:50] <mee> Any advices are welcome
[09:27:29] <twnqx> mee: "forget it"
[09:28:14] <twnqx> asian companies *might* sell you a fdatasheet if you agree to buy 100k chips
[09:28:54] <twnqx> and something like a keyboard is too simple to have schematics somewhere
[09:29:28] <twnqx> but for a 20 years old chip? lol
[09:31:32] <twnqx> even baidu finds nothing
[09:32:01] <twnqx> probably not even the vendor has it any more
[09:34:15] <twnqx> but likely it will be a ps/2 connection to the laptop and a x/y matrix for scanning the keys + maybe LED driver for numlock/capslock/scroll lock
[09:43:38] <mee> oh my god
[09:43:42] <mee> thank you so much
[09:43:58] <mee> I'll try!
[09:44:24] <mee> Let's take out ps2 connector from the motherboard
[09:44:25] <mee> lol
[09:44:55] <LeoNerd> I wouldn't be half surprised if you did find the datasheet and find it's some generic MCU anyway
[09:45:19] <LeoNerd> Lots of keyboards use(d) 8051s
[09:49:46] <mee> oh really?
[09:49:48] <mee> hmm
[09:50:07] <mee> keyboard PCB has external PS/2 ports and I found a pin
[09:50:35] <mee> ext.keyboard - pcbconnector - arduino works perfect
[09:50:54] <mee> so the rest of pins might be...
[09:58:53] <mee> oh my god rectangles are coming out
[09:58:56] <mee> love it
[09:59:01] <mee> thank you so much
[10:14:31] <rue_house> #define SetBit(BIT, PORT) (PORT |= (1<<BIT))
[10:14:31] <rue_house> #define ClearBit(BIT, PORT) (PORT &= ~(1<<BIT))
[10:15:51] <LeoNerd> No _BV ?
[10:19:31] <sabor> #define __AVRPORT_SET(p,b) PORT##p |= 1<<b
[10:19:32] <sabor> #define AVRPORT_SET(x) __AVRPORT_SET(x)
[10:19:32] <sabor> AVRPORT_SET(B,3)
[10:19:33] <sabor> :)
[10:20:36] <LeoNerd> So.. no then
[10:22:11] <sabor> yes ;)
[10:36:44] <nuxil> evening..
[10:37:58] <nuxil> its a sad day for me :(
[10:38:01] <nuxil> i managed to fry my only ATtiny85 i had :(
[10:38:16] <LeoNerd> Unfortunate.. :/ how'd that happen?
[10:38:17] <nuxil> ordered 5 new ones tho :p
[10:38:27] <LeoNerd> Ahyes; I tend to order everything in at least 5s these days
[10:38:40] <LeoNerd> Got a stack of 328PUs turning up sometime
[10:38:57] <nuxil> well. lol.. after i burnt it. and placed it on the the breadboard.. i managed to set it the wrong way.. duh..
[10:39:23] <LeoNerd> Ah, totally inverted?
[10:39:32] <nuxil> burnt it as in.. programed it.
[10:39:35] <nuxil> yea
[10:39:55] <LeoNerd> https://www.tindie.com/products/bot_thoughts/eezee-tiny-breakout-programming-board-kit/ <== you should get yourself one of these
[10:40:09] <LeoNerd> You can breadboard the '85 in that, and it gives you the ISP header so you don't have to replug it
[10:40:32] <LeoNerd> I have the full set of those from him; 8, 14, and 20pin ATTiny boards, and the 841
[10:40:52] <nuxil> ah.. nice.. i'll def get one of thouse.
[10:40:54] <nuxil> or 2
[10:51:28] <LeoNerd> I pointed him in the direction of the shiney 1634 so maybe we'll get one of those soon too :)
[12:48:06] <jdiez> Has anyone here used an OV7670 camera module? I'm having trouble getting images out of it. Dumping image data over serial atm, and have a small SDL program that should show frames.