Go to advanced search

by juanpaexpedite
Tue Jun 16, 2015 7:18 am
Forum: Windows 10 for IoT
Topic: Delay microsecond support
Replies: 17
Views: 8559

Re: Delay microsecond support

From Microsoft sources I can assure you that at this moment there is no support below 1 ms (await Task.Delay(1)) All the answers you get are not valid for IoT. But they have told me in the MS forum that is in the pipeline and many other interesting things, like GPIO PWM and else. So until then we h...
by juanpaexpedite
Fri Jun 12, 2015 7:43 am
Forum: Windows 10 for IoT
Topic: Any way to instal SQL server express on Windows to IoT?
Replies: 5
Views: 10586

Re: Any way to instal SQL server express on Windows to IoT?

The standard for this is using SQLite, and if you want yo make a server I understand you should create an app or an agent using a rest for instance and respond to the calls, watch other questions about SQL in this forum and here. https://social.msdn.microsoft.com/Forum ... WindowsIoT
by juanpaexpedite
Wed Jun 10, 2015 6:27 am
Forum: Windows 10 for IoT
Topic: Delay microsecond support
Replies: 17
Views: 8559

Re: Delay microsecond support

From Microsoft sources I can assure you that at this moment there is no support below 1 ms (await Task.Delay(1)) All the answers you get are not valid for IoT. But they have told me in the MS forum that is in the pipeline and many other interesting things, like GPIO PWM and else. So until then we ha...
by juanpaexpedite
Mon Jun 08, 2015 10:43 am
Forum: Windows 10 for IoT
Topic: SPI, ADCs with trimpot and moisture sensor for beginners
Replies: 0
Views: 455

SPI, ADCs with trimpot and moisture sensor for beginners

I have made a post with pdf to help people to understand and manage inputs from sensors using windows 10 the SPI MCP3022 ADC and both channels. I hope you enjoy http://bit.ly/1B0p8MA and all the code in here : https://github.com/juanpaexpedite/IoTExamples Apart I have made a class that leverages all...
by juanpaexpedite
Thu Jun 04, 2015 12:35 pm
Forum: Windows 10 for IoT
Topic: SPI Channel 1 with MCP3002 in Windows 10 IoT
Replies: 6
Views: 2953

Re: SPI Channel 1 with MCP3002 in Windows 10 IoT

Finally digging in to the specifications and testing, to use the channel 1 you need to use
new byte[2] {0x70,0x00}.


It would be great if someone post the bytes for the MCP3008. At this moment I do not have any so I will test when I get one.

With that can be used to sensors with the SPI0 directly.
by juanpaexpedite
Wed Jun 03, 2015 5:25 am
Forum: Windows 10 for IoT
Topic: Fastest way of writing to an SPI device
Replies: 17
Views: 3688

Re: Fastest way of writing to an SPI device

I have question about timing and GPIO PWM and I got the answer that it can be in the pipeline https://social.msdn.microsoft.com/Forums/en-US/2c512ac7-cc54-4e41-8bed-dba42f8e8657/announcements-and-competition?forum=WindowsIoT I have an issue to know what I have to write in the writebuffer to use the ...
by juanpaexpedite
Tue Jun 02, 2015 1:46 pm
Forum: Windows 10 for IoT
Topic: SPI Channel 1 with MCP3002 in Windows 10 IoT
Replies: 6
Views: 2953

Re: SPI Channel 1 with MCP3002 in Windows 10 IoT

Hi, I played around with the MCP3008 last weekend, so I was also puzzled what the wiriteBuffer means, which I figured out by looking at the datasheet.So, look at the DataSheet for the MCP3002 in TABLE 5-1 you will find the description for setting the bits... http://pdf1.alldatasheet.com/datasheet-p...
by juanpaexpedite
Tue Jun 02, 2015 9:29 am
Forum: Windows 10 for IoT
Topic: SPI Channel 1 with MCP3002 in Windows 10 IoT
Replies: 6
Views: 2953

