Yes, quite significantly so, how silly of me :-)Of course the biggest differences are that the homebrew mini has an STM32 chip and USB.
- Netduino Forums
- → hanzibal's Content
hanzibal's Content
There have been 386 items by hanzibal (Search limited from 17-June 23)
#56519 Dive Computer and Rebreather Controller Based on a Netduino Mini
Posted by
hanzibal
on 28 February 2014 - 01:59 AM
in
Project Showcase
#49767 Software reset
Posted by
hanzibal
on 22 May 2013 - 09:52 AM
in
Netduino 2 (and Netduino 1)
Great I saw this post, I didn't know how to provoke a reboot from software.
The code you attached before would restart the device repeatedly between 10:00 and 11:00 AM, effectively rendering it unusable during that time. Am I right?
Personally, I think there's no such thing as a software watchdog. You can't write software to check if another piece of software has locked up. If I remember correctly it's one of those NP complete problems within the theories of complexity.
#49870 Software reset
Posted by
hanzibal
on 23 May 2013 - 09:57 PM
in
Netduino 2 (and Netduino 1)
In the multi-threaded world, anything that theoretically can happen - will happen, for sure
A hardware watchdog is a quite simple part, like this one for example:
http://www.analog.co...3_6824_6825.pdf
Simple operation, your micro periodically "checks in" by toggling the detector pin every 100ms. Should the device not hear from you in 140ms, it will briefly de-assert your reset pin, effectively causing an actual reboot.
I'm sure you can find a watchdog IC that is available in DIP8 - just stick it down the breadboard, connect 2 wires (plus power) and you're good.
#49946 Software reset
Posted by
hanzibal
on 24 May 2013 - 09:05 PM
in
Netduino 2 (and Netduino 1)
The one I referred to is named ADM682x where x is 3, 4 or 5 depending on small differences in functionality (it's all in the datasheet) but it's only available in a 5-pin SOT23 package which is SMD (surface mount device) and thus cannot simply be snuck down a breadboard.
Instead, you probably want to use the classic DS1232 which is available in breadboard friendly DIP8 package. A nice feature is that timeout can be configured up to 2 seconds, so you don't have to check in that often, saving you some cpu time. It's about 1.50 USD and available at most electronic part resellers:
http://datasheets.ma...ds/DS1232LP.pdf
See figure 1 on page 3 on how to wire it. Another thing to consider is whether your Netduino has a soft or hard reset pin - if it's soft, a hardware watchdog won't be bullet proof after all. However, in the case of a soft reset, you could have the watchdog chip control the powerline to make sure the board actually reboots for sure no matter what.
Good luck and be sure to check back to report on your progress. I'm sure many here at the forum would be interested in a driver class for that chip so perhaps you could take on writing one...
#50205 Committing File to SD Card
Posted by
hanzibal
on 03 June 2013 - 01:04 AM
in
Netduino Plus 2 (and Netduino Plus 1)
http://forums.netdui...other-problems/
Unfortunately, I don't beleive it was solved eventually but there might be something useful in there.
#50210 Committing File to SD Card
Posted by
hanzibal
on 03 June 2013 - 08:27 AM
in
Netduino Plus 2 (and Netduino Plus 1)
#50197 Committing File to SD Card
Posted by
hanzibal
on 02 June 2013 - 04:20 PM
in
Netduino Plus 2 (and Netduino Plus 1)
#50165 Committing File to SD Card
Posted by
hanzibal
on 01 June 2013 - 08:45 AM
in
Netduino Plus 2 (and Netduino Plus 1)
#49644 Time Machine
Posted by
hanzibal
on 21 May 2013 - 11:56 AM
in
General Discussion
No, its 3 minutes
#49590 Time Machine
Posted by
hanzibal
on 20 May 2013 - 08:23 AM
in
General Discussion
Awesome video! - must have taken months to combine all those separate videos into one.
EDIT: Too me, the video would suggest something with an LCD on it.
Secret labs releasing a flux capacitor for hobbyists????
![]()
Could be sort of....the mystics around this seem to thicken by the hour...check out this post:
http://forums.netdui...mepage/?p=49589
Code cracked!
#49646 Time Machine
Posted by
hanzibal
on 21 May 2013 - 11:59 AM
in
General Discussion
I actually edited the post on 1:57 but that doesn't show...I initally wrote 4 minutes, but you beat me to that
#49648 Time Machine
Posted by
hanzibal
on 21 May 2013 - 12:01 PM
in
General Discussion
Yes, where is it?
#49655 Time Machine
Posted by
hanzibal
on 21 May 2013 - 12:09 PM
in
General Discussion
I must say, I never expect a smartwatch - I was so wrong, so very wrong!
I didn't. Backed. :-)
How much?
#49653 Time Machine
Posted by
hanzibal
on 21 May 2013 - 12:06 PM
in
General Discussion
Looks sweet, don't know what it can do but still only a question of how much I should place!
#49662 Time Machine
Posted by
hanzibal
on 21 May 2013 - 12:22 PM
in
General Discussion
I should expect so and hopefully even runs NETMF !
...and it really was a time machine!
#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).
#56689 Automated Urban Garden
Posted by
hanzibal
on 07 March 2014 - 06:55 AM
in
Project Showcase
#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
#50619 Best Hobby Oscilloscope
Posted by
hanzibal
on 18 June 2013 - 06:40 PM
in
General Discussion
#52406 Embarassing SPI question (re: Netduino Helper Max72197221.cs )
Posted by
hanzibal
on 28 August 2013 - 06:09 AM
in
General Discussion
Assuming (haven't read the d/s) the first matrix will swallow the nop only passing forward the next operation to the next matrix in chain, shouldn't you be sending the nop first when addressing the second matrix?
#49475 Issues with buttons and LCD
Posted by
hanzibal
on 16 May 2013 - 12:20 AM
in
Netduino 2 (and Netduino 1)
Sorry about the delay, couldn't find the code so I had to write it all over again
Anyway, attached is some code you can try. It's a small Hd44780 demo app using bit banging to drive the LCD. I wrote the app for the Mini but you should only need to change the pin assignments and using directives according to your board. It works perfectly on the Mini and hopefully it will on your board too.
Here's a couple of pictures showing what it should look like when running:
In the pictures the wiring may look funny because I use PWM to control brightness and contrast. That way I don't need any potentiometers and there's a few lines for this that you can uncomment if you want to use PWM. Should you decide to do so, first measure the currents to make sure you can drive the LCD straight off the PWM outputs. In my case the current is only some 4mA so it's fine.
Good luck!
Hd44780Test.zip 4.55KB
4 downloads
#52416 Embarassing SPI question (re: Netduino Helper Max72197221.cs )
Posted by
hanzibal
on 28 August 2013 - 04:44 PM
in
General Discussion
#49480 Issues with buttons and LCD
Posted by
hanzibal
on 16 May 2013 - 03:52 AM
in
Netduino 2 (and Netduino 1)
#52577 Embarassing SPI question (re: Netduino Helper Max72197221.cs )
Posted by
hanzibal
on 05 September 2013 - 10:22 AM
in
General Discussion
When cascaded like this, the chips collectively form a big shift register with a bit length equal to 16 x the number of chips. As long as you keep LOAD low, bits are just shifted through according to the number of clock cycles. You can think of the data bits as a train running on a track through a series of stations where each of them corresponds to the cascaded chips respectively. The clock is your train engine and when you stop the engine, the train stops and the passengers (the bits) arrive to the location where they happen to be when the train stopped. You then open the doors by raising LOAD to let the passengers off. As for your questions:
1. The above should answer that
2. Yes but it's only necessary to raise LOAD when bits are in place
3. I've never used the emulator so I wouldn't know but an external device generally cannot tell the difference if it's being bit banged or communicating with a an actual hardware peripheral (e.g. h/w SPI)
4. Yes, only one LOAD when bits have arrived to the designated chip (see 3)
I wouldn't know about power consumption.
#52527 Embarassing SPI question (re: Netduino Helper Max72197221.cs )
Posted by
hanzibal
on 03 September 2013 - 04:55 PM
in
General Discussion
- Netduino Forums
- → hanzibal's Content
- Privacy Policy