highaltitude.log.20160410

[00:01] <SpacenearUS> New vehicle on the map: 03SP5RZP-11 - 12http://tracker.habhub.org/#!qm=All&q=SP5RZP-11
[00:03] Lunar_Lander (~kevin@p54889406.dip0.t-ipconnect.de) left irc: Quit: Leaving
[00:11] <SpacenearUS> New vehicle on the map: 03WB8ELK-8 - 12http://tracker.habhub.org/#!qm=All&q=WB8ELK-8
[00:13] Karma-Five-Ohm (~Karma-Fiv@ip174-74-0-51.om.om.cox.net) left irc: Ping timeout: 244 seconds
[00:22] darsie (~darsie@chello084112128043.34.11.vie.surfer.at) left irc: Ping timeout: 240 seconds
[00:33] Ben-AstroSoc (uid129865@gateway/web/irccloud.com/x-syaflqkcxisgwzyz) left irc: Quit: Connection closed for inactivity
[00:33] thip (560b7136@gateway/web/freenode/ip.86.11.113.54) left irc: Ping timeout: 250 seconds
[00:34] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[00:37] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[00:39] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Ping timeout: 250 seconds
[00:42] DL7AD1 (~sven@p4FD41FAE.dip0.t-ipconnect.de) joined #highaltitude.
[00:42] DL7AD (~sven@p4FD4069F.dip0.t-ipconnect.de) left irc: Ping timeout: 244 seconds
[00:53] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 264 seconds
[01:37] KT5TK1 (~thomas@p5B37B166.dip0.t-ipconnect.de) joined #highaltitude.
[01:39] KT5TK (~thomas@p4FD7A9DE.dip0.t-ipconnect.de) left irc: Ping timeout: 268 seconds
[01:49] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[01:54] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 244 seconds
[02:04] <DL7AD1> ping fsphil
[02:05] <DL7AD1> i've got a demo for the OV2640 to work.
[02:05] Nick change: DL7AD1 -> DL7AD
[02:14] <DL7AD> fsphil: https://github.com/DL7AD/STM32F429-DCMI/tree/OV2640
[02:19] Laurenceb_ (~Laurence@host86-176-20-27.range86-176.btcentralplus.com) left irc: Ping timeout: 244 seconds
[02:50] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[02:55] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 250 seconds
[03:07] schoppenhauer (~schoppenh@unaffiliated/schoppenhauer) left irc: Ping timeout: 244 seconds
[03:09] schoppenhauer (~schoppenh@unaffiliated/schoppenhauer) joined #highaltitude.
[03:32] DL1SGP (~felix64@dhcp41.signon1.dk.beevpn.com) left irc: Ping timeout: 244 seconds
[03:34] DL1SGP (~felix64@dhcp20.signon3.dk.beevpn.com) joined #highaltitude.
[03:37] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[03:41] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Ping timeout: 250 seconds
[03:48] <SpacenearUS> New position from 03SARC1 after 03a day silence - 12http://tracker.habhub.org/#!qm=All&q=SARC1
[03:48] DL1SGP (~felix64@dhcp20.signon3.dk.beevpn.com) left irc: Ping timeout: 250 seconds
[03:50] DL1SGP (~felix64@dhcp41.signon1.dk.beevpn.com) joined #highaltitude.
[03:51] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[03:55] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 246 seconds
[04:16] daey_ (~Flutterba@unaffiliated/day) joined #highaltitude.
[04:17] LazyLeopard (~irc-clien@41.215.94.38) joined #highaltitude.
[04:18] SA6BSS-Mike|2 (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) joined #highaltitude.
[04:19] daey (~Flutterba@unaffiliated/day) left irc: Ping timeout: 260 seconds
[04:19] Nick change: daey_ -> daey
[04:20] SA6BSS-Mike (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) left irc: Ping timeout: 260 seconds
[04:38] jan64_ (~jan64@abbj96.neoplus.adsl.tpnet.pl) joined #highaltitude.
[04:41] jan64 (~jan64@bjp207.neoplus.adsl.tpnet.pl) left irc: Ping timeout: 240 seconds
[04:51] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[04:57] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 268 seconds
[05:17] JDat (JDat@89.248.91.5) joined #highaltitude.
[05:20] matt|home (~Matt@adsl-65-9-105-211.mia.bellsouth.net) joined #highaltitude.
[05:23] es5nhc (~tarmo@108-40-71-217.sta.estpak.ee) joined #highaltitude.
[05:38] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[05:43] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Ping timeout: 240 seconds
[05:52] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[05:57] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 276 seconds
[06:39] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[06:43] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Ping timeout: 244 seconds
[06:53] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[06:57] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 260 seconds
[07:29] darsie (~darsie@chello084112128043.34.11.vie.surfer.at) joined #highaltitude.
[07:31] <RealBorg> https://ukhas.org.uk/ideas:flying_wing <- what's this? thermopiles for electric power?
[07:32] number10 (5689bacc@gateway/web/freenode/ip.86.137.186.204) joined #highaltitude.
[07:39] Justin_ (~Halfdead@71-84-11-44.dhcp.trlk.ca.charter.com) joined #highaltitude.
[07:41] fab4space (~Fabrice@AMontpellier-656-1-400-189.w90-28.abo.wanadoo.fr) joined #highaltitude.
[07:42] bertrik (~quassel@rockbox/developer/bertrik) joined #highaltitude.
[07:43] Halfdead (~Halfdead@71-84-11-44.dhcp.trlk.ca.charter.com) left irc: Ping timeout: 276 seconds
[07:54] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[07:56] jakeio (~sam@host31-50-181-250.range31-50.btcentralplus.com) joined #highaltitude.
[07:56] <jakeio> Hey, my GPS is clearly not getting a fix and keeps returning this string: "$GNRMC,075437.00,V,,,,,,,100416,,,N*63\n", any reasons this might happen?
[07:57] <jakeio> My GPS is the Ublox Max M8Q (on the breakout board supplied at HAB supplies).
[07:58] <mfa298> how good a view of the sky does it have ?
[07:58] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 244 seconds
[07:58] darsie (~darsie@chello084112128043.34.11.vie.surfer.at) left irc: Ping timeout: 240 seconds
[07:58] <jakeio> I tried holding it OUT the window earlier...
[07:58] <jakeio> Otherwise, it's about 0.5m from a large window.
[07:58] <mfa298> if it's in the middle of the room it might not see (m)any gps satellites
[07:59] <jakeio> It's definitely got a clear view of the sky, I ensured that before I asked here.
[07:59] <mfa298> windows aren't always transparent to rf
[07:59] <jakeio> Ah, OK. I'll go outside and do a little GPS dance :D
[07:59] <mfa298> getting it outside is a good test
[08:01] <mfa298> inside even if the gps can see some satellites they might be so weak it takes a while to download the data it needs to do the calculations.
[08:02] <mfa298> so you might find once it's got a lock it may keep it when you take it back in (assuming it doesn't get powered off / reset)
[08:05] <SpacenearUS> New vehicle on the map: 03KK6SDN-11 - 12http://tracker.habhub.org/#!qm=All&q=KK6SDN-11
[08:06] <RealBorg> I found that ublox is pretty bad (compared to garmin) acquiring a signal inside
[08:06] <RealBorg> also takes a long time to download almanac
[08:06] <jakeio> How long do I need to keep it outside for it to probably get a signal?
[08:07] <RealBorg> do you have a second gps to check how many satellites are in sight?
[08:07] <jakeio> I just took it outside, walked around a bit, probably got some strange looks from my neighbours and nothing. I have only 1 GPS.
[08:08] <mfa298> RealBorg: some of it will depend on the antenna, the chip antenna on a lot of the break out boards is passive so may need more signal to work with, buts thats choice of antenna rather than a failing of the module
[08:08] <jakeio> I've got the sarantel antenna.
[08:09] <jakeio> Still just spitting out this string: "$GNRMC,080857.00,V,,,,,,,100416,,,N*63\n"
[08:09] <mfa298> jakeio: it should only take a few minutes, but can be longer sometimes. if it's only seeing one satellite it won't be able to get a fix
[08:09] <RealBorg> had a ublox running at the window for time sync, didn't make statistics but it probably was 50/50 getting a position
[08:09] <RealBorg> jakeio, do you GPGSV messages?
[08:09] <RealBorg> +see
[08:10] <jakeio> GPGSV?
[08:10] PE2BZ (~pe2bz@032-145-128-083.dynamic.caiway.nl) joined #highaltitude.
[08:10] <RealBorg> http://www.gpsinformation.org/dale/nmea.htm#GSV
[08:11] <RealBorg> the RMC message you see is explained right after that
[08:12] <RealBorg> jakeio, time beeing correct suggests that it is seeing at least one satellite
[08:13] <jakeio> OK, thanks. I'll leave it on a window for about 1/2 hour and see if anything good happens.
[08:14] <jakeio> Wait, the time is 1 hour out. Oh well, it's probably UTC then.
[08:14] <RealBorg> do you see any nmea sentences other than $GPRMC?
[08:14] <mfa298> if you can get it to a position where it can see more sky that can help, trees, buildings, people will all affect the signal strength
[08:15] <jakeio> RealBorg, I don't. I'm using serial and just reading the present line of data and sending it. I get this or a load of garbage which my program will ignore.
[08:15] <jakeio> mfa298, it's high up and with a great view.
[08:15] <jakeio> :D
[08:16] <RealBorg> if that's inconvenient just keep it at the window and log the output for at least one day
[08:16] <mfa298> for debugging the GSV lines that RealBorg mentioned can be useful, it will tell you about the satellites the module can see,
[08:17] <mfa298> for your code you'll also need the GGA sentences for altitude
[08:17] <RealBorg> I think you can somehow configure the nmea sentences ublox is sending // disable GSV
[08:25] LazyLeopard (~irc-clien@41.215.94.38) left irc: Quit: Leaving
[08:28] <daveake> ajkeio Ublox needs a good PSU; if ity's not getting a lock with a good view of the sky then it probably has a poor PSU
[08:28] <daveake> jakeio ^
[08:29] <daveake> Also, the default for ublox on startup is to send GGA, RMC, GSB, GLL, GSA and VTG messages, so it's odd if you're only seeing RMC
[08:31] <daveake> s/GSB/GSV/
[08:45] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[08:46] jakeio (~sam@host31-50-181-250.range31-50.btcentralplus.com) left irc: Ping timeout: 252 seconds
[08:50] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 268 seconds
[08:51] <SpacenearUS> New vehicle on the map: 03LCARS_chase - 12http://tracker.habhub.org/#!qm=All&q=LCARS_chase
[08:59] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[09:02] habby (~habby@host-89-243-22-140.as13285.net) left irc: Read error: No route to host
[09:02] <fsphil> DL7AD: got any sample images?
[09:02] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[09:08] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 276 seconds
[09:20] jakeio (~sam@host31-50-181-250.range31-50.btcentralplus.com) joined #highaltitude.
[09:27] <jakeio> Thanks daveake
[09:28] <jakeio> Would the coin battery that Uputronics provides a holder for be a sufficient PSU?
[09:29] <jakeio> It's currently just being powered by the Pi.
[09:30] <mfa298> the coin cell you can put on the ublox gps is just to store data when the main power is off, it dosn't run the gps
[09:30] <jakeio> Ah, OK.
[09:31] <mfa298> it means it will store the almanac (and I think run an rtc) which means you might get a lock faster (it doesn't have to wait for the almanac to download assuming its still valid)
[09:34] <RealBorg> you can get the same benefit by uploading almanac and time to the ublox
[09:35] <jakeio> Still only getting RMC messages. How odd...
[09:35] <SpeedEvil> If you've got a running Pi, the GPS power is likely quite irrelevant in your power budget
[09:36] jcoxon (~jcoxon@84.51.151.17) joined #highaltitude.
[09:36] <daveake> Is your code really simple? i.e. display whatever comes out of the gps, and never send anything to it ?
[09:36] <jakeio> Not exactly. I do have the code for setting it to airborne mode, however, that's not being called.
[09:36] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[09:37] <jakeio> At present, the only functions call are my get from GPS raw and the print function.
[09:37] <jakeio> At present, also, it's written in python, I think I'll do my final version in C though;.
[09:38] <RealBorg> very odd, ublox usually defaults to emitting GGA, RMC, GSV, GLL, GSA and VTG
[09:38] <jakeio> I'll double check my wiring. Pi Tx to Ublox Rx, Ublox Tx to pi Rx <- that is right?
[09:38] <daveake> "at present" ... so have you at any time since the ublox was powered up sent any commands to switch specific sentences off ?
[09:39] <jakeio> I have not.
[09:39] <jakeio> I've sent absolutely nothing out to the GPS.
[09:39] <jakeio> At all.
[09:39] <daveake> this make no sense
[09:39] <jakeio> I'm clearly an enigma.
[09:40] <RealBorg> maybe this model stores settings?
[09:40] <jakeio> Then why the battery? And I remember reading on the datasheet that it doesn't. I think.
[09:40] habby (~habby@host-89-243-22-140.as13285.net) left irc: Read error: No route to host
[09:40] <RealBorg> can you check that you don't have gpsd running?
[09:40] <daveake> To store settings theyneed either a coin cell or an eeprom
[09:41] <jakeio> And this definitely has neither.
[09:41] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[09:41] <jakeio> Just restarted in order to ensure settings were default. Nothing sent just reading, GNRMC, GNRMC, continually.
[09:41] <daveake> Not a restart - power on and on
[09:42] <daveake> off and on
[09:42] <RealBorg> or in fact, try to install gpsd and set the ublox to what you need
[09:42] <daveake> god no don't install that
[09:42] <jakeio> Yes, you know what I mean. I did that, unplugged and all.
[09:42] <daveake> keep it simple
[09:42] <RealBorg> maybe a udev rule? or getty interfering? did you disable serial login in raspi-config?
[09:42] <jakeio> Yes.
[09:43] <jakeio> Definitely disabled serial.
[09:43] <daveake> post your code
[09:43] <jakeio> OK. 1 sec.
[09:43] <daveake> and a bit of the output
[09:44] <RealBorg> your gps is /dev/...?
[09:44] <fsphil> dragon module sneaking up on the space station, https://www.youtube.com/watch?v=OX9I1KyNa8M
[09:44] <SpeedEvil> https://www.youtube.com/watch?v=HDh4uK9PvJU
[09:44] <SpeedEvil> 339m from station
[09:44] <RealBorg> good day to capture a dragon :)
[09:45] SA6BSS-Mike (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) joined #highaltitude.
[09:45] <SpeedEvil> https://en.wikipedia.org/wiki/BA_330 - on the topic of high altitude balloons
[09:45] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 250 seconds
[09:46] <jakeio> http://pastebin.com/BTcg5PEh
[09:46] <jakeio> There, took a while because I'm running my Pi offline at the moment, had to copy it out :D
[09:46] <daveake> You're flushing the port?
[09:46] <daveake> Don't you think that might have an unwanted effect?
[09:47] <daveake> 1) don't flush
[09:47] <daveake> 2) keep the port open
[09:47] SA6BSS-Mike|2 (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) left irc: Ping timeout: 260 seconds
[09:48] <jakeio> OK. I only flush because when I didn't, I had a large amount of garbage building up, control characters and other nonsense!
[09:48] <jakeio> Also, I've done that, still RMC... Give me a moment.
[09:49] <daveake> Also 0.1 seconds is probably too long ... there are many sentences per second, and maybe more than 10 (I'm not sure)
[09:50] <jakeio> I've removed the sleep all together, and now I'm getting a lot of output, occasionally not RMC. Possibly. There are so many control characters being printed as white squares.
[09:50] <jakeio> Just going to edit the code to get rid of them.
[09:50] <daveake> No
[09:50] <jakeio> OK. May I ask why not?
[09:51] <daveake> Because you should get garbage
[09:51] <daveake> sorry should not
[09:51] <daveake> If the port isn't open, and the baud rate doesn't match, you may get garbage after opening it. But once that's gone, you shouldn't get any more
[09:52] <daveake> So open the port, flush it once, then sit in a tight loop reading/printing everything you get
[09:53] <jakeio> Do I not need to close the port if I then want to use it at a different baud rate?
[09:53] <RealBorg> try stty /dev/ttyGPS 9600 and cat /dev/ttyGPS
[09:54] <daveake> Shouldn't do, but as you aren't using another baud rate, that's not important anyway
[09:54] <daveake> it's AMA0 not GPS
[09:54] <jakeio> Oh, here we go!
[09:54] <jakeio> GSA, GGA, VTG,
[09:54] <jakeio> RMC, GLL
[09:55] <daveake> there you go
[09:55] <jakeio> Plenty of output!
[09:55] <jakeio> Thanks again daveake .
[09:55] <daveake> my work here is done I have to go dig a hole for my mast and fill with concrete :)
[09:55] <jakeio> OK, enjoy!
[09:55] <RealBorg> indeed, enjoy ;)
[09:56] <RealBorg> spacex dragon docking iss live @250m distance now https://www.youtube.com/watch?v=HDh4uK9PvJU </offtopic>
[09:56] <fsphil> it's high altitude
[09:56] rubdos (~rubdos@d54c65054.access.telenet.be) joined #highaltitude.
[10:00] thip (560b7136@gateway/web/freenode/ip.86.11.113.54) joined #highaltitude.
[10:02] <fsphil> a bit quieter in the spacex control room today :)
[10:03] <SpacenearUS> New vehicle on the map: 03R2AGQ-11 - 12http://tracker.habhub.org/#!qm=All&q=R2AGQ-11
[10:07] SA6BSS-Mike|2 (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) joined #highaltitude.
[10:08] SA6BSS-Mike (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) left irc: Ping timeout: 260 seconds
[10:10] SA6BSS-Mike (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) joined #highaltitude.
[10:11] <jakeio> Now really odd stuff's happening. I've got GGA strings coming out (filtering them to only GGA) and it says 0 satellites are being tracked.
[10:11] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[10:11] <jakeio> However, then, it goes ahead and states the time.
[10:12] <jakeio> Accurately, has it acquired the time earlier today and is just counting up now? Or is the satellite number lying to me!
[10:13] SA6BSS-Mike|2 (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) left irc: Ping timeout: 260 seconds
[10:13] <jcoxon> it'll keep track of the time if it got it earlier
[10:13] <jcoxon> and then lost the sat
[10:13] SA6BSS-Mike|2 (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) joined #highaltitude.
[10:14] <RealBorg> jakeio, the GSV are important
[10:14] <RealBorg> they tell you which satellites are in the sky, where they are and how good reception is
[10:15] SA6BSS-Mike (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) left irc: Ping timeout: 260 seconds
[10:16] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 268 seconds
[10:17] <fsphil> is the gps module near a window?
[10:17] <fsphil> it can sometimes be tricky getting a lock indoors sitting on a desk
[10:20] <jakeio> Definitely by a window. Changing to GSV.
[10:21] <fsphil> anything metal near the antenna?
[10:21] <jakeio> Other than the veroboard it's attached to...
[10:21] <jakeio> Nope.
[10:23] <jakeio> $GPGSV,1,1,03,13,,,20,15,,,31,28,,,28*7C
[10:23] <jakeio> Let me find that website with the NMEA formatting.
[10:23] <jakeio> Got it.
[10:24] <jakeio> 3 sattelites!
[10:24] <jakeio> And absolutely no sign of a fix.
[10:24] <fsphil> might just have to wait a bit :)
[10:25] <jakeio> OK. I'll go do something else for an hour and see what happens!
[10:26] <jakeio> Oh dear, 6 sattelites now!
[10:27] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[10:29] <RealBorg> you need at least 4 satellites for a fix
[10:29] <RealBorg> do they also show a SNR value?
[10:30] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[10:32] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 244 seconds
[10:38] <jakeio> One moment, let me change back to GSV.
[10:40] <jakeio> What is the SNR number?
[10:40] <fsphil> just noticed the baseball bat in the nasa control room
[10:41] <jakeio> $GPGSV,3,1,11,05,32,185,,07,03,064,,08,06,018,,13,86,078,*71
[10:41] <jakeio> Doesn't that suggest I have 11 satellites in view?
[10:41] <fsphil> what's gpgga saying now?
[10:42] <jakeio> $GNGGA,104156.00,,,,,0,03,3.38,,,,,,*44
[10:42] <jakeio> Still no fix.
[10:42] <fsphil> still not enough sats
[10:43] <RealBorg> http://www.gpsinformation.org/dale/nmea.htm#GSV
[10:43] <jakeio> Yh. GGA suggests 3 sats.
[10:43] <fsphil> try to reposition the antenna
[10:44] <RealBorg> 05,32,185,, <- this is PNR, elevation, azimuth and *SNR* is missing
[10:44] <jakeio> OK. What does SNR stand for?
[10:45] <RealBorg> you'll need to paste all three sentences -> $GPGSV,3,1 $GPGSV,3,2 $GPGSV,3,3
[10:45] <RealBorg> if and how good the satellite is being seen
[10:50] <jakeio> Just getting that.
[10:52] <jakeio> Damnit, can't seem to find number 2.
[10:52] <RealBorg> jakeio, which baudrate are you using? "The sentences were captured at 9600 b/s, some are missing at 4800."
[10:53] <jakeio> 9600
[10:55] <jakeio> Definitely only getting 1 and 3 through.
[10:56] jcoxon (~jcoxon@84.51.151.17) left irc: Quit: Leaving
[10:57] <jakeio> I have a fix!
[10:58] <fsphil> result!
[11:01] <RealBorg> great
[11:05] Ben-AstroSoc (uid129865@gateway/web/irccloud.com/x-oxulkfohpwzyfdng) joined #highaltitude.
[11:05] <Ben-AstroSoc> afternoon
[11:10] <fsphil> howdy
[11:16] <Ben-AstroSoc> debugging the datastring building then should be good to go
[11:20] Lemml (~andreas@port-92-194-171-114.dynamic.qsc.de) joined #highaltitude.
[11:21] <jakeio> Is the command line flag for dl-fldigi to go into HAB mode --hab?
[11:21] <fsphil> yeah
[11:21] <jakeio> How odd, that didn't work yesterday...
[11:22] <SpacenearUS> New position from 03SP6NVB-11 after 0310 hours silence - 12http://tracker.habhub.org/#!qm=All&q=SP6NVB-11
[11:22] <jakeio> Odd, the client's definitely online, but no payloads are listed...
[11:22] <SpacenearUS> New position from 03Legionowo after 0311 hours silence - 12http://tracker.habhub.org/#!qm=All&q=Legionowo
[11:23] <jakeio> Don't worry. It just took a while to load.
[11:24] <Ben-AstroSoc> super hard to debug this when avr studio doesn't show your variables -.-
[11:26] <SpacenearUS> New position from 03SP5RZP-11 after 0311 hours silence - 12http://tracker.habhub.org/#!qm=All&q=SP5RZP-11
[11:28] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[11:32] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 244 seconds
[11:34] lburton (~lburton@2604:4080:111d:2010:bcef:beff:feef:beef) left irc: Ping timeout: 250 seconds
[11:34] <Ben-AstroSoc> some funny logic going on here, churning out $$ASTL1b$$,0,,*DE93
[11:45] <fsphil> overwriting your buffer as it's being sent?
[11:46] <Ben-AstroSoc> getting a bit of data through now. i parse the data out of the buffer and don't change it until it's been completely sent so not sure
[11:48] n00b (56b8f632@gateway/web/freenode/ip.86.184.246.50) joined #highaltitude.
[11:48] <n00b> in dl-
[11:48] <n00b> in dl-fldigi, what the qth?
[11:48] Nick change: n00b -> Guest91218
[11:48] lburton (~lburton@sea.mrow.org) joined #highaltitude.
[11:49] <fsphil> QTH is ham speak for location
[11:49] <Guest91218> and locator?
[11:49] <fsphil> if QTH is the name, locator are the coordinates
[11:50] <fsphil> you don't normally need either for dl-fldigi
[11:50] <Guest91218> but how does it know what to show on habhub?
[11:50] <fsphil> it displays your callsign, location (from the coordinates in dl-fldigi > location)
[11:51] <fsphil> and it can also show the radio and antenna text fields, on the old map at least not sure about the current version
[11:52] <Guest91218> thx you
[11:52] Guest91218 (56b8f632@gateway/web/freenode/ip.86.184.246.50) left irc: Client Quit
[11:54] <Ben-AstroSoc> either my parser or reception logic isn't working correctly
[11:54] <Ben-AstroSoc> messageID is incrementing correctly but I can't work out where it's getting the extra 'b$$' from
[11:55] rubdos (~rubdos@d54c65054.access.telenet.be) left irc: Quit: Leaving
[12:13] <Ben-AstroSoc> ok so I can mirror the NMEA back out the other end perfectly
[12:13] <Ben-AstroSoc> doesn't look like it's isolating GNGGA properly
[12:19] Nick change: Steffann -> Steffanx
[12:23] <daveake> fsphil Yes new one shows antenna/receiver
[12:23] <Ben-AstroSoc> alrighht we're getting somewhere
[12:23] <daveake> (I added those to my lora gw hence I know)
[12:24] <DL7AD> fsphil: hold on
[12:26] <jakeio> Hello again, could someone generate a checksum crc16-ccitt for this string? I'd like to compare it to my checksum: "$$SKIPI,25,122558.00,5149.55479,00242.80142,133.6,09"
[12:27] <fsphil> this site is useful for that: http://www.lammertbies.nl/comm/info/crc-calculation.html
[12:28] <jakeio> OK, also, is there anything wrong with that string as it is? I'm getting 'cant extract callsign' on the habitat log.
[12:28] <daveake> You need a valid CRC in the right place oitherwise it won't work
[12:28] <jakeio> Yes, here's the one with the csum.
[12:28] <jakeio> $$SKIPI,41,122811.00,5149.55565,00242.80719,117.9,09*3075
[12:28] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[12:29] <fsphil> Exception in UKHAS main parse: ValueError: Invalid CRC16-CCITT checksum.
[12:29] <daveake> and a linefeed at the end
[12:29] <daveake> WHen you calc the crc don't include the $$ at the start
[12:29] <jakeio> I haven't.
[12:30] <fsphil> does the checksum match what that website says?
[12:30] <jakeio> Just trying that now.
[12:30] <daveake> maybe wrong seed value
[12:30] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Remote host closed the connection
[12:30] <fsphil> yeah you want the CRC-CCITT (0xFFFF) version to match
[12:30] <fsphil> not XModem
[12:31] <jakeio> OK, whoops.
[12:31] <jakeio> Right.
[12:31] <fsphil> at least it was something simple :)
[12:31] <jakeio> Indeed.
[12:31] <Ben-AstroSoc> well, i know what my issue is, my code for excluding anything other than GNGGA isn't working at all
[12:31] <Ben-AstroSoc> hmm
[12:33] <DL7AD> fsphil: https://drive.google.com/open?id=0BwzVllHCGu5FaURiLXNyaXVNdjg
[12:33] <DL7AD> just a quick snapshot.
[12:33] <fsphil> oh that's quite an improvement
[12:33] <fsphil> narrower field of view too
[12:33] <DL7AD> unfortunately 1600x1200 have been over 150kB
[12:33] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 260 seconds
[12:34] <DL7AD> that an amount which i cant store in the SRAM
[12:34] <fsphil> there may be a jpeg quality level register. *guessing*
[12:34] rubdos (~rubdos@d54c65054.access.telenet.be) joined #highaltitude.
[12:35] <DL7AD> fsphil: havent looked after it yet
[12:35] <DL7AD> i have been happy that it actually works
[12:35] <fsphil> knowing OV they probably don't document it
[12:35] <DL7AD> :D
[12:35] <DL7AD> true
[12:36] <fsphil> heh, datasheet says "DO NOT drop the camera module more than 60 cm onto any hard surface"
[12:36] <fsphil> 10km onto a tree should be fine then
[12:37] <fsphil> and of course no list of registers
[12:37] <fsphil> oh found one
[12:37] <DL7AD> i have the list
[12:37] <craag> 0x44 sets the jpeg quantization factor
[12:38] rubdos (~rubdos@d54c65054.access.telenet.be) left irc: Client Quit
[12:38] <craag> That rather crudely changed the jpeg size independent of resolution
[12:38] <fsphil> previously a "reserved" register
[12:39] rubdos (~rubdos@d54c65054.access.telenet.be) joined #highaltitude.
[12:40] <Ben-AstroSoc> i think the string i'm reading the GPS sentences into is getting overwritten faster than I can check if it's the reading i want or not
[12:40] <Ben-AstroSoc> either that or if(gpsString[3] == 'G' && gpsString[4] == 'G') isn't suitable to check if I'm getting GNGGA
[12:40] <DL7AD> fsphil: back in the day, i had a 6kg payload over my box at a balloon which crushed my payload at the landing
[12:42] <jakeio> It's alive!
[12:44] <RealBorg> jakeio, that would explain some things ;)
[12:53] <jakeio> Haha!
[12:53] <jakeio> Erm, I've got a really odd bug.
[12:53] Laurenceb_ (~Laurence@host86-176-20-27.range86-176.btcentralplus.com) joined #highaltitude.
[12:53] <fsphil> the best kind
[12:53] <jakeio> Haha, I beg to differ.
[12:54] <jakeio> Well, basically, every few transmissions, one of my transmissions just sort of whips by instantly, while at 50 baud they take a few seconds.
[12:54] <jakeio> I can post my code in full if needed.
[12:54] <jakeio> I'm sure daveake will give it the full critique.
[12:55] <fsphil> not sure what you mean
[12:55] <daveake> You're using the same port for GPS and RTTY ?
[12:56] <jakeio> pastebin.com/Ace3Xwan
[12:56] <jakeio> I am indeed.
[12:56] <jakeio> i thought it might be an issue.
[12:56] <jakeio> With the baud rates, perhaps it's sending at the 9600 of the GPS.
[12:56] <daveake> Then it'll be to do with not waiting for RTTY to go before you switch baud rate
[12:57] <jakeio> When you say wait, does using flush() suffice? Or should I actually sleep the program?
[12:57] <daveake> flush
[12:57] <jakeio> I do flush. Definitely.
[12:57] <fsphil> yeah your sleep at line 9 isn't needed
[12:58] <daveake> I shall quietly suggest that you may thnik it's flushing when it isn't, then I shall go have my lunch whilst you check
[12:58] <fsphil> why open and flush again at line 14?
[12:58] <daveake> and yes don't sleep
[12:58] <jakeio> OK, removing sleep.
[12:58] <jakeio> What do you mean on line 14?
[12:59] <fsphil> on that pastebin, line 14
[12:59] <jakeio> OK, that's not what I meant.
[12:59] <jakeio> What do you mean by opening and flushing again? Is that a problem.
[13:00] <fsphil> no, just a bit weird
[13:00] <jakeio> I'm actually not sure of my own logic there.
[13:00] <jakeio> :D
[13:00] <jakeio> I just realised my "What do you mean on line 14?" sounded like a really stupid question... Not what I meant!
[13:00] <fsphil> hah
[13:00] <fsphil> what are numbers
[13:01] <jakeio> Haha.
[13:01] <jakeio> What is this word "line"?
[13:01] <jakeio> Oh dear.
[13:01] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[13:01] <jakeio> Anyway, I'll remove that. No idea why I put it there. Probably left over from me messing earlier.
[13:02] YO9GJX (~YO9GJX@109.102.153.76) joined #highaltitude.
[13:03] <SpacenearUS> New vehicle on the map: 03VEGA2 - 12http://tracker.habhub.org/#!qm=All&q=VEGA2
[13:03] <jakeio> What did he mean "think it's flushing when it isn't"
[13:04] <jakeio> Also, is it possible to get my HAB on the map while in testing, or is that reserved for actual flights.
[13:05] <mfa298> jakeio: if you create a payload doc on habitat that matches what you're transmitting it should appear on the map
[13:05] <fsphil> yeah map use is fine for testing
[13:05] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Ping timeout: 248 seconds
[13:05] <fsphil> why do you write 0xFF to the gps?
[13:05] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[13:06] <fsphil> oh sorry that's setGPS()
[13:06] <fsphil> not sure. I may be being slow today, bug isn't leaping out at me
[13:08] <jakeio> mfa298, I created a payload configuration document, nothing on map as of yet.
[13:08] <mfa298> the logtail should tell you whats happening
[13:08] <jakeio> OK, now, it's doing that 9600baud transmission for every transmission except perhaps 1 in 50.
[13:09] <fsphil> you're not closing the gps serial port when you're finished that function. though python should do that anyway
[13:10] <jakeio> daveake earlier said "keep the port open" so I removed all my close()s
[13:10] <fsphil> you still have one on line 13
[13:11] <jakeio> That's because I just removed that random block of code that I h
[13:11] <jakeio> added at line 14.
[13:11] <jakeio> And it left it open.
[13:15] <jakeio> Updated (more broken) code: http://pastebin.com/zT7TxGB8
[13:20] rubdos (~rubdos@d54c65054.access.telenet.be) left irc: Ping timeout: 244 seconds
[13:21] <jakeio> This is totally random. Occasionally one sends normally, rarely though.
[13:23] <jakeio> OK, I now just have it spam sending me one word repeatedly, works perfectly fine, 50 baud.
[13:29] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[13:34] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 246 seconds
[13:34] jakeio (~sam@host31-50-181-250.range31-50.btcentralplus.com) left irc: Quit: Leaving
[13:35] jakeio (~Sam@host31-50-181-250.range31-50.btcentralplus.com) joined #highaltitude.
[13:44] rubdos (~rubdos@d54C65054.access.telenet.be) joined #highaltitude.
[13:48] number10 (5689bacc@gateway/web/freenode/ip.86.137.186.204) left irc: Ping timeout: 250 seconds
[14:01] <Ben-AstroSoc> would a better way to eliminate anythiung other than GNGGA be to copy eveyr string over to a separate buffer once i've finished reading it and then only parse it if the ID checks out?
[14:01] <Ben-AstroSoc> instead of trying to check it in my input buffer
[14:08] <mfa298> you don't want anything updating the buffer you're parsing whilst you're parsing it.
[14:09] <SpacenearUS> New position from 03SP9UOB-11 after 036 days silence - 12http://tracker.habhub.org/#!qm=All&q=SP9UOB-11
[14:09] <mfa298> I think on the ublox you can also turn off messages you don't need which may make things easier
[14:10] <daveake> yes, examples in the wiki (and full details in the manual ofc)
[14:11] <Ben-AstroSoc> yeah the problem is yesterday i couldn't get my gps module to respond to anything
[14:12] <Ben-AstroSoc> so for todya at least I'm not going near trying to configure it
[14:12] <jakeio> daveake what did you mean when you said that it might not be flushing?
[14:12] number10 (568ef30f@gateway/web/freenode/ip.86.142.243.15) joined #highaltitude.
[14:14] <jakeio> Rewritten code to very simplistic version: http://pastebin.com/VFdh7CJC
[14:14] <jakeio> Still happens D:
[14:17] <jakeio> Less frequently now...
[14:17] <jakeio> At least that's something.
[14:20] <SpacenearUS> New vehicle on the map: 03CX1AA-11 - 12http://tracker.habhub.org/#!qm=All&q=CX1AA-11
[14:22] <lz1dev> jakeio: try using 'with'
[14:23] <jakeio> Oooh, OK.
[14:23] <lz1dev> that would eliminate all those explicit .close9)
[14:24] LazyLeopard (~irc-clien@41.215.94.38) joined #highaltitude.
[14:25] <Ben-AstroSoc> ok, fixed that weird bugf where it was adding 'b$$' after one of my strings, turned out i hadn't left enough room for a null char in the string containing our callsign
[14:26] <jakeio> lz1dev, works for the first transmission. Waiting for second...
[14:26] <jakeio> Nope.
[14:26] <jakeio> Does exactly the same thing on second.
[14:26] <jakeio> Randomly jumps to a higher baudrate.
[14:27] <jakeio> This is maddening!
[14:28] mclane_ (~quassel@pD9E2CCAF.dip0.t-ipconnect.de) joined #highaltitude.
[14:28] <lz1dev> actually it kind of makes sense
[14:28] <lz1dev> it resets to the default baudrate
[14:29] <lz1dev> why do you have to constantly open the serial, can't you open it once and just read you need to
[14:30] <jakeio> How do you mean? I need to constantly switch baudrates, I've tried just having it constantly open never closing.
[14:30] <jakeio> Does the same thing.
[14:30] Evya89 (3e5a5868@gateway/web/freenode/ip.62.90.88.104) joined #highaltitude.
[14:30] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[14:31] mclane_ (~quassel@pD9E2CCAF.dip0.t-ipconnect.de) left irc: Remote host closed the connection
[14:32] <Evya89> hello everyone! which company is the most recommended and relliable Kaymont, Pawan or Hwoyee?
[14:32] SpeedEvil (~quassel@tor/regular/SpeedEvil) left irc: Quit: No Ping reply in 180 seconds.
[14:33] SpeedEvil (~quassel@tor/regular/SpeedEvil) joined #highaltitude.
[14:33] <lz1dev> jakeio: why do you write at 50, but read at 9600?
[14:33] <jakeio> I'm writing to a radio, reading from a GPS.
[14:33] <jakeio> GPS cannot be reprogrammed down to a lower baud rate.
[14:34] <jakeio> radio needs to be at lowish baudrate.
[14:34] <lz1dev> /dev/ttyAMA0
[14:34] <lz1dev> on all
[14:34] <jakeio> Yes?
[14:34] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 244 seconds
[14:34] <lz1dev> both radio and gps are on the same serial lines?
[14:35] <jakeio> yup.
[14:35] <lz1dev> wat
[14:35] <jakeio> It's definitely possible.
[14:35] <jakeio> And it appears to be working 80% of the time now.
[14:36] <jakeio> Also, what's the time format for habitat.
[14:37] <lz1dev> iso8601
[14:38] <jakeio> ?
[14:40] SA6BSS-Mike (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) joined #highaltitude.
[14:41] <arjunnaha> https://en.wikipedia.org/wiki/ISO_8601
[14:41] <Ben-AstroSoc> ugh, can't get this to detect correct string and parse at all
[14:42] <jakeio> Ah, thanks lz1dev and arjunnaha I realised I'd left the .00 on my time...
[14:42] SA6BSS-Mike|2 (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) left irc: Ping timeout: 260 seconds
[14:43] <SpacenearUS> New vehicle on the map: 03SKIPI - 12http://tracker.habhub.org/#!qm=All&q=SKIPI
[14:44] <jakeio> My GPS is apparently in the sea.
[14:44] <jakeio> Oh dear.
[14:45] number10 (568ef30f@gateway/web/freenode/ip.86.142.243.15) left irc: Ping timeout: 250 seconds
[14:45] <SA6BSS-Mike> should that be -2.71300 latitude?
[14:46] <Evya89> hello everyone! which company is the most recommended and relliable Kaymont, Pawan or Hwoyee?
[14:46] <mfa298> how did I guess it was in the north sea before even checking
[14:47] <daveake> was
[14:47] <daveake> now it's near somalia
[14:47] <SA6BSS-Mike> sp9uob made it to south korea / Japan, still @ 9000m !! :)
[14:47] <daveake> Evya89 Depends. What do you mean by "reliable"?
[14:48] <jakeio> daveake, any ideas why I'm in the English channel?
[14:48] <jakeio> :D
[14:49] <SA6BSS-Mike> should that be -2.71300 latitude?
[14:49] <daveake> Probably because you've forgotten to fill in the sign
[14:49] <mfa298> jakeio: the GPS gives N/S and E/W, habitat expects +ve or -ve numbers
[14:49] <jakeio> SA6BSS-Mike, what do you mean?
[14:49] <jakeio> Ah, I see.
[14:50] <jakeio> Sorry, never had to deal with coordinates before.
[14:50] <SA6BSS-Mike> yep, - makes the differnce :)
[14:50] <Ben-AstroSoc> completely lost at this point, i can't tell if it's failing to parse or failing to confirm my string at all
[14:51] <SA6BSS-Mike> u see your string here http://habitat.habhub.org/logtail/
[14:51] <SA6BSS-Mike> ?
[14:53] <SM0ULC-R1b> hello
[14:53] <SA6BSS-Mike> tjena
[14:54] <SM0ULC-R1b> nice seeing oub-11 crusing towards japan
[14:54] Nick change: SM0ULC-R1b -> SM0ULC-Reb
[14:55] <SA6BSS-Mike> yep, thats cool !
[14:56] <Evya89> jakeio - I meant reliable. i.e. the ascent rate will be as the datasheet or will burst at the right altitude and so
[14:56] <Evya89> daveake**
[14:56] <Ben-AstroSoc> https://www.irccloud.com/pastebin/yoV2bjIA/
[14:57] <Ben-AstroSoc> if anyone's not busy would you mind taking a look? there's something wrong with either parsing logic or checking for the right sentence, either way it's not turning otu any data
[14:57] <mfa298> Evya89: ascent rate and burst will at least be partly dependant on what weight you're lifting and how much gas you put in.
[14:57] SpeedEvil (~quassel@tor/regular/SpeedEvil) left irc: Quit: No Ping reply in 180 seconds.
[14:58] SpeedEvil (~quassel@tor/regular/SpeedEvil) joined #highaltitude.
[14:58] gb73d (~gb73d@host-78-149-132-77.as13285.net) joined #highaltitude.
[14:59] SA6BSS-Mike|2 (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) joined #highaltitude.
[15:00] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Remote host closed the connection
[15:00] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[15:01] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Remote host closed the connection
[15:02] SA6BSS-Mike (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) left irc: Ping timeout: 260 seconds
[15:04] <DL7AD> fsphil: ping
[15:06] <daveake> Evya89 Ascent rate is basically down to you rather than the balloon
[15:06] <Ben-AstroSoc> i'm 99% convinced it's all in my conditional checking if i've got GNGGA
[15:06] <daveake> If you get that right, then for the most reliable burst you want Kaymont
[15:08] <mfa298> Ben-AstroSoc: is there anything to stop the ISR updating gpsString and gpsLatestReading whilst you're working on them in the main loop (and associated functions)
[15:09] <Ben-AstroSoc> I odn't have anything preventing them from being updated but I would've thought there would be enough time between gpsLatestReading being updated
[15:10] <Ben-AstroSoc> i've rigged it to flash an LED every time the parse function is triggered (when it detects xxxGGx at teh start of the latest reading string
[15:10] <Ben-AstroSoc> and it doesn't trigger at all
[15:10] <Vaizki> lessee!
[15:11] <mfa298> I might be mis reading your code, but it looks like you're going to be writing every NMEA string to gpsString as it comes in
[15:11] <Ben-AstroSoc> gpsString is the input buffer
[15:11] <Ben-AstroSoc> i've got it writing in there by default
[15:12] <mfa298> there looks to be a fair bit of complexity in in your ISR routine
[15:12] <mfa298> you're also using gpsString in some of your other functions.
[15:13] <mfa298> e.g. in your GPS_ParseSentence function
[15:13] <Ben-AstroSoc> that was a mistake, changed that to String (the parameter)
[15:13] <mfa298> you might also find sizeof isn't returnign what you think it is
[15:14] DL1SGP (~felix64@dhcp41.signon1.dk.beevpn.com) left irc: Ping timeout: 276 seconds
[15:15] <mfa298> if line 165 is now sizeof(String) it's probably returning 2 or 4, (what ever the size of a pointer it)
[15:15] <Vaizki> yup
[15:15] <Ben-AstroSoc> what should it be then? strlen()?
[15:16] <Vaizki> also I have told you a couple of times that any variable you read OR write in an ISR should be "volatile"
[15:16] <Vaizki> please believe me already :)
[15:16] DL1SGP (~felix64@dhcp58.signon4.dk.beevpn.com) joined #highaltitude.
[15:16] <Ben-AstroSoc> oooh, have i written something in that isn't volatile again
[15:16] <Ben-AstroSoc> i've been shifitng things round all day trying out differen t thing
[15:17] <daveake> Ben-AstroSoc: You really need to rethink this. You're doing far too much in the Rx ISR. For example, you're calling GPS_Init() which then sends a stream of characters out of the serial port. That's really not a good idea as your ISR is going to be tied up for many ms whilst that happens
[15:17] Lemml (~andreas@port-92-194-171-114.dynamic.qsc.de) left irc: Ping timeout: 268 seconds
[15:18] <Vaizki> I dont even memcpy ever in ISRs
[15:18] <daveake> ISRs need to be short sharp and to the point. Get character, shove in a buffer, the end
[15:18] <Ben-AstroSoc> i had a version where that ISR just threw a flag and handled it in main, i'll refactor it back out
[15:18] <Vaizki> just dont call any functions
[15:18] <mfa298> my RX ISR (for something else) has about 16 lines of code, and 1/3 of that is to echo the sent chars back out the serial port
[15:19] <mfa298> also remember whilst the ISR is running no other interrupts will happen, so anything that can block is bad (causing me some issues in my code)
[15:19] <fsphil> DL7AD: hai
[15:21] <DL7AD> fsphil: shark?
[15:21] <Evya89> thank you!
[15:24] <DL7AD> fsphil: do you know what JFIF is?
[15:25] <Ben-AstroSoc> right refactored that ISR stuff out
[15:28] <Ben-AstroSoc> aha
[15:28] <Ben-AstroSoc> something appears to be working
[15:28] <Ben-AstroSoc> my parser is wonky but we're getting updated GPStime eveyr message now so thats progress
[15:29] <DL7AD> fsphil: normally the JPEG header is like this way:
[15:29] <DL7AD> 00000000 ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 00 |......JFIF......|
[15:29] <DL7AD> 00000010 00 00 00 00 ff db 00 43 00 0c 08 09 0b 09 08 0c |.......C........|
[15:30] <DL7AD> but my camera transmits:
[15:30] number10 (56aa7858@gateway/web/freenode/ip.86.170.120.88) joined #highaltitude.
[15:30] <DL7AD> 00000000 ff d0 ff e0 00 10 4a 44 41 44 00 01 01 01 00 00 |......JDAD......|
[15:30] <DL7AD> 00000010 00 00 00 00 ff db 00 41 00 04 00 01 0b 01 00 04 |.......A........|
[15:30] <DL7AD> i have no idea what JDAD means
[15:31] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[15:36] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 260 seconds
[15:42] <fsphil> DL7AD: JFIF is the correct name for JPEG
[15:42] Evya89 (3e5a5868@gateway/web/freenode/ip.62.90.88.104) left irc: Quit: Page closed
[15:43] <DL7AD> fsphil: and JDAD?
[15:44] <fsphil> not seen that before
[15:46] <fsphil> FF D0 I would expect to be RST0, a reset marker
[15:54] <jakeio> daveake, do you know the power requirements of the logitech C270 webcam? I only ask as it's the one you reference on your article.
[15:59] luteijn (~luteijn@luteijn.xs4all.nl) joined #highaltitude.
[16:00] <Ben-AstroSoc> parser isn't detecting commas in the NMEA string, hmm
[16:00] jcoxon (~jcoxon@84.51.151.17) joined #highaltitude.
[16:01] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[16:02] luteijn_ (~luteijn@luteijn.xs4all.nl) left irc: Ping timeout: 246 seconds
[16:06] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Ping timeout: 276 seconds
[16:26] rubdos (~rubdos@d54C65054.access.telenet.be) left irc: Quit: Leaving
[16:27] SA6BSS-Mike|2 (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) left irc: Ping timeout: 260 seconds
[16:27] <Ben-AstroSoc> i'm surprised i get a complete output of time, long, long unit, lat, lat unit when i just return time, given that the time string is only 9 characters long
[16:27] <Ben-AstroSoc> not sure what's going on with it
[16:28] domojn (520bbe7a@gateway/web/freenode/ip.82.11.190.122) joined #highaltitude.
[16:28] <domojn> hi
[16:30] <domojn> Does anyone know where to find frequencies?
[16:30] dl3yc (~yc@88.198.50.117) joined #highaltitude.
[16:32] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[16:33] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[16:34] <mfa298> domojn: that mgiht depend on what your after
[16:34] <domojn> don't worry actually
[16:34] <mfa298> Ben-AstroSoc: overflow of the variable (or not terminating \0) ?
[16:35] <domojn> Just got my SDR set up over tcp
[16:35] <domojn> thought I'd have another shot at decoding again now its more stable than my last setup
[16:35] <Ben-AstroSoc> i wasn't aware an array could overflow
[16:35] <Ben-AstroSoc> if it is it's because my parser is skipping over commas
[16:36] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 260 seconds
[16:38] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Ping timeout: 248 seconds
[16:38] <mfa298> based on your previous code your fillign the the char[] arrays, but they might not have (or loose) the end \0
[16:40] <Ben-AstroSoc> but they would never get overfilled if the parser detected the comma properly, each array is definitely big enough to hold the intended field
[16:41] <mfa298> it may be parsing properly, but when you come to snprintf it later that will need the \0 for end of string
[16:42] <Ben-AstroSoc> ah
[16:42] <Ben-AstroSoc> would it be worth manually putting in the \0 in the parsing loop?
[16:43] <mfa298> what's the format of time you're getting from the GPS ?
[16:44] <Ben-AstroSoc> hhmmss.ss
[16:44] <Ben-AstroSoc> oh
[16:44] <Ben-AstroSoc> 9 bytes
[16:45] <jakeio> Anyone know the typical USB power output for a Pi zero?
[16:45] <mfa298> if you define it as 10 bytes and initialise to all zeros you're probably ok, but if you want to be sure you can always use memset
[16:45] <jakeio> Quite a specific question I know!
[16:45] <Ben-AstroSoc> yeah that fixed it, thanks
[16:45] <Ben-AstroSoc> and yep i've started initialising them to 0s
[16:46] <Ben-AstroSoc> slowly getting there with my C >_> realising how little my course last term taught me
[16:46] <mfa298> if you wanted to be sure you might want to memset beore each loop. Having a #define for the string lengths can help if you do that.
[16:47] <Ben-AstroSoc> cool, will add it in when i get a mo
[16:47] <Ben-AstroSoc> thanks for the help
[16:48] <domojn> Are all signals in SSB?
[16:49] <mfa298> domojn: rtty usually will be, other things may not
[16:50] <domojn> I mean on a receiver
[16:50] <domojn> actually, osrry misread that
[17:01] <domojn> yay, finally got fldigi to work for the first time :)
[17:02] <domojn> hopefully I can pick up the Waddeson one tommorrow
[17:02] <domojn> first one of my knowledge to be launched in my town
[17:13] Lunar_Lander (~kevin@p54889519.dip0.t-ipconnect.de) joined #highaltitude.
[17:26] <jakeio> What baud rate is recommended for image sending?
[17:26] niftylettuce (uid2733@gateway/web/irccloud.com/x-jhidrkxelbqbimym) joined #highaltitude.
[17:29] <SpeedEvil> jakeio: how long is a piece of string?
[17:30] <jakeio> I realised the lack of logic that that question had once I'd sent it.
[17:30] <SpeedEvil> jakeio: enough to do 4k video is of course nice, but probably unachievable in most cases.
[17:30] <jakeio> Same baud rate as I choose to use for telemetry, so that's what I'm doing.
[17:30] <fsphil> if it is your first go, 300 is safest
[17:30] <SpeedEvil> 1200bps - IIRC - has had good results with the conventional reciever network over the UK IIRC.
[17:30] <SpeedEvil> Ask fsphil.
[17:31] <fsphil> 600 does work, and only a crazy dutch person did 1200
[17:31] <jakeio> Oh, I'm using 50 baud atm.
[17:32] clopez (~tau@neutrino.es) left irc: Ping timeout: 244 seconds
[17:32] <jakeio> fsphil, do you think I can get away with having two webcams plugged into a pi zero, logic tells me no... Logic tells me buy a powered USB hub.
[17:32] <Ben-AstroSoc> got it working perfectly with the exception of not reading any altitude measurement. close!
[17:32] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[17:33] <fsphil> depends on your power supply I guess
[17:33] <fsphil> the 5v you feed it should go straight to the usb port(s?)
[17:33] <jakeio> In theory it should.
[17:33] gonzo__m (~gonzo@79-69-8-229.dynamic.dsl.as9105.com) left irc: Read error: Connection reset by peer
[17:34] <jakeio> I mean, I've got a 5v 2.1A PSU so it should work.
[17:34] <daveake> webcams use much more current when taking a photo/video than when idle, so it depends on your usage
[17:35] <RealBorg> anyone tried how much the rpi camera is pulling?
[17:35] clopez (~tau@neutrino.es) joined #highaltitude.
[17:35] <daveake> 300mA or so
[17:35] <daveake> iirc
[17:36] <daveake> which is same ballpark as webcams
[17:36] <jakeio> Well, I'll give it a try. Seeing as I'll only ever pull images from one at a time how bad can it be? :D
[17:36] SA6BSS-Mike (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) joined #highaltitude.
[17:36] gonzo_m (~gonzo@79-69-8-229.dynamic.dsl.as9105.com) joined #highaltitude.
[17:36] <fsphil> could go on fire. that'd be pretty bad
[17:36] <daveake> If in doubt, measure it
[17:36] <fsphil> more likely, it might just crash the pi
[17:36] <daveake> It'll depend on the model and resolution
[17:36] <fsphil> older pi models had a fairly terrible usb port
[17:37] Babs_ (522fe266@gateway/web/freenode/ip.82.47.226.102) left irc: Ping timeout: 250 seconds
[17:37] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 250 seconds
[17:37] <RealBorg> I noticed the low voltage issue on ukhas wiki
[17:38] dl3yc (yc@88.198.50.117) left #highaltitude.
[17:38] <RealBorg> has boot.txt:max_usb_current=1 been tried?
[17:38] <jakeio> Well, it's the Pi Zero, and it uses remarkable little power by itself.
[17:38] <daveake> This is old stuff - the fuses got removed years ago, and current Pis use switching regulators
[17:39] <Lunar_Lander> switching regulators are very nice
[17:40] <Lunar_Lander> I now implemented one 12V to 3.3V and current draw is down to 40mA from 140
[17:41] jan64_ (~jan64@abbj96.neoplus.adsl.tpnet.pl) left irc: Ping timeout: 252 seconds
[17:44] <RealBorg> hmm, I see inductivities on both my model b v1.2 and pi 2 v1.1
[17:45] <Ben-AstroSoc> hmm, it;s working perfectly until my parser starts having to skip sections of the NMEA, then it stops working
[17:45] <Ben-AstroSoc> i wonder if it's an issue with the switch case
[17:47] gonzo_m (~gonzo@79-69-8-229.dynamic.dsl.as9105.com) left irc: Read error: Connection reset by peer
[17:48] <Ben-AstroSoc> not sure that's it
[17:50] gonzo_m (~gonzo@79-69-8-229.dynamic.dsl.as9105.com) joined #highaltitude.
[17:51] darsie (~darsie@chello084112128043.34.11.vie.surfer.at) joined #highaltitude.
[17:59] <Ben-AstroSoc> it's not filling in with data at all, hmm
[18:07] jakeio (~Sam@host31-50-181-250.range31-50.btcentralplus.com) left irc: Read error: Connection reset by peer
[18:12] Lemml (~andreas@p3E9C3430.dip0.t-ipconnect.de) joined #highaltitude.
[18:24] PE2BZ (~pe2bz@032-145-128-083.dynamic.caiway.nl) left irc: Quit: Leaving
[18:25] david2323 (4e142a4f@gateway/web/freenode/ip.78.20.42.79) joined #highaltitude.
[18:25] <david2323> Good evening!
[18:26] <SpacenearUS> New position from 03test-BK after 03a day silence - 12http://tracker.habhub.org/#!qm=All&q=test-BK
[18:27] <SpacenearUS> New position from 03BlueDot after 032 days silence - 12http://tracker.habhub.org/#!qm=All&q=BlueDot
[18:27] jakeio (~sam@host31-50-181-250.range31-50.btcentralplus.com) joined #highaltitude.
[18:28] <jakeio> Can anyone recommend a decent powered USB hub for use with a raspi? I've found a few online but like to ask here just in case.
[18:30] <david2323> I have a question regarding an HX1 radio board for Pi-in-the-Sky. I am seeing what look like APRS packets being sent to the radio module, but the EN signal level is only 200mV, and the Txd/PWM level only 60mV (AC). Anyone have any clue where to look?
[18:32] <RealBorg> jakeio, I found a problem with some powered hubs: they feed power back into the pi
[18:32] <daveake> You can control the EN signal manually, to give you time to measure the voltage
[18:32] <daveake> If you look in the send_aprs script you'll see how it's done
[18:33] <daveake> It's set as an output with gpio mode 4 output
[18:33] <jakeio> RealBorg, yes, I read that somewhere, hence my desire to ask here.
[18:33] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[18:33] <david2323> What would the correct levels be? I would expect 3.3V steady-on for EN, and a modulated 0 to 3.3V peak signal for Txd?
[18:33] <daveake> Then it's controlled with gpio write 4 0 (off) or gpio write 4 1 (on)
[18:34] <daveake> EN should get up to 3.3V ish
[18:35] <daveake> The signal is lower. Sorry can't remember what level, but the 2 tones are different levels (preamphasis)
[18:36] <daveake> The level is controlled in send_aprs
[18:36] <david2323> I see regular burtsts of a sine wave, with signal level of -60mV to 60mV...
[18:36] <daveake> measured how?
[18:36] <david2323> I would expect the level to be higher, into the volts range, and not going negative (?!)
[18:37] <david2323> Measured using a scope, triggered on the EN pin.
[18:37] <daveake> It can't go negative so dunno what's going on there
[18:38] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 264 seconds
[18:38] <daveake> AC i/p on the scope and x10 leads perhaps?
[18:38] <david2323> Yes that puzzles me as well. I etched an HX1 PCB straight off the Github source...
[18:38] <david2323> Hmm let me check that..
[18:38] Babs_ (522fe266@gateway/web/freenode/ip.82.47.226.102) joined #highaltitude.
[18:38] <david2323> brb
[18:38] <daveake> For sanity you can just write DC levels to the pin
[18:39] <fsphil> sounds like no ground
[18:39] <daveake> yeah could well be that
[18:46] Hiena (~boreger@81.93.195.181.datatrans.hu) joined #highaltitude.
[18:46] <bradfirj_> Ian_, fsphil: Thanks for the suggestions about 6 weeks ago, about the black toolboxes blocking RF, we replaced them with clear acrylic and things worked swimmingly
[18:49] <david2323> daveake fsphil Ok, the EN level is sorted, the probes was indeed on 10x.. Doh :-)
[18:49] <daveake> excellent :)
[18:50] <david2323> But the TxD level is measured ok (1x, DC couping), I still see -60 to 60mV swings.
[18:50] <david2323> The signal modulation looks like proper APRS though.
[18:51] LazyLeopard (~irc-clien@41.215.94.38) left irc: Quit: Leaving
[18:51] <daveake> Run the volume setting manually - see if you get any errors
[18:51] <david2323> And I have ground on all GND pins of the 2x20 pin connector (but one pin which I forgot to solder, but that shouldn't matter though, the rest should provide ample ground)
[18:52] <daveake> and with DC coupling you should see 1.6V with no signal
[18:52] <daveake> i.e. DC offset of 1.6
[18:52] <daveake> measured with a DMM
[18:53] <daveake> (it's a high frequency PWM signal)
[18:53] <daveake> Which Pi is this?
[18:53] <david2323> Model B+
[18:53] <daveake> ok fine
[18:53] amell (~amell@graveley.plus.com) joined #highaltitude.
[18:53] <daveake> as a sanity test, if you have speakers or headphones, plug those in
[18:54] <daveake> You should hear the tones in 1 speaker only (the other channel is remapped to the GPIO pin)
[18:54] <david2323> Let me first solder that one missing ground pin
[18:54] <daveake> yeah
[18:55] <daveake> -60mW is weird
[18:56] <david2323> Agreed.
[19:01] fl_0 (foo@unaffiliated/fl-0/x-7355575) left irc: Ping timeout: 250 seconds
[19:06] fl_0 (foo@unaffiliated/fl-0/x-7355575) joined #highaltitude.
[19:11] thip (560b7136@gateway/web/freenode/ip.86.11.113.54) left irc: Ping timeout: 250 seconds
[19:11] <Ian_> bradfirj_ Glad it was of use. :) Hope all is going well.
[19:14] <bradfirj_> We ran the transmitters on the Circuit of Ireland rally this weekend, had about a 75% success rate
[19:14] <bradfirj_> One battery ran out, but such is life
[19:14] Nick change: bradfirj_ -> bradfirj
[19:15] <david2323> Ok so I've soldered all GND connectors and have measured them, the HX1 module has a good, solid ground.
[19:16] <david2323> TxD signal level is still -60 to 60mV. I don't hear any audio when I plug in headphones.
[19:19] <david2323> How would you recommend changing the volume?
[19:25] <david2323> Ok, looked that up :-)
[19:25] <david2323> amximer set PCM -- 400 gives the following error: amixer: Mixer attach default error: No such file or directory
[19:28] Babs_ (522fe266@gateway/web/freenode/ip.82.47.226.102) left irc: Disconnected by services
[19:30] <david2323> I get the feeling that my Jessy lite image is missing some sound drivers
[19:30] {^TIBS01^} (tibs01@5751bf79.skybroadband.com) left irc: Ping timeout: 244 seconds
[19:31] {^TIBS01^} (~tibs01@5751bf79.skybroadband.com) joined #highaltitude.
[19:31] <daveake> Which operating system?
[19:31] <daveake> h
[19:31] <daveake> ah
[19:31] <daveake> try sudo apt-get install alsa-utils
[19:32] <daveake> I'm going to be busy but yes that sounds (sic) like jessie lite is a bit too lite
[19:34] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[19:34] jan64_ (~jan64@abbj96.neoplus.adsl.tpnet.pl) joined #highaltitude.
[19:36] <david2323> "alsa-utils is already the newest version."
[19:36] <david2323> The correct devies aren't in /dev/snd/ through, "sudo modprobe snd-bcm2835" fixes that.
[19:38] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 244 seconds
[19:45] babs__ (522fe266@gateway/web/freenode/ip.82.47.226.102) joined #highaltitude.
[19:46] <david2323> Ok, will need to do some further testing. Thanks for now and have a good evening!
[19:54] SpeedEvil (~quassel@tor/regular/SpeedEvil) left irc: Ping timeout: 244 seconds
[19:54] BitEvil (~quassel@tor/regular/SpeedEvil) joined #highaltitude.
[19:56] <david2323> Quick update: my Pi-in-the-Sky is transmitting good APRS data now. The issue was that on Jessy Lite the sound drivers aren't loaded automatically. I've added "sudo modprobe snd-bcm2835" to /etc/rc.local and now all is well :-)
[19:56] <amell> Jessy full fat needed?
[19:57] <fsphil> there might be an option in raspi-config to load it automatically
[19:58] <RealBorg> AFAIR sound is enabled by default now
[19:58] <RealBorg> he'd have to turn it off in boot.txt
[20:02] <RealBorg> default boot.txt: dtparam=audio=on and snd_bcm2835 is automatically loaded
[20:03] <SpacenearUS> New position from 03KD9DBI-11 after 0310 days silence - 12http://tracker.habhub.org/#!qm=All&q=KD9DBI-11
[20:05] <mfa298> for loading modules on boot you should be able to just stick the name in /etc/modules or similar
[20:06] Nick change: BitEvil -> SpeedEvil
[20:07] <Ben-AstroSoc> tried a bunch of stuff, no luck with the alt measurement
[20:07] <RealBorg> mfa298, yeah, but it's no longer necessary
[20:08] <mfa298> my pi2 with jessie lite looks to have snd_bcm2835 loaded by deafult
[20:09] DL1SGP (~felix64@dhcp58.signon4.dk.beevpn.com) left irc: Ping timeout: 244 seconds
[20:09] <RealBorg> that's what I said
[20:10] <mfa298> same on a pi1
[20:11] DL1SGP (~felix64@dhcp18.signon3.dk.beevpn.com) joined #highaltitude.
[20:11] <mfa298> I did have issues with kernel modules on a Pi where the kernel package had been upgraded so the modules on disk didn't match the running kernel, but that just needed a reboot
[20:14] <Ben-AstroSoc> sometimes the NMEA strings seem to have random *'s in them, i wonder if that's ending the string before it can read the altitude
[20:19] <mfa298> Ben-AstroSoc: do you have any flags to stop the string your parsing being changed by what's coming from the GPS ?
[20:19] <Ben-AstroSoc> not as of yet, do you think that's it?
[20:20] <mfa298> it wouldn't surprise me
[20:20] <Ben-AstroSoc> i'll try it, it could well be
[20:23] <mfa298> the gps will always be sending data so you potentially have a race between new data coming in and you parsing the previous string. At least putting something in there to stop what you're parsing being updated will ensure that doesn't happen.
[20:23] <mfa298> if it doesn't fix the issue it should at least make it easier to debug
[20:24] <RealBorg> Ben-AstroSoc, I think the only place NMEA is using * is with the checksum at the end of the sentence
[20:24] <Ben-AstroSoc> i have some sentences that seem to have them in the middle of it
[20:25] <Ben-AstroSoc> parsing flag is a negative
[20:25] <Ben-AstroSoc> https://www.irccloud.com/pastebin/pZFRWyXa/
[20:25] <Ben-AstroSoc> for reference
[20:26] <Ben-AstroSoc> oh
[20:26] <Ben-AstroSoc> oooooh
[20:26] <Ben-AstroSoc> ok i think i see it
[20:27] <Ben-AstroSoc> i really need to learn to do the rubber duck programming thing
[20:27] <Ben-AstroSoc> fixed it
[20:27] <Ben-AstroSoc> works perfectly
[20:27] <Ben-AstroSoc> line 175, i'm stupid
[20:28] <fsphil> that's a scary line
[20:28] <Ben-AstroSoc> i cut the loop at j == 8
[20:28] <Ben-AstroSoc> i want to read stuff at j ==9 and j == 10
[20:29] <Ben-AstroSoc> ameans i can tidy the crap i wrote in trying to debug it now
[20:31] <fsphil> you should probably null terminate those gps* strings
[20:31] <fsphil> if one comes in shorter than the last
[20:31] <Ben-AstroSoc> the final transmitted one?
[20:32] <fsphil> the lines like gpsTime[k++] = String[i];
[20:32] <fsphil> gpsTime and the others may not be terminated correctly
[20:32] <Ben-AstroSoc> i think the buffers are larger than the NMEA format provides, i'd've thought it would be ok?
[20:33] <Ben-AstroSoc> i'll write something in to make sure
[20:33] niftylettuce (uid2733@gateway/web/irccloud.com/x-jhidrkxelbqbimym) left irc: Quit: Connection closed for inactivity
[20:33] <fsphil> sure but if you get ABCDEF in one line
[20:33] <fsphil> then get 123 the next for the same field
[20:33] es5nhc (~tarmo@108-40-71-217.sta.estpak.ee) left irc: Remote host closed the connection
[20:33] <fsphil> your buffer will be 123DEF
[20:33] <Ben-AstroSoc> aaah
[20:33] <Ben-AstroSoc> gotcha, i'll wipe 'em
[20:33] <fsphil> and I don't trust that the memory there will be zeroes to begin with
[20:34] <SpacenearUS> New vehicle on the map: 03E3SPCE - 12http://tracker.habhub.org/#!qm=All&q=E3SPCE
[20:34] <fsphil> startup code should zero it, but meh. be paranoid
[20:34] <Ben-AstroSoc> to be honest i'm writing more to have something to demo on tuesday instead of flight worthy stuff, i dunno if i'd wanna fly this version
[20:34] Lemml (~andreas@p3E9C3430.dip0.t-ipconnect.de) left irc: Read error: Connection reset by peer
[20:34] <fsphil> code defensively
[20:34] <Ben-AstroSoc> they're initialised with 0's. btw
[20:35] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[20:35] <fsphil> only the first byte
[20:35] <Ben-AstroSoc> doesn't that set the whole lot?
[20:36] <fsphil> not sure
[20:36] <Ben-AstroSoc> http://stackoverflow.com/a/4142796
[20:36] <Ben-AstroSoc> although i don't knwo if 0 is the same as '\0'
[20:37] <fsphil> it is
[20:38] <fsphil> they should be zeroed anyway even without that
[20:39] <fsphil> but I don't trust that would happen on every platform
[20:39] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 250 seconds
[20:41] <Ben-AstroSoc> yeah
[20:41] <Ben-AstroSoc> right, i've got to finish integrating the I2C for the other sensor then I can stop crunch time
[20:41] <Ben-AstroSoc> gonna do a whole rewrite while i'm designing the 2nd revision board anyway
[20:41] <Ben-AstroSoc> so much stuff i'd rather do differently
[20:42] <fsphil> the second version is usually always better :)
[20:42] <fsphil> try and keep the interrupts a bit leaner
[20:42] <Ben-AstroSoc> would you say in their crrent form they're ok?
[20:42] <mfa298> Ben-AstroSoc: may or may not help, but you can see how I setup some of my variables and clear them in https://github.com/m1ari/InfraRed-AVR/blob/master/ir-sender.c in particular lines 27, 31, 78
[20:43] <fsphil> that page keeps scrolling when I click on things. grrr
[20:44] <fsphil> I wouldn't put buildDatastring() in the interrupt
[20:44] <mfa298> my serial receiving ISR isn't perfect but you can see how I've used a flag to indicate to the main routine when it's ready. I should also have a test in there so that it doen't do anything if serial_rxready is set.
[20:44] <SpacenearUS> New vehicle on the map: 03LCARS_chase - 12http://tracker.habhub.org/#!qm=All&q=LCARS_chase
[20:45] <fsphil> ideally you'd want the ISR just sending bytes from a buffer, and if there are none ready to just keep sending zeros
[20:45] <fsphil> let the main loop prepare and build the string
[20:45] <Ben-AstroSoc> i'l refactor that out too then, same deal as the uart receive
[20:46] <fsphil> what's the deal with line 359?
[20:47] <Ben-AstroSoc> it's a reload timer
[20:47] <Ben-AstroSoc> overflow*
[20:47] <fsphil> oh you don't need to keep setting it
[20:47] <Ben-AstroSoc> are you sure? because I hada real pain wondering why I couldn't decode information because i forgot to reset the reload value
[20:48] <Ben-AstroSoc> it wasn't transmitting at the right baud rate becuase I didn't reset the timer value
[20:48] <fsphil> ah I remember us talking about this before
[20:48] <fsphil> we found you where setting up the timer wrong
[20:48] <Ben-AstroSoc> i probably should write it as an output compare but i could remember how to use the overflow from memory so that was what i went with when i wrote it >_>
[20:50] number10 (56aa7858@gateway/web/freenode/ip.86.170.120.88) left irc: Quit: Page closed
[20:51] <Ben-AstroSoc> be back in a few
[20:52] <fsphil> CTC mode is what you need
[20:56] babs__ (522fe266@gateway/web/freenode/ip.82.47.226.102) left irc: Ping timeout: 250 seconds
[20:59] Hiena (~boreger@81.93.195.181.datatrans.hu) left irc: Quit: Konversation terminated!
[21:01] pb0ahx (~pb0ahx@535426FA.cm-6-5a.dynamic.ziggo.nl) left irc: Quit: Leaving
[21:01] gb73d (~gb73d@host-78-149-132-77.as13285.net) left irc:
[21:03] domojn (520bbe7a@gateway/web/freenode/ip.82.11.190.122) left irc: Ping timeout: 250 seconds
[21:06] jakeio (~sam@host31-50-181-250.range31-50.btcentralplus.com) left irc: Remote host closed the connection
[21:07] Hoogvlieger (~Hoogvlieg@ip41-37-211-87.adsl2.static.versatel.nl) left irc: Quit: Leaving
[21:09] JDat (JDat@89.248.91.5) left irc:
[21:14] jcoxon (~jcoxon@84.51.151.17) left irc: Quit: Leaving
[21:21] BitEvil (~quassel@tor/regular/SpeedEvil) joined #highaltitude.
[21:21] Nick change: SpeedEvil -> Guest92313
[21:21] Guest92313 (~quassel@tor/regular/SpeedEvil) left irc: Ping timeout: 244 seconds
[21:29] jan64_ (~jan64@abbj96.neoplus.adsl.tpnet.pl) left irc: Ping timeout: 244 seconds
[21:30] <Ben-AstroSoc> gonna call it for the night i htink
[21:30] <Ben-AstroSoc> thank you for all the help :)
[21:31] <Ben-AstroSoc> hopefully this'll come easier after my actual C module in june >_>
[21:35] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[21:40] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 276 seconds
[21:44] SA6BSS-Mike (~SA6BSS-Mi@62-20-193-105-no30.tbcn.telia.com) left irc: Ping timeout: 260 seconds
[21:53] Nick change: BitEvil -> SpeedEvil
[22:04] jonsowman_ (uid155658@gateway/web/irccloud.com/x-mwribgycmbogbxoo) joined #highaltitude.
[22:04] Nick change: jonsowman_ -> jonsowman2
[22:06] jonsowman (~jonsowman@kryten.hexoc.com) left irc: Quit: Habby habbing!!!
[22:06] Nick change: jonsowman2 -> jonsowman
[22:11] Ian_ (4d66af83@gateway/web/freenode/ip.77.102.175.131) left #highaltitude.
[22:11] Ian_ (4d66af83@gateway/web/freenode/ip.77.102.175.131) joined #highaltitude.
[22:36] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[22:41] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 260 seconds
[22:41] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[22:45] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Ping timeout: 248 seconds
[22:46] amell (~amell@graveley.plus.com) left irc: Quit: amell
[22:53] bertrik (~quassel@rockbox/developer/bertrik) left irc: Remote host closed the connection
[23:12] Lunar_Lander (~kevin@p54889519.dip0.t-ipconnect.de) left irc: Quit: Leaving
[23:19] <SpacenearUS> New position from 03Legionowo after 039 hours silence - 12http://tracker.habhub.org/#!qm=All&q=Legionowo
[23:23] <SpacenearUS> New vehicle on the map: 03SQ5NWI-14 - 12http://tracker.habhub.org/#!qm=All&q=SQ5NWI-14
[23:25] <SpacenearUS> New vehicle on the map: 03epopkw_chase - 12http://tracker.habhub.org/#!qm=All&q=epopkw_chase
[23:30] <Laurenceb_> this is an interesting page
[23:30] <Laurenceb_> http://www.skylighter.com/fireworks/stinger-missile-making.asp
[23:31] <Laurenceb_> might be a practical way to make rockoons
[23:33] Hix_ (~hix@97e0a7de.skybroadband.com) joined #highaltitude.
[23:34] richardeoin (~richard@cpc87181-aztw31-2-0-cust20.18-1.cable.virginm.net) left irc: Ping timeout: 240 seconds
[23:37] habby (~habby@host-89-243-22-140.as13285.net) joined #highaltitude.
[23:41] habby (~habby@host-89-243-22-140.as13285.net) left irc: Ping timeout: 260 seconds
[23:44] Hix_ (~hix@97e0a7de.skybroadband.com) left irc: Remote host closed the connection
[23:52] gonzo__m (~gonzo@79-69-8-229.dynamic.dsl.as9105.com) joined #highaltitude.
[23:53] Ben-AstroSoc (uid129865@gateway/web/irccloud.com/x-oxulkfohpwzyfdng) left irc: Quit: Connection closed for inactivity
[23:55] gonzo_m (~gonzo@79-69-8-229.dynamic.dsl.as9105.com) left irc: Ping timeout: 248 seconds
[00:00] --- Mon Apr 11 2016