EcoRenovator  

Go Back   EcoRenovator > Improvements > Geothermal & Heat Pumps
Advanced Search
 


Blog 60+ Home Energy Saving Tips Recent Posts Search Today's Posts Mark Forums Read


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-13-14, 11:33 PM   #10
NiHaoMike
Supreme EcoRenovator
 
NiHaoMike's Avatar
 
Join Date: Oct 2008
Location: Austin, TX
Posts: 1,154
Thanks: 14
Thanked 257 Times in 241 Posts
Default

My favorites are the various PICs. Anything from tiny 6 pin low cost microcontrollers to huge 100+ pin 32 bit processors are supported by MPLAB X, including many breadboard-friendly DIP devices. The dsPICs are especially good for motor control.

It's obvious that Arduino has evolved significantly from its humble 8 bit beginning now that they have some ARM based boards. But the diversity of supported devices is nowhere as much as MPLAB X. 8 bit is enough to do a lot if you know the tricks of how to do good programming on them. Nowadays, a low end ARM or dsPIC doesn't cost much and can be a real time saver as it lets you get away with higher level programming, such as using a RTOS.

Main problem with Arduino classic (Uno and related) is that the memory isn't enough to really run a RTOS. That significantly complicates things when the application has to periodically check and adjust parameters and still respond quickly to user interaction.
FreeRTOS on Arduino | maniacbug
Quote:
FreeRTOS on Arduino Uno?

FreeRTOS works great on 1284P and Maple. After some heavy experimentation, I was able to get the pingpair sketch working on an Arduino Uno clone. It turns out that a heap of 1300 and per-task stacks of 150 did the job. In total, 380 bytes of SRAM remain free when the sketch is loaded.

The question is whether this is a good idea. This is just a simple ‘hello world’ for radios, 380 bytes doesn’t leave much for more complex application logic or more tasks.
__________________
To my surprise, shortly after Naomi Wu gave me a bit of fame for making good use of solar power, Allie Moore got really jealous of her...
NiHaoMike is offline   Reply With Quote
The Following User Says Thank You to NiHaoMike For This Useful Post:
MN Renovator (07-14-14)
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Ad Management by RedTyger
Inactive Reminders By Icora Web Design