Show Posts
Pages: [1] 2 3 ... 8
1  Using Arduino / LEDs and Multiplexing / Re: WS2811 and ATTiny85? on: July 28, 2014, 02:41:24 pm
one resistor. one diode, one cap... I dont need the LED as I am running from 3.3-3.6v

Thats NOT 'loads' of external components to me  smiley-fat
2  Development / Other Hardware Development / Re: nrf24l01+ control with 3 attiny85 pins on: July 27, 2014, 01:33:10 pm
I have to bump this, its an excellent read for those who want to use nRF's in a very simple application, Nice one Ralph !! smiley
3  Using Arduino / Project Guidance / Re: ATmega328/ATTiny85 + nrf24l01 + Solid state relay = Home automation on: July 27, 2014, 01:12:56 pm
Interestingly I found this...

http://nerdralph.blogspot.ca/2014/01/nrf24l01-control-with-3-attiny85-pins.html which only uses 3 lines to drive a nrf24l01 from a ATtiny85.. worth a read I think.. and possibly a few experiments !!

smiley
4  Using Arduino / LEDs and Multiplexing / Re: WS2811 and ATTiny85? on: July 27, 2014, 01:12:12 pm
I also found this... http://nerdralph.blogspot.ca/2014/01/nrf24l01-control-with-3-attiny85-pins.html which only uses 3 lines to drive a nrf24l01 from a ATtiny85.. worth a read I think.. and possibly a few experiments !!

smiley
5  Using Arduino / LEDs and Multiplexing / Re: WS2811 and ATTiny85? on: July 27, 2014, 11:33:23 am
I know, I would like to get to the bottom of this ATTiny85 spare pin thing, I have a serious application smiley
6  Using Arduino / Programming Questions / Re: Serial conflict while using both MIDI and DMX libraries on a Mega 2560 on: July 26, 2014, 05:20:15 am
I see you are using HardwareSerial... not sure how this works exactly, but what would happen if you included the library ?

Code:
#include <HardwareSerial.h>

7  Using Arduino / Programming Questions / Re: Serial conflict while using both MIDI and DMX libraries on a Mega 2560 on: July 26, 2014, 05:17:31 am
Firstly, great choice of DMX library - I love MatHertels solution !!
You didnt say if you are using a rs485 interface chip ? to convert the differential lines of DMX to a standard serial level

I dont have much, if any experience with MIDI on arduino, but I do know that the MIDI would have to use a different uart port to the DMX port, to save confusion etc...

The error you show I have seen before... a while ago... and I believe this may require a special patch, but I cannot say what or where it comes from.. perhaps keep digging on google and you may find something about it

Regards, Bob
8  Using Arduino / Networking, Protocols, and Devices / Re: Trouble with DMX on: July 26, 2014, 05:06:14 am
Hi, I have done many many projects with DMX and adruino's of all sizes... I think if you are using a 328-based microcontroller you will struggle to receive DMX and transmit data back through the USB simultaneously, to get over this you may have to upgrade to a 2560-based board or choose another arduino option with more than one uart/usart.

ALTERNATIVELY:
Find the 'softwareserial' library and get a serial-to-usb convertor, you can then transmit data from any pin you like, which then goes through the serial-usb convertor and back to the PC (if thats what you are trying to do)

Incidentally if you are just reading DMX into the MAX485, both of the enable lines need to be grounded (from memory) in fact only one of them will actually be useful for RX, the other one enables transmission

Regards Bob
9  Using Arduino / Networking, Protocols, and Devices / Re: Transmitting & Receiving DMX using nRF24L01 radio transceivers on: July 26, 2014, 04:55:14 am
At present, my whole system is working fine, I intend to build several more receivers, one for each lighting stand I have, that way all I need to do is plug the power into the nearest socket and not worry about DMX leads all over the stage

10  Using Arduino / LEDs and Multiplexing / Re: WS2811 and ATTiny85? on: July 26, 2014, 04:50:12 am
I am trying to get a fix from this on another thread, but essentially I was going down this route...

http://cratel.wichita.edu/blogs/eecsfinalreportspr2013homeautoframework/assembly/

This person has connected CE from the nrf to ground so that it is always in receive mode - I dont know if this works or not

11  Using Arduino / LEDs and Multiplexing / Re: WS2811 and ATTiny85? on: July 26, 2014, 03:37:26 am
I am going to combine this with nrf24l01 radio modules and make it part of my DMX tx/rx system

Code:
http://forum.arduino.cc/index.php?topic=208648.msg1817569#msg1817569

I have been looking to do this for sometime, and with using the nrf2401 with an ATTin85 there is only one pin left to use (apart from reset) it seems perfect to use it to drive WS2801's

I am thinking of putting just 3 WS2811 together wired to do the same colours etc, so that my little box becomes a completely wireless, battery operated, 24million colour RGB pixel !! I also got waterproofboxes to so I can put them outside if I want to !!
12  Using Arduino / Project Guidance / Re: ATmega328/ATTiny85 + nrf24l01 + Solid state relay = Home automation on: July 26, 2014, 02:18:27 am
Hi All

I found this web page regarding nrf24l01/ATTiny85 and home automation

http://cratel.wichita.edu/blogs/eecsfinalreportspr2013homeautoframework/assembly/

I am not after home automation, but I want to use nrf24l01 with an ATTiny85, I have tried several times without success.
What I want to know is :
1) What are the working libraries to drive the nrf from the attiny85 ?
2) when using the attiny85, only 5 pins are available (after vss/vcc/reset), can the nrf be driven with only 4 lines and the 5th line used to drive a lamp etc (see attached pic which uses a servo)
3) has anyone got any working code for a receiver ?

Thanks in advance, Bob

13  Using Arduino / Networking, Protocols, and Devices / Re: Transmitting & Receiving DMX using nRF24L01 radio transceivers on: July 25, 2014, 02:04:38 am
I havent changed anything about the sketch, except (1) adding the hex-switch decoder to select the channel (2) probably a few changes to the LED to make it a bidirectional Blue/Red LED to show statii (3) I have also added the Enables on the SN75176 chip

SN75176 Enable pins :
If you are receiving DMX, connect both pins 2 & 3 to ground
if you are transmitting DMX, pins 2 goes to ground, pin 3 goes to 5v

I will be making the sketch align with the CCT Diag (with the few changes above) and posting them here
It will be a single sketch, with just a #define to decide its gender

Regards, Bob
14  Using Arduino / Networking, Protocols, and Devices / Re: Transmitting & Receiving DMX using nRF24L01 radio transceivers on: July 24, 2014, 12:13:15 pm
I have done some more work on this, and added a 16 way (hex) channel selector switch, the 16 channels are spread over the first 64 channels, for example .. channel = channel << 2; You should avoid using channels over 83 because these are not legal to use in some countries.

I shall be improving both softwares so that it all works much better and good status indication is shown

15  Using Arduino / Microcontrollers / Re: ATMEGA 1284 - Definative Bootloader Solution.... on: July 19, 2014, 05:41:18 am
All this makes complete sense from when I was playing with attiny85's... I had to reburn again with the clock speed I required, otherwise it would start up at the wrong clock speed (or something like that)

This whole Atmega1284 subject was uttery daunting a few weeks back

I read & read, got confused, asked for help and followed up leads with more reading, and now I feel I have understood the basics of programming another chip, all thanks to members of this group

Now, things get a little more serious, commercial opportinites ahead !!

Thanks, Bob
Pages: [1] 2 3 ... 8