Search found 26 matches

by chrisbooth1957
Sat Feb 01, 2020 6:11 am
Forum: Bug Reports
Topic: Pic32mz DMX SLAVE BROKEN
Replies: 4
Views: 1631

Re: Pic32mz DMX SLAVE BROKEN

hi chad I was trying to get the dmx recive working on an Arduino uno back in 2017 all sorts of strange things ie would recive channels sometime but it depended on the value of the channel before it , ie could recice 0,50,30,40 but not 255,255,255,255 , being an Arduino there was other code on the ne...
by chrisbooth1957
Thu Aug 16, 2018 11:44 pm
Forum: Foro de soporte español
Topic: no me funciona el DMX esclavo
Replies: 1
Views: 3034

Re: no me funciona el DMX esclavo

i had a simular problem using avr chips in the end i gave up , i dont think it is corectly detecting the start of the dmx transmition . i could get it to work only for some dmx values , moveing the sliders on the lighting desk would make it totaly fail with some values , from memory i think 255 was ...
by chrisbooth1957
Sat Sep 09, 2017 2:09 am
Forum: AVR & Arduino
Topic: 16Mhz on atmegs238p
Replies: 7
Views: 4237

Re: 16Mhz on atmegs238p

thank you for putting me on the right track maybe flowcode can look at fixing this bug as it makes the dmxslave unuseable with the atmega328 and probably other simular chips , below are my findings i changed the crystal to 20 mhz on an uno as the chip should be able to work at that and it is a supor...
by chrisbooth1957
Thu Sep 07, 2017 9:21 pm
Forum: AVR & Arduino
Topic: 16Mhz on atmegs238p
Replies: 7
Views: 4237

Re: 16Mhz on atmegs238p

thank you that is very interesting as the i2c gave me major problems untill i set it to 100k , there was then the anoying problem of the changed not being saved so i had to do the same change of i2c speed every time i loaded the program . this has now been fixed so it saves the changes i have now co...
by chrisbooth1957
Fri Aug 25, 2017 10:02 pm
Forum: AVR & Arduino
Topic: 16Mhz on atmegs238p
Replies: 7
Views: 4237

Re: 16Mhz on atmegs238p

this may be part of the problem it appears the recive requires one start bit , 8 data bits and 2 stop bits but your uart component does not appear to support that format ? when i have looked at doing the recive the hard way
by chrisbooth1957
Thu Aug 24, 2017 10:44 pm
Forum: AVR & Arduino
Topic: 16Mhz on atmegs238p
Replies: 7
Views: 4237

Re: 16Mhz on atmegs238p

thank you , i am working through the dmx slave again double checking things again ie clock speed. the reason i wanted to use the atmegs328 chip at 16mhz it get rid of the arduno boot loader as suspected that may be messing up the dmx slave , using hardware as recomended here but still the same probl...
by chrisbooth1957
Wed Aug 23, 2017 1:38 pm
Forum: AVR & Arduino
Topic: 16Mhz on atmegs238p
Replies: 7
Views: 4237

Re: 16Mhz on atmegs238p

thank you that worked for the atmegs328 chip but strangly does not for the arduino boards that use the chip , not a problem for me at the moment but will be for anyone trying to use the 3.3v version of a nano that runs at 8 mhz i think it is a little bit confusing as you have a downward arrow and ca...
by chrisbooth1957
Wed Aug 23, 2017 12:41 am
Forum: AVR & Arduino
Topic: 16Mhz on atmegs238p
Replies: 7
Views: 4237

16Mhz on atmegs238p

i think i have found the problem with the DMX recive ( slave)i asume it needs the controler to run at the correct speed , i have writed a simple program to flash a led and it goes at twice the speed it should then i noticed you dont support the 16mhz controlers used in the nano and uno , only the 3v...
by chrisbooth1957
Wed Aug 16, 2017 4:00 pm
Forum: Flowcode V7
Topic: Component Required
Replies: 17
Views: 6989

Re: Component Required

you will be better looking at the higer swicth value first and use the > rather than = to allow for tolerences in the components ,, is if the vales shoud be 128 then 100 use > 114 as it is in between the 2 values , dont forget the board is probably built using 5% resistors giveing a max error of 10%...
by chrisbooth1957
Wed Aug 16, 2017 1:11 am
Forum: Flowcode V7
Topic: Component Required
Replies: 17
Views: 6989

Re: Component Required

this may help you it is only an idea at the moment as there are some serious issues with the dmx recive , it uses an uno and lcd sheild the buttons alow you to set the dmx address and save it , it should work as it is if you want to play with something
by chrisbooth1957
Wed Aug 16, 2017 1:00 am
Forum: Flowcode V7
Topic: Component Required
Replies: 17
Views: 6989

Re: Component Required

kb1.JPG
kb1.JPG (111.99 KiB) Viewed 6912 times
keyboard2.JPG
keyboard2.JPG (156.39 KiB) Viewed 6912 times
i have used the lcd sheild just reading a single analogue value and then lots of decisions but i agree a component would be good as you can get nice keyboards that only use a single pin of you microcontroller and have up to 16 buttons
by chrisbooth1957
Wed Aug 02, 2017 3:35 pm
Forum: Flowcode V7
Topic: some strange problems with DMX slave on arduino nano
Replies: 4
Views: 2545

Re: some strange problems with DMX slave on arduino nano

