chicken

[POTM] dAISy - A Simple AIS Receiver

259 posts in this topic

Good news for everyone having difficulties sourcing the Si4362 radio IC.

 

I verified that the transceiver Si4463 works with dAISy. This probably also applies to Si4460 and Si4461. Besides being more widely available through distributors, more adventurous souls can even find these ICs on Aliexpress.

 

Even better news for those that want to recreate my project with minimal effort: Si446x based radio modules are sold on eBay and elsewhere.

 

I bought the E10-M4463D from eBay for $7.99:

http://www.ebay.com/itm/100mw-433MHz-SI4463-Wireless-Transceiver-Module-With-Antenna-2100m-/151243201316

 

I chose this module over others because all pins of the radio are broken out to headers.

attachicon.gifIMG_0844_before.jpg

 

Unfortunately two pins (GPIO2 and GPIO3) are reserved to control the RF switch that connects the antenna with RX or TX channels. But after a few minor changes to my code I had dAISy working.

Here's the branch on Github: https://github.com/astuder/dAISy/tree/E10-M4463D

 

The wiring changed:

GPIO0 -> P2.0

NIRQ -> P2.5

GPIO2, GPIO3 -> no longer connected to the LaunchPad

 

As the modules are built for 433 MHz and AIS is using 162 MHz, I had to replace antenna and passives on the RX side.

attachicon.gifIMG_0851_after.jpg

The new passives from left to right are (ignoring the obvious 0-ohm resistors) 11pF, 150nH, 13pF. As you can see the 0603 components are a very tight fit. I reflowed them with a hot air station instead of using a soldering iron. The clunky thing on the right is a BNC connector, SMA probably would have been a more elegant fit :rolleyes:

 

Technically, it's still not ideal. The traces might be impedance matched to the original frequency. However a quick real-world test demonstrated similar sensitivity as my original breakout boards.

 

EDIT: added wiring information

EDIT: added link to Github

4622.7.png

you wrote 

GPIO0 -> P2.0 (LaunchPad)

NIRQ -> P2.5 ((LaunchPad )

GPIO2, GPIO3 -> no longer connected to the LaunchPad

I can't find NIRQ on board SI4463 433MHz buy on ebay 

It's mean IRQ ?

 

"The new passives from left to right are (ignoring the obvious 0-ohm resistors) 11pF, 150nH, 13pF. As you can see the 0603 components are a very tight fit. I reflowed them with a hot air station instead of using a soldering iron. The clunky thing on the right is a BNC connector, SMA probably would have been a more elegant fit "

11pF, 150nH, 13pF ,0603 components ?

Can you draw a diagram ? i want buy a SI4463 433MHz and modify it

Share this post


Link to post
Share on other sites

@@duonglan NIRQ and IRQ are the same.

 

I assume you're referring to this or a similar listing, which looks identical to the module I bought:

http://www.ebay.com/itm/E10-M4463D-SMA-433MHz-Wireless-Transmission-Module-1900m-10mnW-Serial-Port-/121471383928?pt=LH_DefaultDomain_0&hash=item1c48423978

(except for the SMA connector, which mine didn't have)

 

Here's an annotated image of the patched module.

post-9974-0-55582700-1426178051_thumb.png

 

Let me know if you have any other questions.

duonglan likes this

Share this post


Link to post
Share on other sites

thanks , i bought a http://www.ebay.com/itm/E10-M4463D-SMA-433MHz-Wireless-Transmission-Module-1900m-10mnW-Serial-Port-/121471383928?pt=LH_DefaultDomain_0&hash=item1c48423978, hope i will get it soon and do it for myself like you

But i don't understand , how I can upload 4463 WDS configuration ? 

Connect M4463D-SMA 433MHz Wireless Transmission Module and MSP-EXP430G2 v1.5 LaunchPad. Using MSP-EXP430G2 v1.5 LaunchPad upload 4463 WDS configuration ?

sorry , I never used MSP-EXP430G2 v1.5 LaunchPad before, I usually used Arduino

Share this post


Link to post
Share on other sites

The radio on its own does not much. It needs an MCU to control it and talk to the computer, which is the MSP430 Launchpad in this case. See the first post of this thread and just replace the custom breakout board with the Ebay radio (minus the changes in wiring as documented).

 

There are several options to program the LaunchPad. For this project I used TI's full IDE Code Composer Studio (CCS).

http://www.ti.com/ww/en/launchpad/software.html

 

The repository I published on Github includes the CCS project file.

https://github.com/astuder/dAISy

Simply copy the whole tree into your CCS workspace and open it in CCS. From there you can compile the code and program the LaunchPad.

 

The radio configuration data generated by WDS is in the radio_config.h source file.

 

dAISy USB is the standalone version of all this, where I designed and built my own PCB that includes radio and MCU on one board.

bluehash likes this

Share this post


Link to post
Share on other sites

Ain't she pretty?

attachicon.gifIMG_1093.jpg

@chicken: I have struggled with SDR and AIS decoding on a Macintosh with little success for some time. I am just about ready to give it up and use your dedicated module if it is still for sale?

Share this post


Link to post
Share on other sites

Hi @@haggen

 

Yes, I still sell them. $55 plus shipping. Currently I'm awaiting PCBs from China, so it will take a few weeks before I have a new badge available.

 

Just send me a private message here on 43oh if you're interested.

 

I don't know how well established AIS is on lakes in Switzerland, MarineTraffic only reports a few ships around the port of Basel. So your attempts via SDR might have failed because there's no signal to receive, a situation where dAISy will fail as well. 

haggen likes this

Share this post


Link to post
Share on other sites

If you have addressed this previously, I apologize in advance. This thread is getting quite long.

 

The better commercial AIS units have dual receivers so that it can monitor both AIS channels simultaneously. Have you considered implementing this?

chicken likes this

Share this post


Link to post
Share on other sites

The better commercial AIS units have dual receivers so that it can monitor both AIS channels simultaneously. Have you considered implementing this?

 

Currently dAISy does channel hopping. It listens on one channel for a few milliseconds, and if there's no signal jumps to the other and so forth. It can also be configured to only listen on one channel without hopping. From experimentation with that option, I don't think I miss a lot of messages due to hopping.

 

Implementing two separate receivers on one device is on my list, but I didn't do more than scribbling down a few initial thoughts. I'd basically need to duplicate the radio IC with its impedance matching and decoupling passives and probably also the crystal. And of course a splitter. I should have enough pins left on the MSP430F5508 used on dAISy USB, but definitely would need to increase the PCB size.

Share this post


Link to post
Share on other sites

Phew, this is starting to get out of hand :)

post-9974-0-43050800-1429405701_thumb.jpg

 

One of the buyers of an earlier prototype 3D-printed a nice case:

post-9974-0-78053700-1429406193_thumb.jpg

post-9974-0-18066400-1429406222_thumb.jpg

That's the form factor I originally envisioned, but never found a matching off-the-shelf case. The BNC connector is too big for most "USB stick" shaped enclosures.

 

I recently updated the firmware to output a serial stream on the spare pins. Works great with a HC-06 Bluetooth module. Obviously won't work if kept within the "official" metal case.

Share this post


Link to post
Share on other sites

Here's the bluetooth enabled daisy...  he he he...

Thanks Adrian for piping the data to the TX pin on the PCB...  working like a charm with HC-05/06 module...

 

 

 

post-38122-0-17401900-1431133961_thumb.jpg

post-38122-0-15912100-1431133962_thumb.jpg

bluehash and chicken like this

Share this post


Link to post
Share on other sites

Thanks for sharing, now I want a 3D printer :)

 

