Just finished writing a small C++ class to work with multiple HC-RS04 sonar transducers with a non-blocking way with the NewPing Library.
In this exact code I connected two sensors, but you can add as many as you like.
To add new sonars, just create a new instance of it adding the echo and trigger pins.
Here is an example with some NeoPixels, just for fun:
Ever wondered where is a good place to find new and interesting chips on the market? Questions about electronics and what is happening in the market?
For the engineers and makers out there, the world of electronics can be a bit overwhelmed with so much happening all the time, updates, news and buyouts (specially in the past few months).
I would to use this post to share some of my favorite places to get new chip information, updates and random electronics questions.
Do you remember IRC? Yes, it’s still alive and strong. Just connect to the Freenode network and you will find many very interesting channels where you can talk electronics, exchange information and ask questions! If you are there, drop a line to spillere (me!).
- #electronics on Freenode
- #avr on Freenode
- #arduino on Freenode
- Fedevel Academy – Learn awesome PCB designing skills
- /r/nicechips – Reddit, a great place on the internet where people share their findings in the electronic chips market. Really really good!!
This list is still a working in progress. If you have any suggestions please add a comment bellow!
During the First Meeting of Electronic Arts in Florianópolis, we built a Breathalyzer using the Alcohol Gas Sensor MQ-3 and an Arduino Board to use in the last day of the meeting, in which we gave a party. You can see a quick video two posts below. Last days I received many emails asking for the code or how to make one, so I decided to build the sensor again, take pictures/videos and make a tutorial showing how you can make one, so here it is.
Read more “Building a Breathalyzer with MQ-3 and Arduino”