Go to advanced search

by Erni
Wed Dec 03, 2014 1:20 pm
Forum: Bare metal, Assembly language
Topic: esp8266 wifi serial module
Replies: 18
Views: 20500

Re: esp8266 wifi serial module

Just FYI There is a lot going on about this chip here Among other things new firmware, lua firmware and examples http://www.esp8266.com/ I made som notes about upgrading the firmware; http://www.ernstc.dk/arduino/esp8266.html For powersupply I use a LM1117, but you can also use two AA batteries It d...
by Erni
Mon Aug 26, 2013 3:38 pm
Forum: Automation, sensing and robotics
Topic: RF interface for DHT22
Replies: 2
Views: 2186

Re: RF interface for DHT22

You could use this cheap option:
433tx->attiny ->433rx->attiny->RPI

http://ernstsite.wordpress.com/page2-2/ ... 5-and-rpi/
by Erni
Mon Aug 26, 2013 10:53 am
Forum: Automation, sensing and robotics
Topic: RF Link between Arduino and Raspberry Pi
Replies: 19
Views: 9688

Re: RF Link between Arduino and Raspberry Pi

Another way to do this would be to use two ATtiny85, one as tx and one as rx. The advantage would be: You can use the librarys for Manchester encoding /Virtual wire allready developed. The Attiny has among other things 3 ADC pins you can use for other stuff An ATtiny 85 cost about 1-2 $, and no othe...
by Erni
Thu Aug 22, 2013 3:03 pm
Forum: Automation, sensing and robotics
Topic: RF Link between Arduino and Raspberry Pi
Replies: 19
Views: 9688

Re: RF Link between Arduino and Raspberry Pi

I have a couple of these transmitters. I hve used them to communicate between Arduino's and ATTinys without problem. I don't think you will ever have a reliable connection using serial connections. On Arduino I use VirtualWire protocol and for Attiny Manchester encoding. For Arduino there are librar...
by Erni
Tue Apr 16, 2013 8:01 pm
Forum: Automation, sensing and robotics
Topic: Esc and a RPi
Replies: 1
Views: 565

Re: Esc and a RPi

Black wire -> gnd
White or yellow->signal
Red wire -> +5V Don't connect it to GPIO

The ESC expect a servo signal to work, so you treat it just as a servo
by Erni
Tue Apr 16, 2013 6:37 pm
Forum: Automation, sensing and robotics
Topic: GPIO = analog in?
Replies: 9
Views: 9533

Re: GPIO = analog in?

You say you are familiar with Arduino, so an easy and cheap solution.:
Connect an ATTiny85 to the rx port of the PI.

The Attiny will be happy with 3,3V from the PI, so no levelshifting needed, and has 3 (4) analog inputs
by Erni
Sun Jan 06, 2013 8:28 pm
Forum: Automation, sensing and robotics
Topic: Arduino and the Serial Line... HELP!
Replies: 3
Views: 899

Re: Arduino and the Serial Line... HELP!

a box opens with the Photo sensor's values
The box is the serial monitor. You have to open it manually - in the upper right corner of the arduino IDE
by Erni
Sun Oct 14, 2012 1:36 pm
Forum: General programming discussion
Topic: Questions about the GPIO ports
Replies: 13
Views: 3433

Re: Questions about the GPIO ports

@raspberrypiguy1 In your youtube tutorial you mention that the resistor (100 ohm) is to protect the LED, maybe you should say that it is to protect the GPIO pin and the RPI. One thing is that you blow a LED costing a couple of cents, but more important you will fry the RPI if you connect an LED with...

Go to advanced search