#avr Logs

May 04 2019

#avr Calendar

12:30 AM rue_mohr: http://ruemohr.org/~ircjunk/projects/freqGen/p1110514.jpg
12:35 AM rue_mohr: http://ruemohr.org/~ircjunk/projects/freqGen/slide.htm
12:35 AM rue_mohr: nohit, ^^^^
12:35 AM rue_mohr: there is a module that generates from 0.1hz to 10Mhz, there is a 10x variable range, and then 8 /10 dividers
12:35 AM rue_mohr: (the core runs from 1Mhz to 10Mhz, its divided down)
12:35 AM rue_mohr: haha, some of those slides shouldn't be there, part of another project
12:35 AM gsi__ is now known as gsi_
12:37 AM rue_mohr: .. and their all out of order.... interesting
02:42 AM polprog: is that a 44780 lcd? havent seennone with a flat flex
02:42 AM polprog: i like your slideshow script
05:08 AM rue_mohr: :)
05:08 AM rue_mohr: I have to fix the bug someday
05:09 AM rue_mohr: and maybe dress it up a bit
05:09 AM rue_mohr: suppose I should be using json
05:09 AM rue_mohr: be able to throw text in the slides
05:40 AM jancoow: would there any way to configure a pin as output on boot up?
05:40 AM jancoow: with an attiny
05:41 AM jancoow: due the split second during bootup it's configured as input or something, which results in a small blink at startup :/
06:18 AM cehteh: pins are hihg-z on bootup, no way around that
06:19 AM cehteh: i'd recommend an external pullup or pulldown resistor
06:20 AM cehteh: and sorry to hear that you made your pcb's before even thinking about the details and software :D
06:31 AM jancoow: xD
06:31 AM jancoow: true that
06:31 AM jancoow: well I did think about a lot of things
06:31 AM jancoow: Just soldered a pull down of 4.7k but still a little flash at startup..
06:40 AM cehteh: bootloader?
06:41 AM cehteh: and or your external stuff/triac fires up because vcc isnt stablized?
06:41 AM cehteh: maybe totally unrelated to the mcu
06:42 AM cehteh: or .. bug in you code :D
06:44 AM jancoow: yeah questions questions
06:44 AM jancoow: sometimes no flash at all after turning it on/off 10 times
06:44 AM jancoow: sometimes big flash
06:44 AM jancoow: sometimes small flash
06:44 AM jancoow: (in a light bulb)
06:55 AM cehteh: do you have PE available on yoour baord? did you connect GND to PE?
06:55 AM cehteh: all other GND correctly?
06:55 AM cehteh: is the mcu socketed? remove the cmpu plug board, still flashing?
06:56 AM jancoow: mcu is not socketed
06:56 AM jancoow: but can try that on another board
06:56 AM jancoow: I've got 10 pcbs
06:57 AM jancoow: cehteh: https://jancokock.me/f/824fe I placed a pull down between pin 1 and 2 of the moc3052
06:57 AM jancoow: which didn't help
06:58 AM cehteh: ah opto ... in that case you dont need a pulldown
06:59 AM cehteh: opto needs some current to trigger thats not given on floating pins
06:59 AM cehteh: thus: likely bug in your code+
07:00 AM cehteh: 4A fuse? wtf :D
07:00 AM cehteh: 1000Watts bulb?
07:01 AM jancoow: the triacs alone are rated for 4 amps :P
07:01 AM jancoow: pcb traces are designed for 6 amps
07:01 AM cehteh: ...
07:02 AM jancoow: ?
07:02 AM cehteh: does the triac need cooling at 4A? i guess so
07:02 AM jancoow: it has a heatsink
07:02 AM cehteh: but it may desolder itself, thus its safe :D
07:03 AM cehteh: okok
07:03 AM jancoow: https://jancokock.me/f/98234
07:03 AM cehteh: anyway try with mcu removed (or R3 removed/cut)
07:03 AM cehteh: still flashing?
07:04 AM jancoow: https://jancokock.me/f/47c2f
07:04 AM jancoow: :)
07:04 AM jancoow: yeah have to solder a new board for that :P
07:05 AM cehteh: where is the mcu on that board?
07:05 AM jancoow: btw shutter + relay is working perfectly "D
07:06 AM jancoow: uh triac + relay, for controlling my shutters
07:06 AM jancoow: cehteh: this side: https://jancokock.me/f/47ebe
07:07 AM cehteh: you forgotten the 100nF cap close to vcc :D
07:08 AM jancoow: there is one :P
07:08 AM cehteh: should be physically close to the vcc pin
07:08 AM cehteh: not somewhere else
07:08 AM cehteh: that would make it pointless
07:08 AM jancoow: well the power suppy is on the other side, I expect one sitting in there xD
07:08 AM jancoow: and there is one like 1cm away from it
07:09 AM cehteh: ok
07:09 AM jancoow: https://jancokock.me/f/50e07 there "{
07:09 AM jancoow: dunno if that's close enough?
07:10 AM cehteh: maybe
07:10 AM cehteh: i'd try to put it closer
07:13 AM cehteh: otherwise looks good as far i can tell
07:18 AM jancoow: ah god
07:18 AM jancoow: oh freaking god
07:19 AM jancoow: Or some plastic was cracking, or I heard an arc
07:19 AM jancoow: I bet it was plastic, because everything still works lol.
08:08 AM davor_ is now known as davor
11:03 AM mohsen_1: hey
11:04 AM mohsen_1: sim808 returns 5126.391100,3535.659700 as the coordinate, how can I convert it to a normal coordinate that google maps can accept?
11:05 AM mohsen_1: (currently google map says invalid coordinate data)
11:17 AM nohit: it should return it in normal DD format, you are doing something wrong
11:19 AM nohit: response is: <mode>,<longitude>,<latitude>,<altitude>,<UTC time>,<TTFF>,<num>,<speed>,<course>
11:21 AM davor_ is now known as davor
11:23 AM nohit: actually no
11:23 AM nohit: scratch that
11:28 AM nohit: mohsen_1: there you go http://arduinodev.woofex.net/2013/02/06/adafruit_gps_forma/
11:29 AM nohit: (there's a function you can use, end of the page)
11:35 AM mohsen_1: nohit: thanks
11:35 AM nohit: np
11:45 AM nohit: apparently the format the module retruns is Degrees Decimal Minutes (DDM)
11:47 AM mohsen_1: I see
11:56 AM nohit: hmm actaully if you use GNSS, not GPS, it gives you the coordinates in the right DD format
11:56 AM nohit: https://www.elecrow.com/download/SIM800%20Series_GNSS_Application%20Note%20V1.00.pdf
11:59 AM nohit: here's the commands you need:
11:59 AM nohit: AT+CGNSPWR=1
11:59 AM nohit: AT+CGNSSEQ="RMC"
11:59 AM nohit: AT+CGNSINF
12:13 PM mohsen_1: nohit: thanks a bunch, you really saved my day
12:13 PM nohit: np
12:25 PM rue_mohr: nohit, see the pics?
12:26 PM nohit: sure
12:26 PM rue_mohr: I want to do a bit more, and the freaking BNC broke, but yea
01:20 PM davor_ is now known as davor
03:44 PM day__ is now known as day
03:53 PM mohsen_1_ is now known as mohsen_1
04:31 PM rue_shop1: hmm I need to design up that bezzel for the freq gen
06:25 PM rue_mohr: I suspect that if I talk, nobody else does
11:26 PM day__ is now known as day