hanzibal's Content - Netduino Forums - Page 3
   
Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

hanzibal's Content

There have been 386 items by hanzibal (Search limited from 02-July 24)


By content type

See this member's


Sort by                Order  

#50744 Strange AnalogInput readings

Posted by hanzibal on 23 June 2013 - 09:44 PM in General Discussion

So you mean the pull-down I suggested for the open analogue pin was the one thing that helped?




#50243 Static or Instance

Posted by hanzibal on 04 June 2013 - 09:30 AM in Netduino Plus 2 (and Netduino Plus 1)

I'm with NooM here, try and keep classes as self-contained as possible. Avoid scattering bits and pieces as statics in the main class. Gather and isolate things that belong together. In my opinon, the more globals, the worse the code in terms of clarity, change management, maintainance, porting, scalability, generalizantion, scalability, etc. Be aware of the limited amount of system resources, primarily RAM and processing power (your code is being interpreted at run time, there's no JIT here). Create late and destroy early. Be clever and figure out more efficient ways of doing calculations etc than you perhaps normally would. Optimize, use hash tables. Keep it short, lean and mean. Whenever possible, use event driven constructs (interrupts) rather than polling. Avoid tight loops as much as possible. Use multithreading concepts like producer/consumer relations between threads employing sempahores and mutexes. The scheduler does a really excellent job, sometimes almost magical. If you must do tight stuff, remember to yield once in a while in favor of other threads. Other than that, at least I don't take any particular explicit actions for memory management. In general, the GC normally does a better job when left in peace. Personally, I don't care much for IDispose. I mean, if you for example instanciate a driver class for an LCD, a switch or something like that - would you dispose of it run time? I know I wouldn't. Naturally, transient objects should be disposed of early, don't allow stuff to "build up" over time. EDIT: Of course, don't apply all of the above per sé but selectively when necessary, sensible and justified.



#50658 start a new line in a TXT file

Posted by hanzibal on 20 June 2013 - 12:17 PM in Netduino Plus 2 (and Netduino Plus 1)

I usually use newline 'n' only and not vertical tab 'r' and as far as I remember, it should work.

 

Of course, when all else fails, you can always issue multiple calls to WriteLine().




#51247 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 09 July 2013 - 07:38 AM in Netduino Mini

Have you measured the actual power consumption of the the [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]CC3000EM while it's fully running?[/color]

 

[color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]I blew my [/color][color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]CC3000EM[/color][color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;] but a new [/color][color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]CC3000Boost arrived the other day  :)[/color]




#55431 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 17 January 2014 - 01:43 AM in Netduino Mini

Great work guys! If of interest to anyone at this point, as part of another project, I somehow ended up making a simple breakout board for another pretty darn cheap, yet powerful wifi module. It too has built-in a tcp/ip stack (but with a much more simplified interface) and I made the PCB so that it supports both the UART and SPI versions with on-board ceramic antenna or uFL socket for connecting an external antenna of your own choosing. Please let me know, should anyone be interested and I'll make a post about it.



#51321 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 10 July 2013 - 11:42 PM in Netduino Mini

SmartConfig is rather nice. I got a couple of AirportExpress units and I could configure those from my iPhone without having them wired or even being on my wireless network. I'm not sure that is the exact same thing but I guess in essence. Finding that iOS app was almost too good, sometimes you are either lucky or happen to think the same way as others did. Ruling the universe is no biggy, it's simply a matter of wanting for the right things to happen :-)



#50745 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 23 June 2013 - 09:49 PM in Netduino Mini

A $20 wifi board is great value, especially for a single unit!




#51275 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 10 July 2013 - 01:02 AM in Netduino Mini

Sorry to hear that, is it possible to downgrade the module by installing factory firmware? I noted what you said about extending the cc3000 pads.



#50882 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 27 June 2013 - 08:48 PM in Netduino Mini

Sorry to hear that, have you tried the Texas E2E community?

 

They are very helpful and you usually get help directly from TI employees working within the very field in question. At one point they even called me on the phone and that without me having pretended to be a big shot with 1k+ units planned for production  ;)




#52061 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 09 August 2013 - 08:46 PM in Netduino Mini

thx 4 the fish.

What, are you leaving this world for another planet so soon? ;-)



#50910 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 29 June 2013 - 12:15 AM in Netduino Mini

