Questions tagged [nanoframework]

.NET nanoFramework is a free and open-source platform that enables the writing of C# applications for constrained embedded devices. It is suitable for many types of projects including IoT sensors, wearables, proof of concept, robotics, hobbyist/makers creations or even complex industrial equipment. It makes the development for such platforms easier, faster and less costly by giving embedded developers access to modern technologies and tools.

57 questions
3
votes
1 answer

Does .NET nanoFramework on ESP32 support generics

I'm attempting to write a C# application with a generic class, targeting ESP32. When launching the debugger, the Visual Studio nanoFramework extension's debug process appears to be stuck in an infinite loop at the "Loading Deployment Assemblies"…
Jeremy
  • 2,642
  • 18
  • 36
2
votes
1 answer

nanoFramework ESP32 Thread.Sleep weird behaviour

I have the following program running on an ESP32 as a test: using System; using System.Diagnostics; using System.Threading; using nanoFramework.Hardware.Esp32; namespace NFApp2 { public class Program { private static long Counter; …
Robert
  • 75
  • 1
  • 7
2
votes
1 answer

nanoFramework ESP32 Not waking up after sleep with Keypad

I am doing a project with a numeric keypad, an ESP32 programmed in nanoFramework (CoreLibrary 1.9.0 p5, Esp32 1.3.2 p9). Now I want to wake up the controller with a keypress on one of the buttons. The code for handling the matrix works fine, buttons…
ummerland
  • 23
  • 2
1
vote
1 answer

Link failure: some assembly references cannot be resolved

I am using nanoframework library in visual studio 2022, trying to manipulate the ESP-WROOM-32 device where an RFID-RC522 reader is connected. I publish the application "Hello from nanoFramework!" and its execution is successful. When I add the…
1
vote
1 answer

What are the minimum hardware requirements for .NET nanoFramework?

What are the minimum hardware requirements for .NET nanoFramework? I want to program an XMC1404-Q064X0128 microcontroller with C# code. It's core is a 48MHz ARM Cortex-M0 with 16KB RAM and 128KB flash memory. Can .NET nanoFramework run on this…
Biscuits
  • 1,767
  • 1
  • 14
  • 22
1
vote
2 answers

Controller constructor is not called in nanoFramework Webserver example despite routes working

I am using .NET nanoFramework with this sample as a base project to make a REST API that reads and serve my sensors data from ESP32. using (WebServer server = new WebServer(80, HttpProtocol.Http, new Type[] { typeof(DHTController) })) { …
1
vote
2 answers

nanoframework esp32 wifi connection fails

I am trying to connect to wifi using esp32 nanoframework. Have tried various samples, for example: https://github.com/nanoframework/Samples/blob/main/samples/Wifi/ScanWiFi/Program.cs I am getting the below exception on this line: WifiAdapter wifi =…
JPThorne
  • 610
  • 11
  • 17
1
vote
1 answer

Issue Getting nanoFramework to Deploy and Run on ESP32D02DQ66

Having issues deploying “Hello World” to ESP32_WROOM_32 device. I was able to flash the device successfully using nonoff. I have a ESP32D0WDQ6 and flashed ESP32_WROOM_32 v1.0.7.2 to it. I am using .NET nanoFramework Extension v2022.2.0.8 and VS…
pleslie
  • 87
  • 7
1
vote
2 answers

Device Explorer of .net nanoframework doesn't scan all available serial ports

On my Windows PC I have 5 serial ports, but the Device Explorer of nanoframework is only scanning one of them. All serial ports work fine in other applications. I have connected an ESP32 device with a usb cable. (This one:…
Hneel
  • 95
  • 10
1
vote
2 answers

ESP32 I2S in nanoFramework

I'm trying to replicate a C++ project I found for sampling sound data on the ESP32 using I2S, but using C# and nanoFramework. In the ADCSampler.cpp file the following headers are loaded #include #include "driver/i2s.h" #include…
CobyC
  • 2,058
  • 1
  • 18
  • 24
1
vote
1 answer

How to read line data send to COM from PC

I was going through planty of nf samples (many thanks for that), but couldn't find any, where I can read data sent by USB cable (serial port). In arduino I would simply write: Serial.readString() to get data sent through COM. How that could be…
titol
  • 999
  • 13
  • 25
1
vote
1 answer

Trouble loading nanoFramework app onto STM32F429I-DISC1 board

I am trying to run a simple .NET nanoFrameork HelloWorld application on STM32F429I-DISC1 board (https://docs.nanoframework.net/content/reference-targets/stm32f429i-discovery.html). I followed the steps from here: …
gtSasha
  • 125
  • 1
  • 11
1
vote
1 answer

String Encryption in Nanoframework

I am interested to understand how I can symetrically encrypt/decrypt a string in Nanoframework. In my case the nanoframework would be deployed on an ESP32 controller. The encryption/decryption would help a .NET application running on a computer…
Nouman Qaiser
  • 283
  • 4
  • 14
1
vote
3 answers

Cannot Load Nanoframework firmware on ESP32 with E4000 error

I am trying to load nanoFramework firmware onto an ESP32-Wroom-32 board (DEVKITV1). When connected via USB the device shows up in Device Manager as COM3. I have tried connecting it via Putty and can read messages on baud rate 115200. The device…
Nouman Qaiser
  • 283
  • 4
  • 14
1
vote
1 answer

Use arduino library in nanoFramework?

is it somehow possible to use an arduino library in nanoFramework? I really want to use nanoFramework but for this I need the OneWire library from arduino due to actually it is not possible to define the pin number in one wire controller in…
opitzh
  • 325
  • 1
  • 2
  • 8
1
2 3 4