**** BEGIN LOGGING AT Wed Aug 02 03:00:01 2017 Aug 02 15:43:16 moin Aug 02 15:43:54 thetransformerr[: i don't see where you documented the lab tests Aug 02 15:45:13 hi all :) Aug 02 15:48:11 lab tests? I still have to build a interafce with real sensors apart from that Aug 02 15:48:23 what should I add on github Aug 02 15:48:26 wiki Aug 02 15:49:10 and by this week we might be able to create a interface also Aug 02 15:56:39 <_av500_> 5 min Aug 02 15:57:40 whatever you hooked up and tested would be nice to document Aug 02 15:58:16 okk I would be doing it by tomm Aug 02 15:58:17 kinda like the silly graphic i made for the saleae analyzer Aug 02 15:58:50 that was great , i would like it then Aug 02 15:59:22 hello everyone :) Aug 02 16:01:01 hi Aug 02 16:01:39 ding Aug 02 16:01:52 _av500_: you lost 1 minute somewhere Aug 02 16:02:07 * nerdboy looks under the sofa cushions Aug 02 16:02:17 hi Aug 02 16:02:33 <_av500_> aloo Aug 02 16:02:39 <_av500_> 1) welcome everybody Aug 02 16:02:45 <_av500_> do we have students? Aug 02 16:02:50 <_av500_> mentors? Aug 02 16:02:54 <_av500_> nerdboys? Aug 02 16:03:00 some at least Aug 02 16:03:57 yes, I'm here Aug 02 16:04:03 Hi all Aug 02 16:04:10 <_av500_> 3 Aug 02 16:04:23 4 actually Aug 02 16:04:30 present Aug 02 16:04:42 <_av500_> 5 Aug 02 16:05:08 are we short one report? Aug 02 16:05:17 *and one student... Aug 02 16:05:33 yes, mine, I'm late with report Aug 02 16:06:01 I will post it after meeting Aug 02 16:06:39 <_av500_> and ee ? Aug 02 16:06:43 <_av500_> ee: ping Aug 02 16:06:47 <_av500_> I see no report Aug 02 16:07:09 <_av500_> maciejjo: the report is due tuesday in theory :) Aug 02 16:07:49 _av500_: I know, sorry for delay Aug 02 16:07:57 who's on first this week? Aug 02 16:08:00 <_av500_> 5 students, 4 reports Aug 02 16:08:03 <_av500_> losing coherence :) Aug 02 16:08:08 <_av500_> 2) reports Aug 02 16:08:13 <_av500_> as said, they are due tuesday Aug 02 16:08:20 <_av500_> next year I will make it monday ;) Aug 02 16:08:41 <_av500_> then in 5 years they will be due a week early..... Aug 02 16:08:47 kinda like real weekly status reports Aug 02 16:09:13 where we had to foecast friday and turn them in fri morning Aug 02 16:10:18 <_av500_> ok, so anybody blocked in any way? Aug 02 16:10:26 <_av500_> maciejjo: ? Aug 02 16:10:29 <_av500_> ee: ? Aug 02 16:10:34 nope Aug 02 16:10:39 no, I'm ok Aug 02 16:10:40 <_av500_> we are nearing the end Aug 02 16:10:43 no, fine here Aug 02 16:10:48 <_av500_> so please shout if you need anyting Aug 02 16:10:55 no, it's fine Aug 02 16:11:01 yup, time flies like an arrow Aug 02 16:11:17 *fruit flies like a banana... Aug 02 16:11:34 no blockers Aug 02 16:11:53 * nerdboy checks off old pun for the day Aug 02 16:11:56 * jkridner will only be around a few minutes again, unfortunately Aug 02 16:12:12 <_av500_> ok, so 5 students here present and unblocked Aug 02 16:12:38 <_av500_> so I guess we can move on Aug 02 16:12:48 <_av500_> ah, sorry forgot Aug 02 16:12:58 <_av500_> congrats everybody for making round two Aug 02 16:13:00 <_av500_> ! Aug 02 16:13:13 thanks :) Aug 02 16:13:13 thanks :) Aug 02 16:13:20 thanks Aug 02 16:13:21 thnks!! Aug 02 16:13:21 thanks mentors Aug 02 16:13:43 * jkridner apologizes to all for my inattentiveness. :( Aug 02 16:14:37 <_av500_> jkridner: will be converted into beer! Aug 02 16:14:42 <_av500_> or rather a bill for it :) Aug 02 16:14:51 :-) Aug 02 16:15:08 <_av500_> ok Aug 02 16:15:14 <_av500_> moving on Aug 02 16:15:22 <_av500_> forgot the number) standup reports Aug 02 16:15:27 <_av500_> who is on this week? Aug 02 16:15:30 <_av500_> nerdboy: ? Aug 02 16:16:17 me If i remember Aug 02 16:17:15 <_av500_> go on then :) Aug 02 16:17:22 ok Aug 02 16:18:15 so until now I have completed a software part for single axis sampling for sensors Aug 02 16:18:50 and tested it with using a sig generator for simulating sensor Aug 02 16:19:15 and scope for checking the pwm output and the sampled data Aug 02 16:20:07 currently i am working to extend this program for sampling two channels in prudaq, and Aug 02 16:20:17 get reading from temp sensor Aug 02 16:20:57 I have completed the logic part, but yet to remove the minor bugs Aug 02 16:21:23 like variable, data type and other thing Aug 02 16:21:54 last major task would be to create a interface, that I guess I would complete by this week Aug 02 16:22:20 using a circuit diagram for hc-sr04 type IC and op-amps etc. Aug 02 16:22:54 that's all I can summarize , and I would document my test setup with sig gen by tomm Aug 02 16:22:56 on github wiki Aug 02 16:23:43 any valuable suggestions or questions or anything Aug 02 16:23:56 as long as you limit the prudaq input signal to 0-2 V Aug 02 16:23:56 <_av500_> thanks for the report Aug 02 16:24:43 yeah I plan to use resistor for that, or something other you might suggest Aug 02 16:25:11 and I put pin inside header only after measuring voltage with dmm Aug 02 16:25:35 for now make sure your capture starts/stops with the pwm pulse (plus small delay) Aug 02 16:26:06 that's what the opamps are for Aug 02 16:26:36 filter/gain/voltage-limit on the input side Aug 02 16:27:07 okk sure, I supposed them mainly for gain or amplyfying weak signals Aug 02 16:27:17 anyway, next! Aug 02 16:27:23 <_av500_> yes! Aug 02 16:27:32 * nerdboy plays soup-nazi Aug 02 16:27:48 soup-nazi?? Aug 02 16:27:57 I guess next was indu ??? Aug 02 16:28:04 pmezydlo: maciejjo indu ? Aug 02 16:28:18 i Aug 02 16:28:24 i'm not sure but i can Aug 02 16:28:24 guess you need to google seinfeld Aug 02 16:28:46 my regular cycle is next week Aug 02 16:29:35 I always been with maciejjo Aug 02 16:30:15 * ravikp7 checks irc logs.. Aug 02 16:31:18 who's on first for real... Aug 02 16:31:18 <_av500_> indu if you followed the scheme last week Aug 02 16:31:34 <_av500_> pmezydlo and maciejjo last week? Aug 02 16:31:49 last week was ravi and ee Aug 02 16:31:54 I and ee had reports last week Aug 02 16:32:00 <_av500_> ah Aug 02 16:32:08 <_av500_> then pmezydlo and maciejjo would be this week Aug 02 16:32:11 this week pmezydlo and maciejjo Aug 02 16:32:21 <_av500_> ok, so pmezydlo or maciejjo Aug 02 16:32:31 <_av500_> since we had thetransformerr[ Aug 02 16:32:38 if i was supposed to keep track of everything we're in real trouble... Aug 02 16:33:06 <_av500_> ok, so pmezydlo or maciejjo? Aug 02 16:33:35 just ad-lib off the report Aug 02 16:33:43 ok I'm ready Aug 02 16:33:49 <_av500_> go Aug 02 16:33:55 Welcome on my short standup :) Aug 02 16:34:05 This week I have worked on UART ip core Aug 02 16:34:24 I have divided my work into 4 main tasks. The first task is to create uart transmitter ip block. Aug 02 16:34:33 The second task is to create uart receiver. Then I created fifo and connected everything into a single whole. Aug 02 16:34:48 My uart ip block support different data width (1-16) Aug 02 16:35:01 parity bit, two stops mode etc, diferent speed. Aug 02 16:35:08 It's very interesting ip block. I think :) Aug 02 16:35:23 All uart stuff was mapped in memory. Aug 02 16:35:32 Here is a memory map: https://github.com/pmezydlo/BeagleWire/blob/master/examples/uart/top.v#L166 Aug 02 16:35:45 I tested them all with use of a simple application using (/dev/mem). Aug 02 16:35:53 But now I want to write an uart driver Aug 02 16:36:03 In this week I had a lot of small interrupt. Aug 02 16:36:13 I tested each Ip block, Aug 02 16:36:17 I wrote documentation, Aug 02 16:36:22 I did a few fix etc Aug 02 16:36:49 When the uart driver will be done Aug 02 16:36:53 I will start working on I2c ip block Aug 02 16:36:54 what's the simplest existing driver? 8250? Aug 02 16:37:13 I'm not sure Aug 02 16:37:39 I seen atmel drive is simple Aug 02 16:37:52 Thats all :) Aug 02 16:38:30 do you have any questions? Aug 02 16:39:56 *crickets Aug 02 16:41:25 av500 : ping Aug 02 16:41:42 av500: now is silences, I talked something wrong? Aug 02 16:41:44 :) Aug 02 16:41:45 hmmm Aug 02 16:42:27 that was nice Aug 02 16:42:51 thanks Aug 02 16:42:58 so, prty is done for today Aug 02 16:45:47 pmezydlo: maybe look at drivers/tty/serial/sa1100.c Aug 02 16:46:13 looks like you only need to provide your platform_data header Aug 02 16:46:20 ok thanks Aug 02 16:46:31 all the rest is kernel stuff Aug 02 16:47:13 good samples are very helpful Aug 02 16:48:49 <_av500_> damn , my net dropped Aug 02 16:48:53 <_av500_> sorry, back Aug 02 16:49:10 <_av500_> pmezydlo: thanks Aug 02 16:49:46 np Aug 02 16:50:00 <_av500_> ok so Aug 02 16:50:13 <_av500_> next week its indu and maciejjo then Aug 02 16:50:20 <_av500_> indu: ^^ Aug 02 16:50:21 <_av500_> maciejjo: ^^^ Aug 02 16:50:22 ok Aug 02 16:51:19 <_av500_> ok, we lost indu Aug 02 16:51:24 <_av500_> anyway, moving on Aug 02 16:51:27 <_av500_> thanks everybody Aug 02 16:51:31 <_av500_> 7) anything else=? Aug 02 16:51:32 <_av500_> ? Aug 02 16:52:25 <_av500_> guess they all dropped out ;) Aug 02 16:52:37 <_av500_> 54) thank you all, see you next week Aug 02 16:52:40 not me yet Aug 02 16:52:42 thanks Aug 02 17:32:23 thetransformerr[: don't forget these examples => http://www.ecircuitcenter.com/Circuits/instamp1/instamp1.htm Aug 02 17:32:48 plus a tunable filter Aug 02 17:32:59 yeah sure Aug 02 17:35:49 i think you're short one opamp for two filters plus the inst amp Aug 02 17:36:15 so one filter will need to be passive Aug 02 17:36:37 okk Aug 02 17:37:01 that part is kinda important for both signal quality and not blowing up the prudaq Aug 02 17:37:24 *for you, me, anyone who comes after... Aug 02 17:37:30 especially me Aug 02 17:39:10 it should be "easy" to assemble/breadboard if well documented, plus there are spice models to match the examples, so... Aug 02 17:39:49 thetransformerr[: can you catch me up on why you are doing this in HW? Aug 02 17:41:05 I am not doing exactly like this, and we have to do this because I couldnt lay hands on maxq now Aug 02 17:41:22 and lastly we can atleast try if that works Aug 02 17:41:42 they all need some signal conditioning, maxq included Aug 02 17:42:04 *on the input side Aug 02 17:42:15 earlier I shared a circuit that is what I suppose I would do Aug 02 17:42:58 and also, since we are keeping tx as tx only not both tx and rx like we were earlier suposed to do Aug 02 17:43:01 anything still relevant should be on github Aug 02 17:43:22 it kinda simplified things we can do on h/w Aug 02 17:43:34 and yes everything will be on git wiki Aug 02 17:46:30 yay i got another mtg at 1100... Aug 02 17:59:49 the maxq shouldn't need it Aug 02 18:24:49 i meant input-to-prudaq Aug 02 18:25:19 but I still do need maxq Aug 02 18:25:31 so output-of-rx-sensor -> "conditioning" -> input-of-prudaq Aug 02 18:26:03 and I was actually replying to ds2:, Aug 02 18:26:08 did you measure the output of murata rx in the lab? Aug 02 18:26:28 * mr_science was also replying to ds2 ... Aug 02 18:27:07 ie, drive the murata tx with pwm and try to receive? Aug 02 18:28:00 sorry but i still hv to attach tx Aug 02 18:28:47 or you coud try to receive with hrs04 or whatever Aug 02 18:29:20 'k... just think doing filtering in SW is overkill Aug 02 18:29:44 for input to prudaq, a single stage op-amp should suffice Aug 02 18:30:10 i think the output of rx will be < 10 mV Aug 02 18:30:24 ds2: you are expert here, please mark down a possible circuit Aug 02 18:30:33 we need to know what it really is... Aug 02 18:30:37 that makes sense Aug 02 18:31:10 mtg got pushed to 1130 Aug 02 18:31:15 bbl... Aug 02 18:34:04 thetransformerr[: what does the PRUDAQ wnat as input? Aug 02 18:35:07 analog signal b/w 0-2 v , pretty much same as any adc Aug 02 18:35:11 Off the top of my head a 10-20x non inverting op-amp should do it. Use a LMV324 if you got that... Should run at 1.8V too so that should protect things if you drop the sensor Aug 02 18:35:25 i got lmv324 Aug 02 18:35:27 thetransformerr[: actually no.... there is no standard ADC input Aug 02 18:36:07 thetransformerr[: look up non-inverting op-amp...plenty of circuits along with formula for the gain... Aug 02 18:36:30 should make it easy to throw together (note the LM324 is less suitable, it wants a higher voltage Aug 02 18:36:33 * thetransformerr[ sent a long message: thetransformerr[_2017-08-02_18:36:32.txt Aug 02 18:37:33 yes, so run it off the 2V or 1.8V rail and that should give you over voltage protection Aug 02 18:38:01 problem with piezos is the voltage can spike if you slam it mechanically Aug 02 18:38:42 any rough diagram on pastebin with - - , Aug 02 18:41:32 https://en.wikipedia.org/wiki/Operational_amplifier_applications Aug 02 18:41:38 see the non-inverting op-amp section Aug 02 18:42:14 just put a 0.1uF cap across the power supply pins for the LMV324 Aug 02 18:42:22 make it as close as you can get to the pins on the chip Aug 02 18:46:30 bbl Aug 02 18:46:58 and bbl means bye ??? :) Aug 02 19:42:14 be back later... Aug 03 00:14:37 hmmm Aug 03 02:01:42 nerdboy/thetransformerr[: https://www.youtube.com/watch?v=BNTSSxzm1GM **** ENDING LOGGING AT Thu Aug 03 03:00:01 2017