Jump to content

Voltage/Current Bricklet 2.0 It is possible to connect with Arduino?


Recommended Posts

Hey guys, 

I'm using Voltage/Current Bricklet 2.0 in my project basic on Arduino....... So it is possible to connect with arduino. just ignore hardware connection, which Example should i look for to port into arduino platform!!!

Thank you!!!!

Link to comment
Share on other sites

Hi,

This is indeed possible with the C/C++ bindings for microcontrollers. However those are not finished yet. You can find the latest beta here :

Documentation is available here: https://www.tinkerforge.com/en/doc/Software/API_Bindings_uC.html and here for the Voltage/Current Bricklet 2.0: https://www.tinkerforge.com/en/doc/Software/Bricklets/VoltageCurrentV2_Bricklet_uC.html

Links to the Bricklet-specific documentation are not generated yet, however you can use the documentation for the "normal" C bindings and then add a u before the last C like this:

https://www.tinkerforge.com/en/doc/Software/Bricklets/AirQuality_Bricklet_C.html

becomes

https://www.tinkerforge.com/en/doc/Software/Bricklets/AirQuality_Bricklet_uC.html

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

I'm trying use that library with the C/C++ bindings for microcontrollers in F429 plattform. i saw that code, it used two spi with code select, But i have only use one Bricklet, this is not necessary to use 2 spi? Can i just change the code with one SPI or ?  but it seems like, so much changes in the code......

Link to comment
Share on other sites

You are using the STM32F0-HAL? It looks like the HAL only initializes the SPI peripherals that are configured to be used. So if you only use SPI0_INSTANCE or SPI1_INSTANCE in your port configuration, the other one should be left unmodified.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...