[5:29] <martin290> does asp.net core work on the pi?
[6:35] <black_13> what is my rasberry zero at 169.254.x.x address ?
[6:37] <black_13> what is the fix?
[6:50] <martin290> anyone know if asp.net core works with the pi?
[12:01] <Ad0> is the optimal way to access SPI through spidev or some BCM2835 library?
[12:08] <gordonDrogon> yes, wiringPiSPI is a simple wrapper round the standard kernel interface. it's usually sufficient for the most part. A lot will depend on what you need to do with the SPI interface.
[12:09] <gordonDrogon> well it's all LGPL, so as long as they adhere to that, they're fine.
[12:10] <gordonDrogon> that's Chris Boots standard linux SPI kernel interface.
[12:10] <gordonDrogon> that runs inside the kernel.
[12:11] <gordonDrogon> wiringPi support that.
[12:11] <gordonDrogon> the mcp3008 that is.
[12:12] <Ad0> does wiringpi have inherent support for MCP3008 ?
[12:12] <gordonDrogon> the main issue is kernel latency through the SPIDEV interface.
[12:12] <gordonDrogon> it limits the transactions per second to 20K or so, depending on the Pi.
[12:13] <Ad0> is that normal?
[12:13] <gordonDrogon> I've never checked, but its possible.
[12:15] <gordonDrogon> it may well use a lot of cpu - the number of bytes transfered per sample is small, so there's nothing for the cpu to do by execute code in-between.
[12:16] <gordonDrogon> in wiringPi world: mcp3004Setup (100, 0) ; // pinBase 100, channel 0.
[12:16] <Ad0> what is pinbase 100 ?
[12:16] <gordonDrogon> then x = analogRead (100) ; // pins 100 throuh 107 are the 8 channels.
[12:17] <Ad0> I was looking for a way to read them all at once, is that possible or can't I avoid the roundtrips per request?
[12:17] <gordonDrogon> I don't think the hardware supports that - there is only one ADC inside the chip behind a multiplexor.
[12:18] <gordonDrogon> that might work.
[12:18] <Ad0> I guess I don't save time and CPU ?
[12:19] <gordonDrogon> you'd save the kernel <-> userspace latency part.
[12:22] <Ad0> what would the diff be?
[12:22] <gordonDrogon> never heard of it.
[12:23] <gordonDrogon> it looks like it puts a nice abstraction layer between the hardware and the user. is it faster/lower latency though? who knows.
[12:24] <Ad0> is this easier to work on than a normal linux driver?
[12:32] <brainzap> in the real world?
[12:35] <Ad0> you know the funny thing is ?
[12:40] <Emil> anycase, anyone know how to use the 1 wire driver in C?
[12:41] <Ad0> it's a driver.
[12:44] <gordonDrogon> wiringPi supports that too.
[12:44] <gordonDrogon> where pin is what you set it up with.
[12:45] <Emil> gordonDrogon: is it really analogRead?
[12:45] <gordonDrogon> yes, wiringPi supports analog devices.
[12:46] <gordonDrogon> you need the overlay/kernel support first - the dtoverlay thing that Ad0 mentions, or just run raspi-config and enable 1-wire.
[12:46] <gordonDrogon> wiringPi just provides a nice little wrapper round it.
[12:46] <gordonDrogon> Emil, of-course it's an analog device - it's reading an analog quantity - temperature - it may have a digital interface, but the qualtity is analog.
[12:49] <gordonDrogon> maybe but please keep it family friendly here.
[12:51] <gordonDrogon> Ad0, doesn't look too challenging to write a little driver for.
[13:05] <gordonDrogon> SPI is a dull duplex transmission - for every bit out, you get a bit in and by default the buffer you use to write out gets written back into.
[13:23] <Ad0> just use the USI on the attiny to do what I actually want lol.
[13:43] <gordonDrogon> Ad0, the SPI chips are all much the same - you send a few bits of control - select the input pin, the gain/sampling freuency, etc. then justcontinue to clock bits until the data is read. usually in 8-bit chunks.
[13:43] <gordonDrogon> the avr chips only have 10-bit ADCs and they're a bit noisy IME, although supersampling works wonders if you're prepared to half/quarter the sample rate.
[13:45] <Ad0> would I require this much on an MCP3008 ?
[13:57] <gordonDrogon> diminishing returns after an 8-level deep low-pass filter.
[14:24] <Ad0> gordonDrogon: would 6-7% CPU be accepable for measuring 3 analogs x 512 + maths every 600 ms ?
[14:55] <gordonDrogon> Ad0, if that were on one of my Pi's I'd probably be OK with it all.
[16:22] <girlzgirls> will someone help me out with installing this new 3.5 hdmi display for my b+ raspi?
[16:25] <girlzgirls> will someone help me out with installing this new 3.5 hdmi display for my b+ raspi?
[16:31] <Zardoz> sounds very bad if it did not come with a instructions.
[16:33] <Zardoz> who is the seller?
[16:40] <Zardoz> the driver is for the "touch" capability and is not needed to display.
[16:43] <Zardoz> you will need to set the res and install the driver.
[16:45] <Zardoz> This screen support from 480 x 320 to 1920 x 1080 any resolution. Best performance is 480 x 320 resolution. If want to change resolution, please change the config.txt file in SD card, find the line hdmi-cvt and change the resolution in this line. After changing config.txt, save and restart Pi.
[17:01] <bedah> so.. stock raspberry pi 3, i'm playing with gpio outputs. looks like some pins are reserved for special purposes, are there recommendations which pins to use?
[17:01] <bedah> pin 4 and 22 make no problems..
[17:06] <leftyfb> bedah: if you've picked a pin that is a GPIOXX, how are you trying to set it up?
[17:07] <leftyfb> bedah: are you doing that as root?
[17:08] <leftyfb> give an example of a pin that is giving you the error?
[17:20] <gordonDrogon> bedah, and type: gpio readall to get a text-based diagram.
[17:32] <jancoow> Hi. Are there any completed kodi installation images?
[17:41] <leftyfb> jancoow: why do you need the latest?
[17:47] <girlzgirls> or is there a port im supposed to use?
[17:47] <leftyfb> girlzgirls: did you enable ssh on the pi?
[17:47] <gordonDrogon> put a file called ssh in the /boot partition.
[17:48] <gordonDrogon> the IP will depends on your lAN.
[17:48] <gordonDrogon> the Pi uses DHCP to get a new IP.
[17:49] <leftyfb> get around what?
[17:50] <leftyfb> girlzgirls: you'll either need a display and get the ip locally, or ssh to pi@raspberry.[local network domain] or you'll need to scan the entire network.
[17:51] <gordonDrogon> http://unicorn.drogon.net/findPi <-- adjust IP range to suit.
[17:52] <gordonDrogon> put SD in PC. Mount the first partition (the one with kernel.img) and just create a file called ssh - just an empty file.
[17:53] <gordonDrogon> ah. maybe missed that bit.
[17:57] <girlzgirls> isnt there something i can do on dos?
[17:57] <girlzgirls> ipconfig? or something?
[17:58] <leftyfb> shouldn't you be working?
[17:58] <leftyfb> Chocolophophora: how will that help?
[17:59] <Chocolophophora> to find the pi's ip ?
[18:10] <girlzgirls> since this display has an hdmi hookup, do i still have to use the pins? or can i just connect it with an hdmi cable and put the display somewhre else?
[18:13] <girlzgirls> it says Your Pi could not be found. Are you sure it is attached to the network?
[18:15] <Stromeko> girlzgirls: Well, the HDMI is for video to the display. The other connections are for the touchpanel back to the rasPi. You don't need to connect them if you're not using the touchpanel I'd say. And the native display resolution is most likely 480x320.
[18:18] <girlzgirls> so nmap is a dos command?
[18:19] <Stromeko> girlzgirls: If the IT folks at your place are any good they'll isolate any device that isn't known to them. THe rasPi relies on DHCP for getting on the network and uses a private IP range otherwise, so if it doesn't get configured via DHCP you will likely have trouble connecting to (or from) it.
[18:20] <Stromeko> For Windows you'd need to let it know that you use the 192.168.0.0/24 subnet before you can even try to connect.
[18:21] <girlzgirls> what is 'it'? nmap?
[18:22] <girlzgirls> ok now what?
[18:23] <girlzgirls> what am i looking 4?
[18:25] <girlzgirls> is it a static address that pi puts out?
[18:28] <girlzgirls> is that for after its installed or for dos?
[18:31] <Chillum> Jesus is just all right with me!
[18:31] <Chillum> redrabbit: me troll? Never!
[18:32] <girlzgirls> WARNING: OS Scan is unreliable without a port scan. You need to use a scan type along with it, such as -sS, -sT, -sF, etc instead of -sn QUITTING!
[18:34] <girlzgirls> do i just add that at the end?
[18:34] <Chillum> what command did you type?
[18:35] <girlzgirls> so what am i looking at?
[18:35] <girlzgirls> want me to throw all this on hastebin?
[18:38] <Chillum> oh, doens't windows handle command line flags differently?
[18:43] <KaiserAres> https://nmap.org/book/man-briefoptions.html -sN being tcp null, dont know why its not working, perhaps cos windows?
[18:57] <girlzgirls> sorry, had a customer. ok what did i miss?
[18:58] <ShorTie> choppy playback, what resolution you runnin if i can ask ??
[19:00] <girlzgirls> was i supposed to add something to this?
[19:04] <ShorTie> this is getting awful complicated it seems, no screen/keyboard hooked up girlzgirls ??
[19:06] <girlzgirls> does that help?
[19:07] <girlzgirls> ok, i have an sd card reader. how do i put that ssh thing in boot? or does that not matter anyway?
[19:07] <leftyfb> jeeze, you're still on about this?
[19:08] <ShorTie> i know i wouldn't, lol.
[19:12] <girlzgirls> ok, i got the config.txt what do i need to change in it?
[19:15] <gordonDrogon> never understood why people want to rent these units though.
[19:19] <oq> "just buy a bigger house"
[19:19] <gordonDrogon> that was when moving house.
[19:20] <gordonDrogon> what country are you in, oq ?
[19:21] <gordonDrogon> move to the coutry. you get a lot more house for your money. I live in ruralistan.
[19:58] <Stromeko> Elec_A: so just run 'make --version' and it's probably GNU make anyway.
[20:55] <Smeef> Is there an alternative to this that also does charging and isn't an Adafruit Powerboost model?
[21:00] <ali1234> what is wrong with the adafruit?
[21:02] <ali1234> 1A isn't enough?
[21:02] <ali1234> how much do you need?
[21:03] <ali1234> have you tested it?
[21:05] <ali1234> do you know if the schematic is available?
[21:07] <Smeef> It should be, but would that involve unplugging the LiPo and plugging it into another board when it needs to be charged, or are you talking about having it power the project and be charged without needing to be removed?
[21:09] <ali1234> can you tell me the part number on the chip that isn't TPS61090?
[21:11] <ali1234> also are there any parts on the bottom?
[21:14] <Smeef> So you're saying I can modify the 1000C to put out more?
[21:19] <bub_> chromium is a beast, what's a good low resource-using webbrowser?
[21:21] <ali1234> Smeef: what exactly is the problem you have?
[21:21] <ali1234> is it that the whole system crashes at power spikes?
[21:22] <ali1234> or is it that the battery drains faster than it charges?
[21:35] <ali1234> how big is the display?
[21:37] <ali1234> what else do you have hooked up?
[21:39] <ali1234> does the DAC have an amplifier?
[21:42] <foo30303> Hi all. I am considering using this GSM board https://www.modmypi.com/raspberry-pi/breakout-boards/raspberry-pi-sim800-gsm-breakout-board for a project, but it seems that it will take the I2C pins(it doesn't explicitly say it will). Has anybody ever used this or can confirm its need for I2C pins?
[21:46] <ali1234> why do you need all that stuff Smeef?
[21:46] <foo30303> Why would you say it's dead? Is there an alternative to connecting the pi to a cellular data network?
[21:47] <ali1234> foo30303: you ever heard of 4G?
[21:49] <foo30303> Damn. The terminology sure is confusing sometimes. I always thought 4G is like an awesome GSM-based network and 4G is a nice marketing term for it. <--- WRONG MYTH, etc.
[21:50] <foo30303> ali1234: Any personal recommendation for a good 4G module for the Pi?
[21:51] <ali1234> foo30303: the issue youll have is finding something designed specifically for the pi. but mobile data modules are very common.
[21:52] <foo30303> do you think I should worry about power considerations if I use 4G, GPS and a sensor all powered by the PI?
[21:52] <foo30303> Sorry if my questions sound a bit too.. derp.
[22:00] <foo30303> ali1234: Very shady.
[22:05] <TheSilentLink> I have some flickering on my screen when using my pi 3. Is it because of my awful screen?