Hello EZ Robot community.
I though since you guys have been so good to me in helping with information need, I would take some time to show you guys what I'm doing with my Robotics Build.
The Goal for my tests today are:
1. Get my cheap (non i2c) ultra sonic sensor to work over i2c for my EZb project.
2. Get the TMP39 Sensor (analog) to also work over i2c for my EZb project.
3. Have a solution to get 7.5 volts down to 5 for my sensors when i get my ezb 4 board.
4. Try to consolidate 1 and 2 into a single i2c device id.
That said. I am starting with this controller.
Using this controller to run my 5v sensors will be easy because it has a RAW Pin (Top Left Pin in picture) That can take up to 9v and will put out 5v regulated for my sensors to use. ( this will be important when I get the EZb 4 boards in.
So this will solve Item 3 and 4 on my list.
Item 1: Ultrasonic Sensor
I have a 4 pin Sensor to the pins are 5V, PING , ECHO and Ground
I have the 5V and Ground connected to the ATProMini.
I have the PING on D2 of the ATProMini controller
i have the ECHO on D3 of the ATProMini Controller
Item 2: Temp Sensor.
It has 3 pins , They are 5V, Ground and Signal.
I have the 5V and Ground connected to the ATProMini
I have the Signal ping connect to A0 of the ATProMini.
A4 and A5 on the ATproMini are SDA and SCL
I connect these to the ezb baords SCL and SDA pins.
please see this video
sorry for the 40 sec silence at the beginning and no sound at all on the screen shots.
But I think you can see the video and it will show you how i got the temp and distance back from my one i2c device.
I just find digital and analog sensors are much cheaper than i2c stuff , so this will allow me to make any sensor and i2c sensor. and get some voltage regulation at the same time .
At the end you can see I use EZ script in EZ builder to pull the info from the ATProMini and set a variable for $distance (in video it came to 30 inc) and a a temperature of 76.06 Deg F.
I have not seen many folks talking on this level on this forum so I though I would leave it at this and if anyone is interested in more info or the code for the ATProMini please let me know.
Would be interested in knowing where the Arduino Mini boards for that price come from, I have a nano (I think) but could do with a few others for different things (led sequences, reading sensors, writing to displays, sending and receiving data via RF and IR etc.)
I'd also be interested in the Arduino code since it's not something I have much experience in. I mean I can do some stuff with Arduino but it's mainly been copying and adjusting to suit so any examples are greatly appreciated.
Since this video I have added 3 more Ping Sensors and 2 touch pressure sensors.
The more I play with this the more I am liking it.
As a software developer we are always looking for ways to abstract complexities once they are working nice. For the past year I have been using the EZB-3 to create prof of concept project then rewrite the code from EBB-Script to whatever was necessary for autonomous controller to run.
All Code I have written has been for commercial Robotic Use in automotive production.
I will be retiring form that Field soon and wanted to get knoll-age of the hardware I had been writing software for many years and never seen the robots in person except once 8 years ago.
You and other in this community have helped me to determine the route to take and now I'm taking it.
The EZ-Robot Route.!
I have a Six and a JD on order. This will give me 2 platforms to play with as I develop more skills in hard ware and robotic electronics.
I will clean up some code and get more descriptive information put together.
I will do that this coming weekend. (I hope)
I looked at the box the Nanos and the invoice was not in there, and the FROM address says Richard. hahaha , so that's no help. When my wife gets home with the kids. I will ask her to located the invoice.
I remember though He wanted 1.25 each and there was a button that said make offer.
So I punched in 24.50 includes shipping and he said yes.
they are unlabeled and next to the A2 and A3
Bluefruit EZ-Link - Bluetooth Serial Link & Arduino Programmer
Here is a diagram to show how to use a Arduino Rev 3 to program the Nano.
! Remove the AT Chip from the Arduino board and wire like this to make a programer for your nano.
This will not damage the chip if you do not remove the AT chip from the Arduino Rev 3 board but it will not work either.
I used a bit of mold-able plastic to make a plug i can use with out waring on the wires.
I do have an ulterior motive and hate to pull a topic off topic especially when the EZ-B or ARC may not be involved (however I suspect it could be useful with the EZ-B UART port too). Basically, for about a year now I've been trying to get around to making 6 remote room temperature sensors based on Arduinos (Arduino, DHT11 sensor & LCD or LED display) which will communicate with Jarvis wirelessly (via RF 433 ideally) so I can track each room temperature of my house for cheap... I'd love to pick your brains about this sometime.
Adafruit
There is probably cool stuff for every one there I find alot
www.ebay.co.uk/itm/3-Sensors-Wireless-Weather-Station-Thermometer-Humidity-Temp-DCF-RCC-w-Alarm-/181324625547?_trksid=p2054897.l5677
Tony