Search found 143 matches

Return

by medelec35
Sat Feb 06, 2016 10:01 pm
Jump to forum
Jump to topic

Re: RS232 help

Hi John,
At the start of your flowchart, Just before the main loop you need to add an RS232 initialise component :
Rs232 Not working1.png


Martin
by medelec35
Sat Feb 06, 2016 11:54 pm
Jump to forum
Jump to topic

Re: RS232 help

Hi John, Thank you for the missing spoting the missing "Initalise" for the RS232. No problem. it is like it is not reading the RX port C7. It's not! Thats because you have if RCV < 255 But no RS232 RX prior to RCV < 255. Its only after which will be no good. Therefore the yes branch will n...
by medelec35
Sun Feb 07, 2016 12:47 am
Jump to forum
Jump to topic

Re: RS232 help

Hi John,
A couple of different ways.
1a = without RX interrupt.
1b = with RX interrupt. (RXint call macro is for simulation only. It must be disabled before compiling to chip).

Martin
by medelec35
Sun Feb 07, 2016 1:08 am
Jump to forum
Jump to topic

Re: RS232 help

Yes works fine for me. Have you manually added numbers to the RX queue within the console?
by medelec35
Sun Feb 07, 2016 11:12 pm
Jump to forum
Jump to topic

Re: RS232 help

Hi John, Now I just need to do some caluculation routes to detect "HC5" and place it into a variable to us to display the corrrct QUAD 7 Segment. H = Quad 1 + 2 C = Quad 2 5 = the value to place on Quad 2. I can point you in the right direction with a flowchart. Are you using the internal ...
by kersing
Fri Feb 12, 2016 6:51 pm
Jump to forum
Jump to topic

Re: EEprom Help

Take a look at the EEPROM properties, there are initialization settings in the properties.
by kersing
Fri Feb 12, 2016 9:07 pm
Jump to forum
Jump to topic

Re: EEprom Help

John,

Your read macro is still wrongly configured. You need to have a macro call with:
Parameters: Address = 1. NOT Button=eeprom1::Read(1), just the number 1.
Return value: Button. Not empty like it is now.
by EtsDriver
Wed Mar 16, 2016 8:06 pm
Jump to forum
Jump to topic

Re: Simulate input for Wireless

Hi! I have had a great success using these to replace the cabling, and no special coding/simulation needed :) http://www.ebay.com/itm/5pcs-433Mhz-RF-transmitter-and-receiver-kit-for-Arduino-/381374427148?hash=item58cbaff00c:g:8wEAAOSw6EhUN9s- but theyre only one way... To have both ways, i have used...
by EtsDriver
Thu Mar 17, 2016 8:46 am
Jump to forum
Jump to topic

Re: Simulate input for Wireless

Now did you connect yours to Adrino ?


Nope, i used PIC16F877A based board with those.

For your wireless, seems like they are using SPI? (datasheet, page 9)
by LeighM
Fri Mar 18, 2016 9:46 am
Jump to forum
Jump to topic

Re: SPI Master / Slave

Unfortunately not.
We currently have I2C master and slave, but not SPI slave
by Jay Dee
Sat Mar 19, 2016 1:24 pm
Jump to forum
Jump to topic

Re: SPI Master / Slave

Hi John, A) Just my 2 cents, as I've done something similar. Both PICs are the masters to their respective slave RF modules. So that's your SPI Master/Slave relationship. B) You do have a Local and Remote devices. So the end user may consider the remote device to be a slave of the master, but that i...
by Jay Dee
Sun Mar 20, 2016 12:26 am
Jump to forum
Jump to topic

Re: SPI Master / Slave

Hi, I dont see any issue with the basic idea but you don't need a PIC to be a Slave SPI in your application. You have two PICs, each one is the master to a NFR905, this is the correct way to do this project. The NFR905 specification does not call for pull up/down resistors. I have not worked with th...
by medelec35
Tue Mar 22, 2016 8:52 pm
Jump to forum
Jump to topic

Re: LCD not working on my project Hardware

Hi John, You have still got an issue with your configuration settings and possibly osccon setting as well! If you enter F0 in a calculator that converts to binary it will show: osccon value.png As you can see from the data sheet if checking what 11110000 does to osccon: from MSB 1 = Enable PLL no ma...
by GTF
Thu Mar 24, 2016 2:02 pm
Jump to forum
Jump to topic

