Search found 1005 matches

by chipfryer27
Thu Mar 28, 2024 1:16 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 382

Re: RS485 example

Hi

Glad to hear you have it working and happy to have been of help.

Have a good holiday.

- - -
Me alegra saber que lo tienes funcionando y feliz de haber sido de ayuda.

Ten unas buenas vacaciones.

Regards
by chipfryer27
Wed Mar 27, 2024 9:46 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 382

Re: RS485 example

Hi Just going through your chart now. In your Master it appears that in your settings you have the Watchdog Timer enabled.This will force your chip to keep resetting when the period expires unless you check the Auto-Clear Watchdog too. The WDT is a handy feature if needed and a pain if forgotten :) ...
by chipfryer27
Tue Mar 26, 2024 8:29 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 382

Re: RS485 example

Hi Cuando el máster le envié 34, pregunta por el estado del teclado, y se lo debe de enviar al máster. When the master sent him 34, he asks about the status of the keyboard, and he must send it to the master. If I understand correctly I think you will have problems. For the slave to return a value t...
by chipfryer27
Tue Mar 26, 2024 7:36 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 382

Re: RS485 example

Hi I need to look at your charts to make sure I understanding things. I'll do that later. From what I read it seems you send a "command" to your slave and it should respond with the value of it's pressed key. When is the slave key pressed? Is it pressed and the value stored for retrieval later, or a...
by chipfryer27
Tue Mar 26, 2024 7:23 pm
Forum: Bug Reports
Topic: GPS not send LAT_LONG
Replies: 27
Views: 192

Re: GPS not send LAT_LONG

Hi Can you connect the GPS module directly to a PC and capture the dump the module sends out. That will really help to identify the issue. With anything to do with UART a USB-TTL gadget such as below is your best friend. https://www.amazon.co.uk/CP2102-Serial-Converter-Module-Dupont/dp/B07XRF152K/re...
by chipfryer27
Tue Mar 26, 2024 5:55 pm
Forum: Bug Reports
Topic: GPS not send LAT_LONG
Replies: 27
Views: 192

Re: GPS not send LAT_LONG

Hi I might have one somewhere to try. If I find it I'll see what I get but I think it was a cheap module so ended up in a drawer as it was not very good. Meanwhile, do you have a USB-TTL serial converter? If so, you could connect the Rx terminal of the converter to the UART Rx pin, open up a Termina...
by chipfryer27
Tue Mar 26, 2024 5:23 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 382

Re: RS485 example

Hi What I have noticed is that every time I close the program and open it, for example the next day, the pin configuration assigned to the keyboard is lost in FC. When you open the FC program again, the row and column pins are reset to the default values ​​in FC. Similar issues to this have been fou...
by chipfryer27
Tue Mar 26, 2024 6:53 am
Forum: Projects - Embedded
Topic: Serial woes
Replies: 3
Views: 49

Re: Serial woes

Hi

All components are now free, you just need to purchase chip packs for those not included as "free", and any required license if not for hobby use. Have you downloaded all toolchains and set their location in Global Properties?

Regards
by chipfryer27
Tue Mar 26, 2024 6:46 am
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 382

Re: RS485 example

Hi Following on from above, in FC the chart you posted doesn't constantly transmit. The component itself Waits for key press Gets value Waits for key release The only way it can then branch to actually send the value is if the value is less than 16 (0x10). I don't use Proteus so can't really advise ...
by chipfryer27
Mon Mar 25, 2024 8:00 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 382

Re: RS485 example

Hi If your clocks are correct you wouldn't really need "debounce" as:- You "test" and obtain a key press value, you send this value and you then wait for one second before "testing" again. If your clock was fast, that 1S delay may only be tens of mS. I always start by creating a one-second flash tes...