Exactly, why on earth did they choose to add custom headers with 2mm pitch as an alternative to the special headers already being odd? I'll give it a try too, using SPI bit banging of my very own USB board as to challenge you all in this quest for fame and glory. Saddle up there, oh bretheren fore once again we shall ride blindly (and stupidly) into the unknown.



#55479 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 19 January 2014 - 10:15 AM in Netduino Mini

It's based on the RAK410 module, specs are here: http://www.rakwirele...0_Datasheet.pdf image.jpg To the left is a PeekyPokey used to explore the API since it's more conveniant to do directly from the PC. When I'm done, I'll move the code to the Netduino.



#50911 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 29 June 2013 - 12:15 AM in Netduino Mini

Darn, I managed to submit twice so please disregard of this post.



#50916 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 29 June 2013 - 04:16 AM in Netduino Mini

I think I just fried mine  :mellow: Seems pwr_en is ground and it's supposed to be an input...




#51266 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 09 July 2013 - 06:02 PM in Netduino Mini

I was simply thinking of the current draw (but used the wrong term) and given it's 3V3, it should be practically the same thing.



#50976 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 01 July 2013 - 07:55 AM in Netduino Mini

your radio or host board?  I've flicked pwr_en high and low just fine, so maybe double check the wiring, maybe it's OK!

The radio, when trying to set the pwr_en input pin high by applying 3.3V to it, it seems to result in a short circuit.




#51291 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 10 July 2013 - 06:40 AM in Netduino Mini

Wow, that is just so cool, you are a wizard! That was using the managed driver, yes?



#50988 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 01 July 2013 - 03:16 PM in Netduino Mini

I did try the dead chicken routine but nothing in particular happened (other than our old parrot arising from the dead which was kind of freaky btw).

 

I too have a Bus Pirate laying somewhere, still untouched since I use the scope instead, it works pretty ok for me.

 

Vdd is 3V3 but I might have accidentally applied 5V logic at some point effectively killing the pin (I'm using my own USB explorer board, not a Netduino).

 

Btw, are you also using the older TiWi-SL eval board from LS Research?

TiWi-SL.jpg

I soldered short wires onto pins 7 - 12 on both the J4 and J5 headers (and left all other pins unused), then stuck it down a regular breadboard.

 

 

 




#51590 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 20 July 2013 - 12:39 AM in Netduino Mini

Hi guys, I'm back from my holiday now and was looking forward to work on the PCB that I set out to do in Eagle, but... While I was gone, my commercial IO board launched so I need to attend to that in improving the software, writing docs, creating sample projects and so on. This means I won't have time to work on the PCB for a good while. I'll be happy to see someone else pick it up instead and since I didn't get farther than removing the mosfets, there's little point in me posting the Eagle files.



#51200 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 08 July 2013 - 09:06 AM in Netduino Mini

Don't worry, I won't use anything smaller than 0805 or I can't solder by hand. I suppose the CC3000 will require re-flow but even so, placing will be done manually.




#52252 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 21 August 2013 - 07:57 AM in Netduino Mini

Wow!




#51208 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 08 July 2013 - 02:14 PM in Netduino Mini

Sure, you'll all be able to have you're saying about it and yes, I can put the Eagle files on CodePlex or elsewhere later on. Just so that you know though, in couple of days I'll be going away for a week and I'm pretty sure the design won't be ready until after I get back.




#55448 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 17 January 2014 - 09:48 PM in Netduino Mini

Thanks baxter, I'll be sure to make a post when the driver's ready so that I got something to show you.




#51236 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 08 July 2013 - 11:06 PM in Netduino Mini

Thanks, it's a family holiday in the greek archipelago.



#55497 Spark Core (TI CC3000) Porting for Super WiFI Mini?

Posted by hanzibal on 19 January 2014 - 10:37 PM in Netduino Mini

BTW, the monster dac is still playing just fine ... although now controlled by jremote from an ipad via an pc/usb. Like to have that changed into some embedded solution ... but with those rates .... do not know if that will work ... time will tell ....

Ah yes, any new pictures of that monster of yours?

 

The driver for my wifi module is far from complete, it can scan for nearby wlans, connect over dhcp and ping other hosts on the network. I'm currently working on the UART variant but will switch to the SPI version (PCB supports both) when I get the hang of it.





home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.