SPI Channel 1 with MCP3002 in Windows 10 IoT

I am learning SPI with the RPi2 and after the first great test with CH0 now I want to make the following steps, but I have several doubts: http://i.stack.imgur.com/vYpJn.png 1.-What is the use of the pin 26 [SPI0 CS1]? That means that there are ADCs with two channel select signal? Any example? 2.- T...
by juanpaexpedite
Mon Jun 01, 2015 9:42 am
Forum: Windows 10 for IoT
Topic: Analog measuring (Temperature with thermistor)
Replies: 3
Views: 2869

Re: Analog measuring (Temperature with thermistor)

To begin in the SPI world, I follow the steps in here: https://www.hackster.io/windowsiot/potentiometer-sample I have followed the steps with a MCP3002 and I have an issue with the values. I fixed the pot at 5 Kohm and I get the values as follows 0,317,143,0,283,18,0,66,227,0,0,317,128,311,237,316,0...
by juanpaexpedite
Sat May 30, 2015 6:50 am
Forum: Windows 10 for IoT
Topic: Determine if device belongs to IoT family
Replies: 1
Views: 872

Re: Determine if device belongs to IoT family

That's what the RPi2 returns

Code: Select all

using static Windows.ApplicationModel.Resources.Core.ResourceContext;

var devicefamily = GetForCurrentView().QualifierValues["DeviceFamily"];
    if (devicefamily != "Universal")
        return false;
by juanpaexpedite
Wed May 27, 2015 5:41 pm
Forum: Windows 10 for IoT
Topic: DS18B20 Temperature Sensor / 1-Wire on Windows 10
Replies: 34
Views: 15132

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

I experimented and done by myself, take a look to my post http://expediteapps.com/blog/temperature-with-gpios-in-windows10iot-with-rpi2/ , I had to make several trials and errors until I did it. I use a thermistor and it is not exactly one wire because I had many input errors on reading the values, ...
by juanpaexpedite
Tue May 26, 2015 8:11 am
Forum: Windows 10 for IoT
Topic: Analog measuring (Temperature with thermistor)
Replies: 3
Views: 2869

Re: Analog measuring (Temperature with thermistor)

Finally I managed a solution working with uF and Valuechanged, I made a post http://bit.ly/1cWcUJO in my blog about how to measure temperature with GPIOs in Windows 10 IoT. It is the most accurate I can do. I also have found that is possible to do with a fixed voltage source, but it is more inestabl...
by juanpaexpedite
Mon May 18, 2015 6:50 am
Forum: Windows 10 for IoT
Topic: Windows for IOT Database?
Replies: 2
Views: 4412

Re: Windows for IOT Database?

The best implementation is the following of SQLite, http://igrali.com/2015/05/01/using-sqli ... rsal-apps/

I have to say that implements a high level functionality as you do not need to use sql queries, you can work with the classes and LINQ directly.
by juanpaexpedite
Fri May 15, 2015 10:40 am
Forum: Windows 10 for IoT
Topic: GPIO PWM hardware
Replies: 0
Views: 639

GPIO PWM hardware

I have made the example of the RGB Led and I find out that the Python libraries have something called GPIO.PWM that makes a hardware PWM signal in order to be able to make the intermediate colors for the eye but I do not see any option for this. Is implemented within another method, will be implemen...
by juanpaexpedite
Fri May 15, 2015 10:35 am
Forum: Windows 10 for IoT
Topic: Analog measuring (Temperature with thermistor)
Replies: 3
Views: 2869

Analog measuring (Temperature with thermistor)

I am a newbie in the world of Raspberry and I have seen there are several solutions for reading analog, this example for measuring temperature: http://raspberrypi.powersbrewery.com/project-8-temperature-sensing-thermistor/ Is is very simple to understand, discharging, wait and charge and read the ti...

Go to advanced search