I managed to configure the free IDE from Coocox, COIDE, for programing my ST NUCLEO-F401RE board with ARM-GCC.
The current version of COIDE (1.7.7) does not support the microcontroller of this board (STM32F401RE). However it support the STM32F401RC. The only difference between them is the amount of RAM and FLASH. Therefore, I created a project in COIDE for STM32F401RC and changed it for the STM32F401RE. I present here a description of what you have to do in order to configure the project correctly.
Saturday, November 22, 2014
Tuesday, January 14, 2014
DHT22 Blocking Library for AVR
Some time ago a updated a DHT22 library posted at AVRFreaks forum. That lib returned float values which inplies that the AVR-GCC added a very large library. The code size was above 2kB.
With this update, float number is not needed anymore and the lib returns the integral and decimal parts of the values in a defined struct format. Is needed, the user can configure the lib to return raw values from the sensor. Code size now is only around 300 bytes.
With this update, float number is not needed anymore and the lib returns the integral and decimal parts of the values in a defined struct format. Is needed, the user can configure the lib to return raw values from the sensor. Code size now is only around 300 bytes.
DHT22 Interrupt Driven library for AVR
This lib can read temperature and humidity of a DHT22 sensor without blocking the microcontroller with unnecessary delay functions.
The lib is interrupt driven, all the timing measurements of sensor signal is done with a timer and a external interrupt using a state machine.
This way, you can use this lib with multiplexed displays without flicker the display during the measurement of the sensor data.
I hope this lib can be useful to someone.
This way, you can use this lib with multiplexed displays without flicker the display during the measurement of the sensor data.
Intro
This is my first post.
I created this blog to post some of the results of my Do It Yourself (DIY) projects. I will use this blog to post some programing libraries that I developed, schematics, Printed Circuit Boards and some other stuff that I hope will be useful to someone.
Best regards!
Miguel
I created this blog to post some of the results of my Do It Yourself (DIY) projects. I will use this blog to post some programing libraries that I developed, schematics, Printed Circuit Boards and some other stuff that I hope will be useful to someone.
Best regards!
Miguel
Subscribe to:
Posts (Atom)