Re: LCD not working on my project Hardware

No I have not had a chance to play with it yet. Have used SPI though. Just wanted to clarify what the SPI device was and find the datasheet: http://www.nordicsemi.com/eng/content/download/2452/29528/file/Product_Specification_nRF905_v1.5.pdf Haven't looked closely at your FC or the datasheet yet but...
by Benj
Thu Mar 24, 2016 5:08 pm
Jump to forum
Jump to topic

Re: LCD not working on my project Hardware

Hi John,

From my student days I used to buy from here and they have a good selection of LCDs available which should work in the 4-bit mode.

http://www.futurlec.com/LCDDisp.shtml
by GTF
Thu Mar 24, 2016 6:19 pm
Jump to forum
Jump to topic

Re: LCD not working on my project Hardware

Yes SPI 3/4 wire.....MOSI/MISO, CLK and CS/SS.
by Benj
Thu Mar 24, 2016 6:24 pm
Jump to forum
Jump to topic

Re: LCD not working on my project Hardware

Hi John, Benj in the world of LCD is it the Controller ( HD44780 or other) that converts 4 bits to 8 bits internal Yep the LCD needs 8-bit commands but supports 2 x 4-bit operation to clock in the 8-bit command. From the HD44780 datasheet. The HD44780U can send data in either two 4-bit operations or...
by Benj
Thu Mar 24, 2016 8:41 pm
Jump to forum
Jump to topic

Re: Simulate input for Wireless

Sorry for the late reply.

Have you seen the data injector components.

they should allow you to type responses into the console or into a text file to simulate a response.

There should be a blog on these too ;)
http://www.matrixtsl.com/blog/flowcode- ... omponents/
by GTF
Mon Mar 28, 2016 3:20 am
Jump to forum
Jump to topic

Re: SPI Master / Slave

Hi John, As has per the other explanations here, you should relabel your image with both PICs as Masters and both NRF905s as slaves, then it should make more sense. You have no slave PICs. Think of it as working with just 1 PIC and 1 NRF905. The only difference is each PIC is sending different confi...
by GTF
Mon Mar 28, 2016 2:17 pm
Jump to forum
Jump to topic

Re: SPI Master / Slave

Looking at the NRF905 datasheet, there are a half dozen more pins that need to be wired to the PIC. A couple may simply need pullups if you want the NRF905 to be always powered up. Ensure that both the PIC and NRF905 are running on 3V. NRF905 needs 3V. You will need a level shifter on all lines betw...
by kersing
Mon Mar 28, 2016 10:58 am
Jump to forum
Jump to topic

Re: SPI Master / Slave

The problem I'm having is I entered the ( OxC5 ) as a "Variable" and the ( IntAddress ) as a variable. On the Master. And then on the Slave. Can we please stop using master and slave for both the units and the SPI devices? Can we use sender for the unit sending updates and receiver for th...
by kersing
Mon Mar 28, 2016 6:34 pm
Jump to forum
Jump to topic

Re: SPI Master / Slave

I going to print off the PIC16F1937 PDF Document so I hope I can find these leads TXEN TRK_CE UPCLK CD AM DR Don't bother trying to find them on a PIC controller, those pins are nRF module specific and are not available on the PIC. Use generic digital I/O pins on the PIC if your design requires the...
by kersing
Mon Mar 28, 2016 10:51 pm
Jump to forum
Jump to topic

Re: SPI Master / Slave

CSN, pin 13 is the Chip Select Negative (Low) active. Other vendors call this CS.
by Benj
Tue Mar 29, 2016 9:41 am
Jump to forum
Jump to topic

Re: LCD not working on my project Hardware

I have a new laptop and for some reason it sounds like a "ROBOT" that needs new batteries ? Yep that sounds about right. You can change the pitch property to alter the sound a bit. Benj what format is the phoneme ? The phoneme's are in simple unsigned byte format we simply queue them up i...
by kersing
Thu Mar 31, 2016 7:28 pm
Jump to forum
Jump to topic

Re: Decission won't switch

When you write $PortA5 = 1 in the decision Flowcode generates code to read the state of digital pin A5. To do so the output signal is removed, the pin is switched to input mode and the level is read. To go to the "Yes" branch you need to supply 5V to pin A5.