- Netduino Forums
- → hanzibal's Content
hanzibal's Content
There have been 386 items by hanzibal (Search limited from 13-May 23)
#55428 .NET Fart Detector
Posted by hanzibal on 16 January 2014 - 05:41 PM in Project Showcase
#55432 .NET Fart Detector
Posted by hanzibal on 17 January 2014 - 01:47 AM in Project Showcase
#55289 .NET Fart Detector
Posted by hanzibal on 10 January 2014 - 09:04 PM in Project Showcase
Ha, ha - that is just hilariously awseome!
As a child, I actually dreamt of creating a fart detector in order to answer the inevitable question "who was that?" and now, some 30 years later its finally here - your are a true genius!
EDIT: It's mostly methane is it not?
#49966 3x4 Matrix Keypad bounce problem
Posted by hanzibal on 25 May 2013 - 08:31 PM in Netduino 2 (and Netduino 1)
#49975 3x4 Matrix Keypad bounce problem
Posted by hanzibal on 26 May 2013 - 06:30 AM in Netduino 2 (and Netduino 1)
#49971 3x4 Matrix Keypad bounce problem
Posted by hanzibal on 25 May 2013 - 09:52 PM in Netduino 2 (and Netduino 1)
#50857 a new i/o pin
Posted by hanzibal on 27 June 2013 - 06:30 AM in Netduino Mini
#50776 a new i/o pin
Posted by hanzibal on 24 June 2013 - 10:58 PM in Netduino Mini
#50151 Analog.ReadRaw unhandled exception in SecretLabs.NETFM
Posted by hanzibal on 31 May 2013 - 07:56 PM in Netduino Plus 2 (and Netduino Plus 1)
#50492 Another Newbie Steps into the Arena
Posted by hanzibal on 14 June 2013 - 08:51 PM in General Discussion
#51705 Anyone tried XMarine?
Posted by hanzibal on 26 July 2013 - 10:35 AM in General Discussion
This is not directly related but looks an interesting way to build smartphone apps for interfacing with your Netduino, for example via sockets over a network.
As I understand, XMarine would enable you to use Visual Studio for writing apps for both Android and iOS devices.
To me it sounds very cool. Has anyone of you guys tried it?
#50815 Anyone using WCF?
Posted by hanzibal on 25 June 2013 - 10:06 PM in Netduino Plus 2 (and Netduino Plus 1)
#52255 Audio sampling
Posted by hanzibal on 21 August 2013 - 11:26 AM in General Discussion
Hi!
I think max sampling rate is 2Ms/second (see datasheet for the microcontroller) but you won't come anywhere near that rate or probably even 44.1kHz in managed code (plus for stereo you would need 2 channels = half the rate with a single multichannel ADC).
The Netduino ADC is only 10 or 12 bit (depending on micro) and meant for reading sensors and such much rather than sampling audio signals. För CD quality, even native code won't help.
I suggest you look at some external ADC board with more suitable specs, possibly something with a DSP onboard. Also bear in mind you need to handle the data stream which would be 2 * 16 * 44100 = 1,4Mbit/second for CD quality audio so if you're looking to do real time DSP, you're in for a real challenge.
You might want to look at the VS1053b from VLSI, it's an primarily a MP3 decoder but it can sample CD quality audio producing an MP3 (or Ogg Vorbis) encoded audio stream for you. The chip also has a few simple DSP effects.
You should probably check out www.minidsp.com
Sorry if I sound negative but I really don't think Netduino is you best choice for the task.
Good luck!
#52306 Audio sampling
Posted by hanzibal on 23 August 2013 - 06:47 PM in General Discussion
AFAIK, there's no ready made API for doing this, instead you need to modify the Netduino firmware to implement the functionality you need. This means setting up a C language tool chain for the micro in question, creating your own specialized branch of tinyCLR and thereby diverging and detaching from the Netduino main track. I haven't done this myself but many others have, so you can search the forum for guides on how to proceed along this path....However, I am more concerned about how things work if I wanted to get the high sampling rate you mentioned done in native code, while at the same time running managed code. How does that all work? It has been a long time since I did low level programming. Is it possible to have the native code reading the samples, by interrupts, using a timer, while at the same time feeding the results of this to a parallel executing managed thread?
That Bambino board looks interesting but for some reason I personally don't care much for gadgeteer boards and therefore don't know much about it. Ah, so there's a set of dedicated DSP instructions in M4, I was unaware of that. Texas are quite knowledgable within digital audio in general (especially since they aquired Burr-Brown) and the field of DSP in particular where they have a broad range of processors: http://www.ti.com/ls...AliasId=1200327 Did you have a look at MiniDSP.com? I really think that's more in line of what you are looking for. Please don't let this discourage you from getting a Netduino since I'm sure it would be a great tool for you to learn more of embedded programming and for interfacing with the other h/w parts that you will need. Please explain a little more of your goals and what you are hoping to achieve and I'm sure someone else here will be able to help you further.Just thought I'd post this here in case anyone ends up searching for the same stuff: http://www.iar.com/G...4_MCU_part1.pdf Cortex M4 has DSP instruction set and there are libraries available. Also - I found this: http://www.micromint...bambino200.html It is a .NET Gadgeteer compatible board with a multi core ARM Cortex .
#56671 Automated Urban Garden
Posted by hanzibal on 06 March 2014 - 11:49 AM in Project Showcase
If you need more sensors, you could try interfacing the Parrot Flower Power:
http://www.parrot.com/flowerpower/en/
It would require a Bluetooth LE module and probably hacking their protocol. The flower power is a bit expensive but there's also the SensorTag from Texas which is not miles away (not a coinsidence):
http://www.ti.com/tool/cc2541dk-sensor
#56689 Automated Urban Garden
Posted by hanzibal on 07 March 2014 - 06:55 AM in Project Showcase
#56685 Automated Urban Garden
Posted by hanzibal on 06 March 2014 - 09:31 PM in Project Showcase
I got one, works perfecly with iOS devices but haven't got around getting a board for my Netduinos yet and turned out there's no BT LE drivers for my good old XP box (while as it is built into Win 7).
#50619 Best Hobby Oscilloscope
Posted by hanzibal on 18 June 2013 - 06:40 PM in General Discussion
#56349 bitwise comparison & IF condition
Posted by hanzibal on 24 February 2014 - 09:45 PM in General Discussion
if ((this_led_color & mask) != 0) SDI.Write(true);else SDI.Write(false);Checking for equality to mask is no longer the same when mask has other than a single bit set.
#50929 BUILD 2013
Posted by hanzibal on 29 June 2013 - 12:00 PM in General Discussion
#51013 BUILD 2013
Posted by hanzibal on 02 July 2013 - 09:09 AM in General Discussion
Ok, thanks!
#50871 BUILD 2013
Posted by hanzibal on 27 June 2013 - 11:27 AM in General Discussion
We built an app for Windows 8.1 (and Windows RT 8.1) using the new Bluetooth Smart (Low Energy) WinRT proximity APIs.
Chris, I'm very interested in BLE and have a few questions about your setup:
1. What shield/module/device have you hooked up to your NP2?
2. Is your Win8 machine equipped with built-in BLE or are you using a dongle, if so what dongle is that?
3. Do you know if the BLE APIs are available for other Windows versions than Win8?
Thanks!
#50969 BUILD 2013
Posted by hanzibal on 30 June 2013 - 08:26 PM in General Discussion
#50824 Building a "valley detector"
Posted by hanzibal on 26 June 2013 - 05:43 AM in General Discussion
#50866 Building a "valley detector"
Posted by hanzibal on 27 June 2013 - 07:55 AM in General Discussion
Ok, there are of course much more sophisticated hp-filter designs that you could apply.
- Netduino Forums
- → hanzibal's Content
- Privacy Policy