It works, it looks like i have missed something when using OSCCON = 0x70; and OSCCON = 0xF0;
Frequentie c5 on/of (whitout delay's and anything else) is now 364khz.
Hello I have an error, or an stupid mistake :? For now, i am out of options :cry: It looks like they run at +/- 32khz. If i only use OutputC5=1 and OutputC5= 0, the output at c5 is for 5V and 0V is 5,6kHz. - 1 and 0 is 5700hz.png I have tryed several things: - Different PIC (16f1823 & 16f1829 ) and ...
It was strange, because it has work for a few weeks on the laptop. And after i updated all the files (when i saw an updated ADC component), it wo'nt start up again.
Just had last week again the same problem (again) at my w10 pc, and on a w10home-1909 laptop msi i7-8750h after updating all the components (there was an new ADC component) in FC8.22... No other antivirus installed (yet :oops: ) other than microsoft. removed FC8 and reinstall after use Regedit to de...
Thanks :-) It works now the same as in FC4, after i have updated the ADC in FC. It starts at at 255 (0V on the adc input), than from zero (+/- 0,2V) to + 230 (4,6V). And that on 5 x ADC input. I have that also seen that in FC4 and made an work around in the hard an software. Not sure of that is an s...
Thanks, i will have added an 1 second flash/beep test at c2 (piezo on the pcb) PWM and B output is send as an output on the pcb, and working. I can read there any 8-bit ADC value. :D Now PortB and PWM flash random from 0 to 255 :?: Green led and lightbulb is the PWM, red led's are output B on the pc...
I see, but i also tested it with "GetByte"
I forget to put it back from rawsample to "GetByte"
Should i also start with an fresh and clean programm ? It looks like, i removed all the old data from this one.
Hello Can someone please look at the setting's, and the configure options. :) Everything is working with FC8, except i cann't get the ADC's working with FC7 and FC8. :? The hardware works fine with the old FC4 programm. We did not upgrade the software from FC4 to FC6 in the past, because of the same...
Could also not open an new project. Did remove the "old" FC8, i am not sure which version i was using. I did use Help, Check for updates in help 2 times. And did an reinstal of 8.2, and now everything is working, including the LED's in the 2d dashboard panel :) But like Martin said, this is the path...
Hello When i use e3 as input. And when generating code, the compiler give an error. When i remove input e3, the program is working on hardware On FC 6 and 7 no problem. FC8 test 16f18857 rev0.c: main() 84: FCV_TEST_E3 = (FC_CAL_Port_In_DDR__x((&PORTE), (&TRISE), ((1<<3)), (3))); (192) undefined iden...
Thanks, There was different information :-( TABLE 1-2: PIC16(L)F18313 PINOUT DESCRIPTION RA3 /MCLR/VPP TTL/ST CMOS General purpose I/O. And on other places: • Up to 12 I/O Pins: (but 1 = input) The MCLR pin provides three specific device functions: • Device Reset (when MCLRE = 1) • Digital input pin...
I have problems with RA3: (for Pic16F18323) R-pull Up is working (on and off) MCLR is now off (after set low voltage proramming OFF) Input works also But no OUTPUT on RA3 In the PDF of the micro stands: RA3 /MCLR/VPP RA3 TTL/ST CMOS General purpose I/O. MCLR TTL/ST — Master Clear with internal pull-...
Thanks, i will check this next week I prefer when I check waveform problems or data with scope and hardware, programming is "new" for me :-) Perhaps send your data with PC and USB/485 dongle, and a cheap 485 modbus slave (which i have enough in stock) for testing. So that you have an working hardwar...
I have the master working with an 16F887 with write single coils (not multiple coils). And the slave is responding correct. But i have no working reading from the data which are received from the slave. Perhaps we help each other. :mrgreen: I have attached the program and added the links. If i have ...
This link is not working/correct:
I would advise you to look at the example here to help get you started. https://www.matrixtsl.com/wikiv7/index. ... ms:_System
Hello benj hardware setup: an working HMI (exor) with 485 modbus master connection to an ADAM modbus reciever, with 8 inputs and 8 outputs. Cable is 2mtr with start and end 120R. This system works 100% good (for months). Our PCB with 8mhz chrystal with FC7, has an working MASTER connection to the AD...
Hello I have no respons from the modbus slave with the Check For Incoming component. Maybe i have an wrong settings. I see on the scope the correct data signals from the output of the 485 IC, and the data direction pin is low, but no reaction :-( The hardware is working with an modbus master compone...