- Netduino Forums
- → hanzibal's Content
hanzibal's Content
There have been 386 items by hanzibal (Search limited from 12-July 24)
#50857 a new i/o pin
Posted by
hanzibal
on 27 June 2013 - 06:30 AM
in
Netduino Mini
#50754 Seeking economical premade voltage sensor array?
Posted by
hanzibal
on 24 June 2013 - 08:47 AM
in
Netduino Plus 2 (and Netduino Plus 1)
Yes, the general idea was to use an analogue multiplexer that can handle the voltage and then a single voltage divider between that and the Netduino. The CD4067B 16 channel mux/demux can handle up to 20V but Vcc must also be 20V:
http://www.ti.com/li...ink/cd4097b.pdf
If 20V is not readily available you need a step-up converter from 12V which infortunately would increase cost. On the other hand, such converters come quite cheaply on eBay:
http://www.ebay.com/...=item1c33d18e42
If you spend some time searching, you might be able to find a demultiplexer that can handle input voltage significantly greater than Vcc and then of course you won't need the converter.
Audi?
#50736 Seeking economical premade voltage sensor array?
Posted by
hanzibal
on 23 June 2013 - 12:19 PM
in
Netduino Plus 2 (and Netduino Plus 1)
#50756 Seeking economical premade voltage sensor array?
Posted by
hanzibal
on 24 June 2013 - 09:18 AM
in
Netduino Plus 2 (and Netduino Plus 1)
It suddenly hit me that you need an analogue switch instead of a multiplexer. There are many but this one is a 16 channel switch that can deal with 230V signals. I don't know but they could be expensive.
http://datasheets.ma...05-MAX14806.pdf
EDIT: Here's an overview from Texas Instruments:
#52468 Low baud rates on serial port
Posted by
hanzibal
on 30 August 2013 - 07:39 AM
in
Netduino Plus 2 (and Netduino Plus 1)
#52524 Low baud rates on serial port
Posted by
hanzibal
on 03 September 2013 - 02:36 PM
in
Netduino Plus 2 (and Netduino Plus 1)
Yes, a soft UART would work for receiving since interrupts are correctly time stamped but sending is trickier.
Still, if the meter doesn't really use full duplex (won't receive and respond in parallel) you might get away with sending too - 300 baud means >1 ms between pin toggles and that is a pretty long time even for an NP2.
#50746 Hd44780Lcd busy flag
Posted by
hanzibal
on 23 June 2013 - 09:52 PM
in
Netduino Plus 2 (and Netduino Plus 1)
It's probably coming from two or more threads accessing the LCD driver simultaneously, try adding lock statements around things that need be executed exclusively. There was a case recently with the same problem - and the same solution. I'll see if I can dig it out...
EDIT: Turned out the mentioned case was in fact this very thread :-)
Have a look at some code earlier in this thread on how to use the lock statement. You see, the LCD driver is not "thread safe" meaning it cannot deal with multiple threads. What happens is that your main thread gets interrupted in the middle of transferring data to the LCD by the interrupt service routine which then starts sending its own data to the LCD in the middle of the ongoing operation. The LCD will get very confused by this and put in an out-of-sync state effectively garbling every operation from there on.
EDIT: Oh, and you should never have a thread sleep in an interrupt service routine! It should act like a hit squad - get in, do the job and get the h-ll out of there
#50310 Power supply specifies minimum output voltage?
Posted by
hanzibal
on 06 June 2013 - 12:16 AM
in
General Discussion
#51600 Power Switch Question
Posted by
hanzibal
on 20 July 2013 - 10:39 PM
in
Netduino 2 (and Netduino 1)
#51614 Power Switch Question
Posted by
hanzibal
on 21 July 2013 - 07:34 PM
in
Netduino 2 (and Netduino 1)
#51602 Power Switch Question
Posted by
hanzibal
on 20 July 2013 - 11:28 PM
in
Netduino 2 (and Netduino 1)
#49400 Netduino plus 2 + Real time clock + RFID
Posted by
hanzibal
on 13 May 2013 - 10:02 PM
in
Netduino Plus 2 (and Netduino Plus 1)
#49417 Netduino plus 2 + Real time clock + RFID
Posted by
hanzibal
on 14 May 2013 - 10:18 AM
in
Netduino Plus 2 (and Netduino Plus 1)
#50682 Home Automation - Want to know more?
Posted by
hanzibal
on 21 June 2013 - 12:22 AM
in
General Discussion
http://www.avsforum....for-itach-irule
And perhaps also this one:
http://itachtoolkit.codeplex.com/
And maybe this too:
http://forums.netdui...ased-ir-remote/
All in all you can build your own iTach emulator or HTTP listener on an NP or NP2 to carry out the commands against whatever h/w you want to control.
The thing is that the iRuleAtHome remote control and builder is just awesome, I use it for all kinds of stuff in my house. I even use it to turn the christmas tree on and off during that time of year. In this post there's a video on controlling a Netduino mini over ethernet:
http://forums.netdui...m-a-smartphone/
You can of course also do it with a PC, Raspberry PI or what have you.
#56201 Out of pins. Need advice on how to expand
Posted by
hanzibal
on 19 February 2014 - 10:57 AM
in
Netduino 2 (and Netduino 1)
#50732 Netduino + Video Experimenter shield
Posted by
hanzibal
on 23 June 2013 - 08:26 AM
in
Netduino Plus 2 (and Netduino Plus 1)
#51918 Exploiting the world of R/C hobby vehicles
Posted by
hanzibal
on 03 August 2013 - 07:20 PM
in
General Discussion
#51944 Exploiting the world of R/C hobby vehicles
Posted by
hanzibal
on 04 August 2013 - 08:34 PM
in
General Discussion
#51929 Exploiting the world of R/C hobby vehicles
Posted by
hanzibal
on 03 August 2013 - 10:00 PM
in
General Discussion
#51088 HELP with servo on NP2
Posted by
hanzibal
on 04 July 2013 - 07:32 PM
in
Netduino Plus 2 (and Netduino Plus 1)
#51917 button push
Posted by
hanzibal
on 03 August 2013 - 07:08 PM
in
General Discussion
#51657 Make instance of module static
Posted by
hanzibal
on 24 July 2013 - 08:41 AM
in
Netduino Go
#51018 Mcp23s17 (SPI) with NP2+
Posted by
hanzibal
on 02 July 2013 - 02:01 PM
in
Netduino Plus 2 (and Netduino Plus 1)
Hi, did you get this driver working eventually?
#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)
#52501 Problem with SPI Mode 1
Posted by
hanzibal
on 02 September 2013 - 05:04 PM
in
Netduino Plus 2 (and Netduino Plus 1)
- Netduino Forums
- → hanzibal's Content
- Privacy Policy