.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.
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"…
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;
…
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…
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…
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…
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) }))
{
…
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 =…
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…
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:…
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…
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…
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: …
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…
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…
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…