Next up ESP8266.

 

PM me your address and I'll donate to you one of my ESP8266 Dev boards.  You've shared so much with the 43oh community, you deserve one!  I'll help you out if you have ESP8266 questions too.

 

post-30430-0-17365800-1431452378_thumb.jpg

chicken likes this

Share this post


Link to post
Share on other sites

dAISy USB is now available on Tindie

https://www.tindie.com/products/astuder/daisy-ais-receiver/

 

As time allows I will probably also add a booster pack and/or breakout board over the coming months.

 

Of course you are still welcome to PM me directly if you're interested in buying or building your own version of dAISy.

Congrats! Thanks for the link back.

You may want to edit your first post with the Tindie link.

Share this post


Link to post
Share on other sites

@@gmtii thanks for sharing!

Is this based on the official 3.02 firmware with auxiliary serial output? Or still your own build of dAISy?

Also, do you power the ESP8266 separately or off of dAISy? The original version's LDO is only rated for 150mA and I recently replaced it with the beefier MIC5504-3.3YM5 TR (300mA) which is able to power ESP8266. That LDO also allowed to replace the tantalum caps with regular ceramics.

Share this post


Link to post
Share on other sites

 

@@gmtii thanks for sharing!

 

Is this based on the official 3.02 firmware with auxiliary serial output? Or still your own build of dAISy?

 

Also, do you power the ESP8266 separately or off of dAISy? The original version's LDO is only rated for 150mA and I recently replaced it with the beefier MIC5504-3.3YM5 TR (300mA) which is able to power ESP8266. That LDO also allowed to replace the tantalum caps with regular ceramics.

 

still using my compilation based on your fw with added serial output... I have not checked the git long time ago   :(
 
The esp8266 board is powered from external source...
 
btw, my coverage has been greatly reduced because some strong qrm in the band (taxi and data services) so filtering does not help here   :angry:

Share this post


Link to post
Share on other sites

Just ordered two dAISys! 

Can't wait to start working with them on my autonomous boat. My goal is to have a teensy 3.1 grab the Nmea data from the dAISy. Then at preset times have the teensy send the latest nmea string via satellite to an email address where I can decode it and be aware of local ships in the area.

 

Sort of a hybrid on-board/ off-board collision avoidance system.

 

A question, is the TTL serial output already part of the dAISy or is that an extra purchase. If it is on the dAISy, how do I access it?

 

Ahh never mind I see the TTL output in the Eagle file.

 

What type (manufacturer, type) of antenna found works best with dAISy?

 

Thanks for the great work!

Share this post


Link to post
Share on other sites

Sorry for not being more active on 43oh recently, dAISy kept me way busier than usual. The weekends were mostly spent with placing parts and baking PCBs, whereas weekdays evenings were spent with shipping and related email correspondence.

 

But I'm officially out of stock for the last two weeks, and while waiting for the next batch of enclosures and PCBs to arrive from China, I put together Rev B of the dAISy BoosterPack.

post-9974-0-11829800-1439267708_thumb.jpg

 

On the F5529 LaunchPad, it's functionally identical with the product I sell on Tindie. I will probably share code and BoosterPack schematics on GitHub in a month or two.

 

I built the BoosterPack for easier experimentation with the Si4362 radio IC and its brethren. Due to how AIS works (short preamble, NRZI encoding), I currently cannot fully leverage the radio's capabilities.

 

I have one spare to give away to an interested collaborator with radio experience and a clear view of the sea.

Fmilburn and tripwire like this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now