Search found 1035 matches

by chipfryer27
Tue Feb 20, 2024 7:53 pm
Forum: User Components
Topic: DHT22 bug ?
Replies: 41
Views: 5138

Re: DHT22 bug ?

Hi I didn't say your speed was the problem, just that in other cases it has been an issue. From the posts I refer to, in some cases changing the library helped, as the new one used different timings. I have no need (yet) to use the component so haven't really looked at it to any depth. There is an i...
by chipfryer27
Tue Feb 20, 2024 4:49 pm
Forum: User Components
Topic: DHT22 bug ?
Replies: 41
Views: 5138

Re: DHT22 bug ?

Hi Following on from Steve there are a lot of posts on Arduino forums regarding the DHT22 at 8MHz and the struggle to get reliable readings. Most problems seem to disappear at 16MHz. At lower speeds even things like other interrupts caused issues. I read in one post that the user eventually got thin...
by chipfryer27
Tue Feb 20, 2024 4:39 pm
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 788

Re: Ethernet RS232 / 485

Hi

Again I'm not 100% on this but you may also need the ModBus Master component, which may also need to connect to the Network Component, which will connect to the RPi TCP/IP component, which connects to the leg-bone, which connects..........

Regards
by chipfryer27
Tue Feb 20, 2024 2:05 pm
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 788

Re: Ethernet RS232 / 485

Hi Bob I can't try / test at present but I think you could just use the RPi TCP/IP component. Initialise Open a socket Connect to address/port (this would be the assigned IP of each TTL port on your gadget) Send / Receive I might have forgotten a step or so but I think that's roughly how to do it. Y...
by chipfryer27
Tue Feb 20, 2024 9:42 am
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 788

Re: Ethernet RS232 / 485

Hi

Gotcha. I see what your doing now.

When configured each UART port will have an associated IP address so could you not use the existing FC components to connect etc?

Regards
by chipfryer27
Tue Feb 20, 2024 12:24 am
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 788

Re: Ethernet RS232 / 485

Hi Bob I think we are on the same page. A sensor on each floor talking to your RPi (guessed it would be one of them :) ) could be done by either assigning one of the many UART ports on your RPi to each sensor (via 485 adapter), or creating a multipoint bus on a single port (again via adapter). You w...
by chipfryer27
Mon Feb 19, 2024 11:45 pm
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 788

Re: Ethernet RS232 / 485

Hi Makes sense to use existing cable where possible. Only using my phone just now so I can't really follow links too well, but perhaps it means that it's using modbus as the protocol, run over extended distances using 485? Just a guess as I can't access much in the way of datasheets. Guessing you do...
by chipfryer27
Mon Feb 19, 2024 10:11 pm
Forum: Feature Requests
Topic: itag bluetooth
Replies: 6
Views: 292

Re: itag bluetooth

Hi Whilst in my evil lab today I dug out an HC05 datasheet and it can provide RSSI info. How accurate is anybody's guess but as the modules are cheap it's not going to break a bank. You could test with a cellphone or any other BT enabled device but I guess a cellphone may need to be quite a distance...
by chipfryer27
Mon Feb 19, 2024 10:04 pm
Forum: General
Topic: Ethernet RS232 / 485
Replies: 25
Views: 788

Re: Ethernet RS232 / 485

Hi Bob That looks like a nice little gadget. I've not really had a chance to search for datasheets but from the description on Pi-Hut it seems quite straight forward in that the front end is done automatically and provides two independent transparent TTL channels. It may even work straight out of th...
by chipfryer27
Sun Feb 18, 2024 10:19 pm
Forum: Feature Requests
Topic: itag bluetooth
Replies: 6
Views: 292

Re: itag bluetooth

Hi Yes, you can do it that way, but of course it isn't quite so straightforward as just issuing a command. The HC05/06 modules need to be put into "command mode" so to speak, and this is done by setting pins. Offhand I can't remember exactly which module pins need to be High/Low but the datasheets e...