looks like the problem of not being able to set 512 is fixed i was hit by the windows bug of it renaming files i download rather than overriting them i had to deleate all the download folder and try again , i had noticed that i had 2 files with the same name dmxslave and dmxslave(1) but still has th...
by chrisbooth1957
Wed Aug 02, 2017 3:17 pm
Forum: Flowcode V7
Topic: some strange problems with DMX slave on arduino nano
Replies: 4
Views: 2545

Re: some strange problems with DMX slave on arduino nano

No still defaults to 256 as soon as I hit enter. I have been battling with the DMX slave and wondering if anyone here can explain the problems I am having with it. I was using an Arduino Nano and i2c LCD display with major problems so now have made a simple version using an Uno and LCD shield to pro...
by chrisbooth1957
Tue Aug 01, 2017 2:32 pm
Forum: Bug reports
Topic: strange problem with dmx recive
Replies: 0
Views: 1250

strange problem with dmx recive

Hi, I have been battling with the DMX slave and wondering if anyone here can explain the problems I am having with it. I was using an Arduino Nano and i2c LCD display with major problems so now have made a simple version using an Uno and LCD shield to prove it is not the i2c and other things messing...
by chrisbooth1957
Mon Jul 17, 2017 9:47 pm
Forum: Flowcode V7
Topic: some strange problems with DMX slave on arduino nano
Replies: 4
Views: 2545

some strange problems with DMX slave on arduino nano

i have finaly got somewhere but it has raised yet more questions to help debug the reciver i conected a wireledd dmx reciver card stright to the seriel input and conected it to my desk using a wireless doungle , only problem is i have to remove the conection to program . i had problems from the star...
by chrisbooth1957
Tue Jul 11, 2017 2:06 am
Forum: Flowcode V7
Topic: does dmx work on attiny chips
Replies: 6
Views: 4101

Re: does dmx work on attiny chips

what i am trying to do is read the dip swicthes and then do something with the 9 bit dmx address (512) one problem is i can set the DMX slave to recive 512 channels it says the max is 512 but when i enter that is changes it to 256 it would be a lot better if i was able to change the dmx start addres...
by chrisbooth1957
Mon Jul 10, 2017 12:30 am
Forum: Flowcode V7
Topic: does dmx work on attiny chips
Replies: 6
Views: 4101

Re: does dmx work on attiny chips

i am not sure if i understand how the dmxslave should work . i am asuming it should wait and time out without a dmx signel if so it does not it just hanges there choice what times i set for the time out second issue i am asuming a need to set the datachannes to 512 to recice all 512 channeles . when...
by chrisbooth1957
Wed Jul 05, 2017 4:53 pm
Forum: Flowcode V7
Topic: does dmx work on attiny chips
Replies: 6
Views: 4101

Re: does dmx work on attiny chips

thank you that fixed it as you sugested looking at using the 2313 or 4313 as they have hardware
by chrisbooth1957
Tue Jul 04, 2017 11:21 pm
Forum: Flowcode V7
Topic: does dmx work on attiny chips
Replies: 6
Views: 4101

does dmx work on attiny chips

i am trying to get the dmx to work using an attiny 84 ,,, there only appears to be the software option wicth is in itself not a problem but it default to ports not on the chip i am trying to use and they are greyed out so i am unable to use pins that are actuly on my chip
by chrisbooth1957
Tue Jul 04, 2017 2:25 pm
Forum: Bug reports
Topic: i2c does not work on ecio28
Replies: 5
Views: 2759

Re: i2c does not work on ecio28

than you hardware worked on the attiny85 will check it out on the ecio28 later , no i dont have put up resistors but it workes ok now
by chrisbooth1957
Sun Jul 02, 2017 8:54 pm
Forum: Bug reports
Topic: no an1 pin on attiny84
Replies: 3
Views: 1997

Re: no an1 pin on attiny84

hi i dont want to play with things but i noticed this in the attiny84.fcdx file bit='2' /> <pin name='(PCINT7/ICP/OC0B/ADC7) PA7' port='0' bit='7' adc='7' /> <pin name='(PCINT6/OC1A/SDA/MOSI/ADC6) PA6' port='0' bit='6' adc='6' /> <pin name='PA5 (ADC5/DO/MISO/OC1B/PCINT5)' port='0' bit='5' adc='5' />...
by chrisbooth1957
Sun Jul 02, 2017 8:29 pm
Forum: Bug reports
Topic: no an1 pin on attiny84
Replies: 3
Views: 1997

Re: no an1 pin on attiny84

attiny861 appears to have an4 missing too
by chrisbooth1957
Sun Jul 02, 2017 7:38 pm
Forum: Bug reports
Topic: no an1 pin on attiny84
Replies: 3
Views: 1997

no an1 pin on attiny84

hi i added 8 analogu sliders using the attiny84 expecting to be able to connect them to the 8 inputs but an1 is not offered as a pin on the drop down menue , strangly i can use that pin for i2c
by chrisbooth1957
Fri Jun 30, 2017 11:42 pm
Forum: Bug reports
Topic: i2c does not work on ecio28
Replies: 5
Views: 2759

Re: i2c does not work on ecio28

the i2c lcd gets more interesting i have tried to use it on a atmil attiny85 i made a very simple program to just test the outputs and that worked but just the act of adding the i2c lcd without actuly calling it apears to kill all outputs when set to softweare and if set to hardware it gives me lots...
by chrisbooth1957
Mon Jun 26, 2017 2:04 pm
Forum: Bug reports
Topic: i2c does not work on ecio28
Replies: 5
Views: 2759

Re: i2c does not work on ecio28

note i am using the free version of the pic as only have avr and arm licence