All Projects → Jacajack → avr-ds18b20

Jacajack / avr-ds18b20

Licence: MIT license
AVR library for controlling DS18B20 temperature sensors

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to avr-ds18b20

Attinycore
Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
Stars: ✭ 974 (+1773.08%)
Mutual labels:  avr, microcontroller
libavrutil
Easy to use, lightweight and unified library for performing common microcontroller tasks
Stars: ✭ 21 (-59.62%)
Mutual labels:  avr, microcontroller
Tinygo
Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
Stars: ✭ 9,068 (+17338.46%)
Mutual labels:  avr, microcontroller
Mightycore
Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535
Stars: ✭ 413 (+694.23%)
Mutual labels:  avr, microcontroller
IntrOS
Free cooperative operating system (OS) for microcontrollers
Stars: ✭ 38 (-26.92%)
Mutual labels:  avr, microcontroller
Platformio Core
PlatformIO is a professional collaborative platform for embedded development 👽 A place where Developers and Teams have true Freedom! No more vendor lock-in!
Stars: ✭ 5,539 (+10551.92%)
Mutual labels:  avr, microcontroller
Reactorforge
High power induction heating platform
Stars: ✭ 90 (+73.08%)
Mutual labels:  avr, microcontroller
chirp8-avr
CHIP-8 implementation in Rust targeting AVR microcontrollers
Stars: ✭ 40 (-23.08%)
Mutual labels:  avr, microcontroller
Blog
A set of various projects based on ESP8266, ESP32, ATtiny13, ATtiny85, ATtiny2313, ATmega8, ATmega328, ATmega32, STM32 and more.
Stars: ✭ 198 (+280.77%)
Mutual labels:  avr, microcontroller
Xpcc
DEPRECATED, use our successor library https://modm.io instead
Stars: ✭ 177 (+240.38%)
Mutual labels:  avr, microcontroller
Modm
modm: a C++20 library generator for AVR and ARM Cortex-M devices
Stars: ✭ 375 (+621.15%)
Mutual labels:  avr, microcontroller
DemOS
Free, simple, extremely lightweight, stackless, cooperative, co-routine system (OS) for microcontrollers
Stars: ✭ 18 (-65.38%)
Mutual labels:  avr, microcontroller
Great-Cow-BASIC-Demonstration-Sources
Demonstration files for Great Cow BASIC - a compiler for Microchip and AVR 8-bit microcontrollers
Stars: ✭ 18 (-65.38%)
Mutual labels:  avr, microcontroller
Minicore
Arduino hardware package for ATmega8, ATmega48, ATmega88, ATmega168, ATmega328 and ATmega328PB
Stars: ✭ 546 (+950%)
Mutual labels:  avr, microcontroller
terminal
Terminal inside the microcontroller (cli for mcu)
Stars: ✭ 31 (-40.38%)
Mutual labels:  avr, microcontroller
Avr Cheat Sheet
AVR cheat sheet for the ATmega328p
Stars: ✭ 64 (+23.08%)
Mutual labels:  avr, microcontroller
DigiOS
Mini OS emulator for Digispark (an Attiny85 based microcontroller).
Stars: ✭ 46 (-11.54%)
Mutual labels:  avr, microcontroller
xForth
Experimental Forth cross compiler for tiny devices
Stars: ✭ 53 (+1.92%)
Mutual labels:  avr, microcontroller
Avr8js
Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js
Stars: ✭ 102 (+96.15%)
Mutual labels:  avr, microcontroller
ds18b20
Golang get temperature from ds18b20 sensor connected to a Raspberry PI (GPIO w1 pin).
Stars: ✭ 62 (+19.23%)
Mutual labels:  ds18b20, temperature-sensor

avr-ds18b20

The MIT License Travis CI

avr-ds18b20 is an AVR library for controlling DS18B20 temperature sensors. It can be easily compiled for every micro-controller supported by avr-gcc.

Usage example

#include <avr/io.h>
#include <util/delay.h>
#include <stdio.h>

#include <ds18b20/ds18b20.h>

int main( )
{
	int temp;

	while ( 1 )
	{
		//Start conversion (without ROM matching)
		ds18b20convert( &PORTB, &DDRB, &PINB, ( 1 << 0 ), NULL );

		//Delay (sensor needs time to perform conversion)
		_delay_ms( 1000 );

		//Read temperature (without ROM matching)
		ds18b20read( &PORTB, &DDRB, &PINB, ( 1 << 0 ), NULL, &temp );

		//Somehow use data stored in `temp` variable
	}

	return 0;
}

For more information visit wiki.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].