pggood / Arduino_AIS

Arduino port of the dAISy AIS project for si446x
15 stars 7 forks source link

Using HC-12 SI4463 Wireless Serial Module #1

Open binu8051 opened 2 years ago

binu8051 commented 2 years ago

Hi Nice project, i am looking for a cheap AIS receiver. Which board have you used for SI4463 ic?

Any way to use the HC-12 SI4463 Wireless Serial Module Its comes with SI4463 chip with STM8 microcontroller, which can also used with Arduino. Since i cant find the SI4463 module with pins

Whats your tip/idea?

Thanks for your time. Binu

pggood commented 2 years ago

https://www.aliexpress.com/item/1005003907484473.html it looks like it has 30Mhz crystal so should wire streight up. had a look at the STM8 bit it doesnt have enough space or timers. Im currently working on one for a STM32 though

pggood commented 2 years ago

https://github.com/pggood/Arduino-AIS-Encode-Si446x has transmit and recieve

binu8051 commented 2 years ago

I just need to receive AIS signal, so will try this code. will this code receive both channels (class A and B) or a single channel.

pggood commented 2 years ago

It recieves both 161.975 MHz and 162.025 you can stop it toggling with the code near ph_radio_channel ^= 1; // toggle radio channel between 0 and 1

binu8051 commented 2 years ago

Thanks. since aliexpress is banned in our country i will search for some other way.

binu8051 commented 2 years ago

Hi can i use this board? https://www.tindie.com/products/DORJI_COM/433mhz-wireless-rf-si4463-transceiver-module/ Datasheet link http://dorji.com/docs/data/DRF4463F.pdf

binu8051 commented 2 years ago

Also found some other AIS receivers on github https://github.com/eugmes/ais-recv-fw the schematic is here https://raw.githubusercontent.com/eugmes/ais-recv/master/out/ais-recv.pdf This guy is using 2 nos of Si4362 for receiving 2 channels and he is also using STm32 do we still need 2 chips?

Another project in which there is only arduino source code https://github.com/andrejanowicz/Navinaut-AIS i think he is using ESP32 and Si446x chips.

can you comment on above projects. can i see your board? Thanks for your time.

pggood commented 2 years ago

Many si4464 boards use gpio3 for the antenna switch. You need to get one with a passive antenna. If your wanting a pre build solution the original DIASY https://shop.wegmatt.com/ is reasonable value for money it also has the antenna matching setup for 160Mhz

pggood commented 2 years ago

The projects you mentioned are well though out however for ease of use I would try and find one that uses STMCUBEIDE for the firmware as this is the supported development environment for STM32 by STMicroelectronics. eugmes ais-recv-fw uses zephyr which may take a bit of messing around to set up. the https://github.com/andrejanowicz/Navinaut-AIS looks to be a commercial product with open source he is selling a prebuilt unit for 179 euros with USB and 199 for the unit with Wifi. You can receive both channels on 1 chip by flipping between the channels like my and the original daisy do however you may miss low signal strength messages by doing this. You can also use 2 chips one on each channel that will pick up the low signal strength. Most designs use the Si4362 as they are a receive only chip however not readily available as a prebuilt module a si4464 is a transceiver chip and there are a number of them available as an off the shelf. the Hoperf RFM26W has all the gpio pins exposed so can be used with my design https://www.hoperf.com/data/upload/portal/20190306/RFM26W%20Datasheet.pdf

binu8051 commented 2 years ago

Confused :( The main problem is buying the products from outside my country is very difficult now. Finally decided to make my own PCB with Si4362. i have a doubt, why you are using STM32 now? Any special reason? Since the Arduino can do it. Can i use this code for Si4362? Can you share the updated code? Basically i wrote codes for 8051 microcontroller and few AVR microcontrollers in Bascom BASIC language, you can check my projects on my website www.8051projects.info can you share you email id?

pggood commented 2 years ago

The si4362 is essentally a si4464 without transmit. The si4464 is about $5.5usd and the si4362 is close to 8usd the si4464 is current and used extensivly where as the si4362 is used in limited applications and is end of life. They essentally have the same pinouts so a pcb setup for a 4464 can use a 4362 and visa versa. when you do the layout make sure you put a termination resistor across the transmit pins if you are using it recive only to reduce noise